- 11 Jan, 2016 2 commits
-
-
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 6 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.
-
Tatsuhiro Tsujikawa authored
The naming convention in asio lib does not use get_something.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
header value should not be inp_strlower
-
ayanamist authored
http header keys are case-insensitive, but header values are case-sensitive, so it should not be changed.
-
- 24 Dec, 2015 2 commits
-
-
Tatsuhiro Tsujikawa authored
With the presence of idle stream related API (e.g., nghttp2_create_idle_stream()), it is more predictable for client to create idle streams with its dependency to another idle stream. Previously, we didn't create complete parent idle stream in this case. Now we create idle streams as we do on server side.
-
Tatsuhiro Tsujikawa authored
-
- 23 Dec, 2015 8 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 22 Dec, 2015 2 commits
-
-
Tatsuhiro Tsujikawa authored
This commit includes backward incompatible change, since we change private field in public API class.
-
Tatsuhiro Tsujikawa authored
-
- 21 Dec, 2015 1 commit
-
-
Tatsuhiro Tsujikawa authored
-