- 14 Jan, 2016 4 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 13 Jan, 2016 7 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Use FieldStore::append_last_{header,trailer}_value instead.
-
Tatsuhiro Tsujikawa authored
Header field related functions are now gathered into FieldStore class. This commit only handles request. Subsequent commit will do the same thing for response.
-
Tatsuhiro Tsujikawa authored
-
- 12 Jan, 2016 2 commits
-
-
Vernon Tang authored
This fixes a crash in nghttpx when running on IPv6 only.
-
Tatsuhiro Tsujikawa authored
-
- 11 Jan, 2016 6 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Disallow request from server, and response from client respectively. When the violation is detected, return NGHTTP2_ERR_PROTO from nghttp2_submit_request, nghttp2_submit_response, nghttp2_submit_headers. We also did some refactoring, and now self-dependency detection is placed where it is only required.
-
- 10 Jan, 2016 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Previously, we use session->next_stream_id to detect that given stream ID was idle or not. But this was suboptimal, since it was updated when stream ID was assigned, and it did not necessarily mean that it actually has been sent to the peer. Now we introduced session->sent_stream_id, which only updated when HEADERS/PUSH_PROMISE has sent. Using sent_stream_id instead of next_stream_id tightens idle stream detection, and misbehaved peer which sends frame with stream ID that has not been generated. This commit also overhauls test code which involves opening streams. Now we have some wrapper functions for nghttp2_session_open_stream() which also take care of updating next_stream_id and last_recv_stream_id. They are crucial for some tests.
-
- 09 Jan, 2016 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Some people feel uncomfortable when they could not find LICENSE file.
-
- 07 Jan, 2016 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 06 Jan, 2016 4 commits
-
-
Tatsuhiro Tsujikawa authored
Because http/1.1 support, default "auto" behaviour of -m option is not desirable, since it is used as HTTP pipelining, and it is not used in practice.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 05 Jan, 2016 7 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
fix typos in documents.
-
kumagi authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
We modeled max_header_fields and header_field_buffer limit from Apache configuration directives. In Apache, they are only applied to request header fields, while we applied both request and response. Since nghttpx is used as reverse proxy and backend server is relatively "trusted", this commit removes the application to response header fields.
-
- 30 Dec, 2015 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 25 Dec, 2015 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Return NGHTTP2_ERR_INVALID_ARGUMENT from nghttp2_submit_headers() if given stream ID and pri_spec->stream_id are the same (thus trying to depend on itself). Also return NGHTTP2_ERR_INVALID_ARGUMENT from nghttp2_submit_request() and nghttp2_submit_headers() with stream_id == 1, when new stream ID equals to pri_spec->stream_id. Previously, these cases are not checked, and just sent to peer.
-