- 09 Feb, 2015 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Previously we treat stream in NGHTTP2_STREAM_RESERVED state specially, that is we don't increment or decrement streams counts if stream is in that state. Because of this, we don't change the stream state to NGHTTP2_STREAM_CLOSING if stream is in NGHTTP2_STREAM_RESERVED. But it turns out that it causes a problem. If client canceled pushed stream before push response HEADERS, stream is still in NGHTTP2_STREAM_RESERVED state. If push response HEADERS arrived in this state, library happily accepts it and passed to application. With this commit, this bug was corrected. We now change stream state to NGHTTP2_STREAM_CLOSING even if it was in NGHTTP2_STREAM_RESERVED state. We now use NGHTTP2_STREAM_FLAG_PUSH to determine whether we have to increase/decrase stream count.
-
- 08 Feb, 2015 19 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
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
nghttpx server push is initiated by looking for Link header field from backend server response. Currently we only enable server push for HTTP/1 backend and without HTTP/2 proxy mode. The URIs which have rel=preload are eligible to resource to be pushed.
-
- 07 Feb, 2015 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 06 Feb, 2015 7 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 05 Feb, 2015 11 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
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-