- 20 Dec, 2015 5 commits
-
-
Tatsuhiro Tsujikawa authored
return session_inflate_handle_invalid_stream(...) case is for streams for INITIAL state, but this is rare case. In general, we'd like to reduce RST_STREAM transmission, and it is suffice to ignore this frame for now.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 19 Dec, 2015 5 commits
-
-
Tatsuhiro Tsujikawa authored
-
-
Tatsuhiro Tsujikawa authored
-
Andreas Pohl authored
-
- 18 Dec, 2015 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 17 Dec, 2015 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
This makes h2spec strict mode a bit happier. We still one failing test with h2spec -S (strict mode).
-
Tatsuhiro Tsujikawa authored
-
- 16 Dec, 2015 2 commits
-
-
Andreas Pohl authored
-
Tatsuhiro Tsujikawa authored
This is a short hand for --disable-app --disable-examples --disable-hpack-tools --disable-python-bindings, for users who want to build libnghttp2 only.
-
- 15 Dec, 2015 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 14 Dec, 2015 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 11 Dec, 2015 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 10 Dec, 2015 5 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
-
- 09 Dec, 2015 1 commit
-
-
Andreas Pohl authored
-
- 08 Dec, 2015 4 commits
-
-
Tatsuhiro Tsujikawa authored
-
Andreas Pohl authored
To allow the asio wrapper to work with boost.fiber it is required to access the underlying io_service objects.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 07 Dec, 2015 2 commits
-
-
Tatsuhiro Tsujikawa authored
Previously, we only updated stream's weight field when only weight was changed by PRIORITY frame. If stream is queued, it would be better to actually reschedule it based on new weight. This could be especially useful if weight is increased.
-
Tatsuhiro Tsujikawa authored
Previously, we updated descendant_last_cycle in nghttp2_stream_reschedule, which is called after non-zero DATA frame. But this was not optimal since we still had old descendant_last_cycle, and new stream was scheduled based on it. Now descendant_last_cycle is updated in nghttp2_stream_next_outbound_item, which is called when stream with highest priority is selected from queue. And new stream is scheduled based on it. This commit also removes 0-reset of descendant_last_cycle and cycle in nghttp2_stream_reschedule. This could help making them lower, so that they are not overflow. But there is a pattern that it doesn't work, and we are not sure they are really useful at this moment.
-
- 04 Dec, 2015 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Sunpoet Po-Chuan Hsieh authored
-
- 03 Dec, 2015 3 commits
-
-
Tatsuhiro Tsujikawa authored
Instead of using nonsensical large value for max outgoing concurrent streams, use more sensible value, 100.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
We should only keep incoming closed streams because we only keep at most max concurrent streams, which only applied to incoming streams.
-
- 02 Dec, 2015 1 commit
-
-
Tatsuhiro Tsujikawa authored
Previously, stream object for pushed resource was not created during nghttp2_submit_push_promise(). It was created just before nghttp2_before_frame_send_callback was called for that PUSH_PROMISE frame. This means that application could not call nghttp2_submit_response for the pushed resource before nghttp2_before_frame_send_callback was called. This could be solved by callback chaining, but for web server with back pressure from backend stream, it is a bit unnecessarily hard to use. This commit changes nghttp2_submit_push_promise() behaviour so that stream object is created during that call. It makes application call nghttp2_submit_response right after successful nghttp2_submit_push_promise call.
-