Tatsuhiro Tsujikawa
ee6df1f065
doc: Include libevent-client.c source code in the tutorial
2013-12-25 00:35:15 +09:00
Tatsuhiro Tsujikawa
50333cb570
doc: Add client tutorial
2013-12-25 00:30:48 +09:00
Tatsuhiro Tsujikawa
286345a2ef
examples/libevent-client.c: Fix memory leak, use nghttp2_session_fail_session
2013-12-25 00:29:36 +09:00
Tatsuhiro Tsujikawa
f8356dd037
nghttp: Use nghttp2_session_fail_session instead of nghttp2_submit_goaway
2013-12-25 00:28:58 +09:00
Tatsuhiro Tsujikawa
946d3150ba
examples: Add minimum error handling for API functions
2013-12-24 21:30:49 +09:00
Tatsuhiro Tsujikawa
9fc9ef9a40
examples: Refactor a bit
2013-12-24 19:55:26 +09:00
Tatsuhiro Tsujikawa
779366640a
Update doc
2013-12-24 19:27:03 +09:00
Tatsuhiro Tsujikawa
0fb7e430d7
examples: Set TCP_NODELAY option
2013-12-24 00:01:44 +09:00
Tatsuhiro Tsujikawa
4e01ed1a95
examples: Add libevent-server.c
2013-12-23 23:49:30 +09:00
Tatsuhiro Tsujikawa
794633f894
Add nghttp2_session_set_stream_user_data API function
2013-12-23 17:40:34 +09:00
Tatsuhiro Tsujikawa
e04e6ccdf9
examples: Remove false README.rst
2013-12-22 19:28:26 +09:00
Tatsuhiro Tsujikawa
dcfd9b22fc
examples: Add libevent-client, requires libevent for examples
2013-12-22 19:26:32 +09:00
Tatsuhiro Tsujikawa
2c1739a24e
Add comment to category in HEADERS and reorder
2013-12-22 19:23:37 +09:00
Tatsuhiro Tsujikawa
53271e1e52
nghttp: Close fd on disconnect
2013-12-22 19:23:01 +09:00
Tatsuhiro Tsujikawa
c4539046be
nghttpx: No string copy if no cookie crumbling occurs
2013-12-22 15:42:12 +09:00
Tatsuhiro Tsujikawa
2af9a37643
src: Code cleanup
2013-12-22 15:33:37 +09:00
Tatsuhiro Tsujikawa
d4b1890054
Update README.rst
2013-12-21 23:04:57 +09:00
Tatsuhiro Tsujikawa
a2ceae23a3
python: Handle name/value is NULL but its length is positive
...
This happens when deflater local header table is smaller than
inflater header table size. We use the same notation
"**DEALLOCATED**" for such name/values with hdtest programs.
2013-12-21 23:02:48 +09:00
Tatsuhiro Tsujikawa
c242150092
hdtest: Only show "**DEALLOCATED**" for NULL value but positive length
2013-12-21 23:01:16 +09:00
Tatsuhiro Tsujikawa
e955598923
nghttpx: Remove downstream_port from location rewrite code
2013-12-21 18:35:53 +09:00
Tatsuhiro Tsujikawa
9afebcb229
nghttpx: Ignore port when rewriting location header
2013-12-21 18:26:11 +09:00
Tatsuhiro Tsujikawa
ccfa13cd5b
nghttpx: Rewrite location header field
...
We thought that this kind of rewrite can be achieved by the configuration
of the backend severs, but in some configuration, however, it may get
complicated. So we decided to implement at least location rewrite in
nghttpx.
This commit also contains a fix to the bug which prevents the http2
backend request from concatenating header fields with the same value.
2013-12-21 17:49:31 +09:00
Tatsuhiro Tsujikawa
bb70cdf6ad
src: Rename verbose callback functions
2013-12-20 23:48:56 +09:00
Tatsuhiro Tsujikawa
9f7b231c2c
nghttpx: Code cleanup
2013-12-20 23:36:24 +09:00
Tatsuhiro Tsujikawa
b38b233aa6
nghttpx: Check failure of evbuffer_* and bufferevent_* functions
2013-12-20 23:28:54 +09:00
Tatsuhiro Tsujikawa
873d457dd2
nghttpx: Fix log message
2013-12-20 22:44:30 +09:00
Tatsuhiro Tsujikawa
efb25f723f
Update README.rst in python dir
2013-12-20 01:35:59 +09:00
Tatsuhiro Tsujikawa
d49f520dff
Update doc
2013-12-19 23:26:08 +09:00
Tatsuhiro Tsujikawa
7c4dbb6ffc
nghttp2_hd: Don't malloc if huffman encoded string has 0 length
2013-12-19 23:19:14 +09:00
Tatsuhiro Tsujikawa
7a9eca1f7d
nghttp2_hd: Simplify huffman encode
2013-12-19 23:02:48 +09:00
Tatsuhiro Tsujikawa
0af0bd4362
doc/mkapiref.py: Support python3.3
2013-12-19 00:05:54 +09:00
Tatsuhiro Tsujikawa
6039e6b9c7
Update doc
2013-12-18 23:33:20 +09:00
Tatsuhiro Tsujikawa
5ca0cfa018
nghttp2_hd: Search hd table once
2013-12-18 21:45:15 +09:00
Tatsuhiro Tsujikawa
12144acf4d
nghttp2_hd: Check last byte of huffman encoded byte string strictly
2013-12-18 21:27:16 +09:00
Tatsuhiro Tsujikawa
cd5043f68c
python: Remove unnecessary variables
2013-12-18 21:17:32 +09:00
Tatsuhiro Tsujikawa
bddfa3c0b6
python: Add method to get/print header table
2013-12-18 00:20:14 +09:00
Tatsuhiro Tsujikawa
415b9d07d8
python: Refactor class
2013-12-17 23:53:49 +09:00
Tatsuhiro Tsujikawa
01266182e9
nghttp2_hd: Match deflate_hd_tablelen to hd_table.len on decoder side
2013-12-17 21:39:21 +09:00
Tatsuhiro Tsujikawa
595493a0ec
Add debug output in nghttp2_hd
2013-12-16 23:54:20 +09:00
Tatsuhiro Tsujikawa
9d630901fa
Add check for cython and substitute python and cython in Makefile.am
2013-12-16 21:46:50 +09:00
Tatsuhiro Tsujikawa
ff2eb0de81
Update doc
2013-12-16 21:17:25 +09:00
Tatsuhiro Tsujikawa
7222f63dbd
Revert 3c57327274
...
It may violate draft-09 section 8.1.3.1. Proxy should perseve
host header field.
2013-12-16 21:14:31 +09:00
Tatsuhiro Tsujikawa
3c57327274
nghttpx: Remove host if :authority is available on HTTP2 downstream request
2013-12-15 18:09:56 +09:00
Tatsuhiro Tsujikawa
3c63936d3a
Fix error on `make distcheck`
2013-12-15 16:36:43 +09:00
Tatsuhiro Tsujikawa
650f63c728
Fail session on the reception of DATA in closed stream or illegal state
2013-12-15 16:23:01 +09:00
Tatsuhiro Tsujikawa
4e0ca71ef0
python: Add experimental python extension module
...
To build extension module, cython is required.
The module is not built with `make` in the top directory.
A user has to run `make build_ext` in python directory.
Currently header compression objects are available for testing.
2013-12-14 23:54:09 +09:00
Tatsuhiro Tsujikawa
65e54ca7b0
Add nghttp2_free()
2013-12-14 23:49:16 +09:00
Tatsuhiro Tsujikawa
bc7473182c
Update doc
2013-12-14 19:18:14 +09:00
Tatsuhiro Tsujikawa
0867b57c39
Update doc
2013-12-14 18:59:09 +09:00
Tatsuhiro Tsujikawa
e61876ccbd
nghttp2_hd: Provide dedicated function to enable no reference set feature
2013-12-14 18:48:41 +09:00