Tatsuhiro Tsujikawa
cc954e077f
Update doc
2013-12-28 22:09:17 +09:00
Tatsuhiro Tsujikawa
1c43cdbbc8
nghttpx: Don't rewrite location if proxy mode is used
2013-12-28 17:02:43 +09:00
Tatsuhiro Tsujikawa
c0726036b1
nghttpd: Use -1 as backlog
2013-12-27 00:02:43 +09:00
Tatsuhiro Tsujikawa
0921e364d7
doc: Add server tutorial, which is still in draft status
2013-12-26 23:37:42 +09:00
Tatsuhiro Tsujikawa
a94fb43bb9
examples: Code cleanup, cut request path after '?'
2013-12-26 21:45:29 +09:00
Tatsuhiro Tsujikawa
ad369ec299
nghttpx: Use -1 as default value of --backlog
2013-12-26 21:39:00 +09:00
Tatsuhiro Tsujikawa
67b265f737
Update doc
2013-12-26 00:23:43 +09:00
Tatsuhiro Tsujikawa
9cb8754d09
Rename nghttp2_session_fail_session as nghttp2_session_terminate_session
2013-12-26 00:23:07 +09:00
Tatsuhiro Tsujikawa
a14cfa59df
configure.ac: Print out spdylay availability
2013-12-26 00:13:35 +09:00
Tatsuhiro Tsujikawa
5bb1c653ef
src: Omit \r\n sanitization on header value
...
This is because nghttp2 and spdylay now don't allow \r\n in header
value. Require spdylay >= 1.2.3.
2013-12-26 00:08:42 +09:00
Tatsuhiro Tsujikawa
dfcdea894b
Move header name/value pair validation to on_*_received functions
2013-12-25 23:38:55 +09:00
Tatsuhiro Tsujikawa
04e496d7bd
nghttpd: Use nghttp2_session_fail_session instead of nghttp2_submit_goaway
2013-12-25 00:40:57 +09:00
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