nghttp2 - HTTP/2 C Library and tools
Go to file
Tatsuhiro Tsujikawa 9cea986819 Strict outgoing idle stream detection
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.
2016-01-11 00:31:52 +09:00
contrib added apparmor profile 2015-11-07 12:45:57 +01:00
doc Happy new year! 2016-01-09 18:28:38 +09:00
examples Switch to clang-format-3.6 2015-11-13 00:53:29 +09:00
fedora fedora: add spec file 2012-10-27 14:54:06 -07:00
integration-tests Fix `make dist` 2015-10-17 00:27:02 +09:00
lib Strict outgoing idle stream detection 2016-01-11 00:31:52 +09:00
m4 Add libxml2.m4 for convenience to build nghttp2 from git repo easily 2015-02-21 21:06:19 +09:00
python python: Do the same thing in 8481bc6 with HEADERS + END_STREAM flag set 2015-11-21 15:44:12 +09:00
script fetch-ocsp-response: Handle spurious openssl exist status 0 2015-08-21 23:28:45 +09:00
src nghttpd: Add --no-content-length option to omit content-length in response 2016-01-07 22:51:47 +09:00
tests Strict outgoing idle stream detection 2016-01-11 00:31:52 +09:00
third-party Update neverbleed 2015-12-23 22:48:37 +09:00
.clang-format Add .clang-format config file and git-clang-format from clang project 2014-11-27 23:56:29 +09:00
.gitignore Remove \r 2015-09-05 21:26:58 +09:00
.gitmodules Add neverbleed as submodule 2015-09-26 18:55:02 +09:00
.travis.yml travis: Enable integration tests and neverbleed 2015-11-23 16:15:31 +09:00
AUTHORS Added libtool files 2012-01-18 00:53:12 +09:00
CONTRIBUTION Make sure that nghttp2 license is MIT license 2015-04-01 19:41:32 +09:00
COPYING Happy new year! 2016-01-09 18:28:38 +09:00
ChangeLog Added libtool files 2012-01-18 00:53:12 +09:00
Dockerfile.android Update OpenSSL version in Dockerfile.android 2015-10-14 22:34:59 +09:00
LICENSE Add LICENSE file to point to COPYING 2016-01-09 18:26:45 +09:00
Makefile.am Exclude python bindings for `make distcheck` 2015-07-15 01:16:56 +09:00
NEWS Rebranding nghttp2 2013-07-13 00:43:06 +09:00
README Added libtool files 2012-01-18 00:53:12 +09:00
README.rst fix typos: heder->header alreay->already reponse->response 2016-01-05 22:19:33 +09:00
android-config android-config: Use absolute path for compilers 2015-09-13 00:43:31 +09:00
android-make Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
configure.ac Add -ldl to APPLDFLAGS for static openssl linking 2015-12-31 00:22:26 +09:00
gendowncasetbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +09:00
genheaderfunc.py nghttpx: Add date header field to error_reply and send_reply 2015-09-07 23:11:23 +09:00
genlibtokenlookup.py Rewrite static header table handling 2015-04-15 23:58:56 +09:00
genmethodfunc.py nghttpx: Tokenize request method 2015-06-09 23:33:14 +09:00
gennghttpxfun.py Add TLS dynamic record size behaviour command line options 2015-10-22 14:07:18 +00:00
gennmchartbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +09:00
gentokenlookup.py nghttpx: Refactor log format parsing 2015-07-14 23:36:44 +09:00
genvchartbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +09:00
git-clang-format Add .clang-format config file and git-clang-format from clang project 2014-11-27 23:56:29 +09:00
help2rst.py help2rst.py: Support Python 3.4 2015-06-07 12:55:22 +09:00
makebashcompletion Add bash_completion files for nghttp, nghttpd, nghttpx and h2load 2015-02-15 12:05:27 +09:00
makemanpages Produce man pages using sphinx 2015-01-10 00:37:42 +09:00
makerelease.sh Call git submodule before creating packages 2015-09-12 23:12:51 +09:00
mkcipherlist.py nghttpx: Don't allow blacked listed cipher suites for HTTP/2 connection 2015-08-19 23:42:43 +09:00
mkhufftbl.py mkhufftbl.py: Refactor 2015-04-21 23:48:45 +09:00
mkstatichdtbl.py Use hash table for dynamic table lookup 2015-09-19 21:29:40 +09:00
nghttpx.conf.sample Fix comments, too 2015-03-25 21:04:49 +08:00
pre-commit Add pre-commit script 2014-11-27 23:56:29 +09:00
proxy.pac.sample Add sample pac file and release script 2013-01-12 17:05:11 +09:00

README

See README.rst