nghttp2 - HTTP/2 C Library and tools
Go to file
Tatsuhiro Tsujikawa 2f2a535113 Add a way to send trailer with nghttp2_submit_request/nghttp2_submit_response
nghttp2_submit_request and nghttp2_submit_response will set
NGHTTP2_FLAG_END_STREAM after all given data is sent (data could be
0).  This means we have no way to send trailers.  In this commit, we
added NGHTTP2_DATA_FLAG_NO_END_STREAM flag.  The application can set
this flag in *data_flags inside nghttp2_data_source_read_callback.  If
NGHTTP2_DATA_FLAG_EOF is set, library automatically set
NGHTTP2_FLAG_END_STREAM.  But if both NGHTTP2_DATA_FLAG_EOF and
NGHTTP2_DATA_FLAG_NO_END_STREAM are set, NGHTTP2_FLAG_END_STREAM will
not set by library.  Then application can use new
nghttp2_submit_trailer() to send trailers.  nghttp2_submit_trailer()
will set NGHTTP2_FLAG_END_STREAM and it is actually thing wrapper of
nghttp2_submit_headers().
2015-03-07 17:09:29 +09:00
contrib Add contrib/.gitignore 2014-11-23 19:32:54 +09:00
doc Document asio linking 2015-03-07 15:55:47 +09:00
examples asio: Remove eof check in asio-cl.cc 2015-03-07 03:10:37 +09:00
fedora fedora: add spec file 2012-10-27 14:54:06 -07:00
integration-tests nghttpx: Use omit minor version in case of HTTP/2 in via header and accesslog 2015-02-24 14:43:01 +09:00
lib Add a way to send trailer with nghttp2_submit_request/nghttp2_submit_response 2015-03-07 17:09:29 +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: Fix bug push response header fields are not passed to callback 2015-03-06 03:03:55 +09:00
src nghttpx: Use http2::expect_response_body() 2015-03-07 15:50:52 +09:00
tests Add a way to send trailer with nghttp2_submit_request/nghttp2_submit_response 2015-03-07 17:09:29 +09:00
third-party Update http-parser 2015-02-20 19:51:41 +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 Update documents using updated libnghttp2_asio API, including client API 2015-03-07 03:12:13 +09:00
.travis.yml travis: Add libev-dev 2015-01-03 00:25:19 +09:00
AUTHORS Added libtool files 2012-01-18 00:53:12 +09:00
COPYING COPYING: Add 2015 to copyright year 2015-02-27 00:49:36 +09:00
ChangeLog Added libtool files 2012-01-18 00:53:12 +09:00
Dockerfile.android Update instruction and Dockerfile to build android binary 2015-01-11 17:04:50 +09:00
Makefile.am integration: Add Makefile and `make it` to run integration tests 2015-01-20 01:14:22 +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 Update documents using updated libnghttp2_asio API, including client API 2015-03-07 03:12:13 +09:00
android-config Fix -Werror=cast-align error on 32 bit platform 2015-03-03 22:36:24 +09:00
android-make Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
configure.ac Update documents using updated libnghttp2_asio API, including client API 2015-03-07 03:12:13 +09:00
gendowncasetbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +09:00
genheaderfunc.py src: Use util::streq_l to compare against string literal 2015-02-20 23:57:40 +09:00
genlibtokenlookup.py Validate HTTP semantics by default 2015-02-20 01:01:10 +09:00
gennmchartbl.py mod a+x to auto-gen scripts 2014-10-27 21:27:41 +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: Strip trailing ':' after section 2015-02-01 18:32:51 +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 Update release script 2014-02-05 23:12:53 +09:00
mkcipherlist.py mkcipherlist.py: Update doc 2014-10-27 21:24:41 +09:00
mkhufftbl.py mkhufftbl.py: Update doc 2014-10-27 21:24:41 +09:00
mkstatichdtbl.py mkstatictbl.py: Update doc 2014-10-27 21:24:41 +09:00
nghttpx.conf.sample Rename shrpx.conf.sample as nghttpx.conf.sample 2013-08-30 22:46:28 +09: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