Tatsuhiro Tsujikawa
5884794a7f
Merge branch 'master' into draft-10
2014-02-09 17:14:07 +09:00
Tatsuhiro Tsujikawa
a4070be518
Fix on_frame_recv_callback called multiple times if CONTINUATION is involved
2014-02-09 17:00:29 +09:00
Tatsuhiro Tsujikawa
dffa078c11
Update doc
2014-02-09 16:49:24 +09:00
Tatsuhiro Tsujikawa
945c57c335
Add test for nghttp2_frame_pack_headers with padding
2014-02-09 15:17:26 +09:00
Tatsuhiro Tsujikawa
1db2195389
Implement padding for HEADERS and CONTINUATION
2014-02-09 15:17:26 +09:00
Tatsuhiro Tsujikawa
10feab02e8
Fix bufoff_ptr if no padding is made
2014-02-09 12:39:43 +09:00
Tatsuhiro Tsujikawa
9c30ed1a64
Update flags
2014-02-09 12:39:43 +09:00
Tatsuhiro Tsujikawa
e9d1ba2539
Handle incoming PAD_HIGH and PAD_LOW in inbound_frame_handle_padding
2014-02-09 12:39:43 +09:00
Tatsuhiro Tsujikawa
2ff3d97b2e
Add nghttp2_frame_add_pad to deal with adding pads
2014-02-09 12:39:43 +09:00
Tatsuhiro Tsujikawa
748f6e65bd
Run test after doc so that we can see test result in terminal
2014-02-08 17:44:34 +09:00
Tatsuhiro Tsujikawa
52a1f56d14
Merge branch 'master' into draft-10
2014-02-08 16:44:09 +09:00
Tatsuhiro Tsujikawa
d495451795
Add missing nghttp2.h.rst and nghttp2ver.h.rst to EXTRA_DIST
2014-02-08 16:37:48 +09:00
Tatsuhiro Tsujikawa
adf17cd839
Remove sphinx_rtd_theme/static/font
...
Which was moved to spinx_rtd_theme/static/fonts
2014-02-08 16:35:20 +09:00
Tatsuhiro Tsujikawa
128eb61238
Include sphinx_rtd_theme to distribution
...
Patch from Dave Beckett
2014-02-08 16:29:18 +09:00
Tatsuhiro Tsujikawa
b6a0eff8a8
Add more DEBUGFs
2014-02-08 00:32:50 +09:00
Tatsuhiro Tsujikawa
be9d5efa4c
nghttp: Add --continuation option to test CONTINUATION
2014-02-08 00:23:18 +09:00
Tatsuhiro Tsujikawa
814d0f76f3
Implement DATA frame padding
2014-02-08 00:23:18 +09:00
Tatsuhiro Tsujikawa
f26270b5b4
Change SETTINGS payload format according to the spec
2014-02-06 22:06:42 +09:00
Tatsuhiro Tsujikawa
d584888601
Renumber frame types, flags and error codes
2014-02-06 21:49:16 +09:00
Tatsuhiro Tsujikawa
40a5756564
Terminate connection if unknown frame type is received
2014-02-06 21:42:49 +09:00
Tatsuhiro Tsujikawa
f2c654f898
Fix reception of ENABLE_PUSH ignored; strict check for SETTINGS value
2014-02-06 21:39:58 +09:00
Tatsuhiro Tsujikawa
112b49cb9a
Renumber SETTINGS
2014-02-06 00:26:12 +09:00
Tatsuhiro Tsujikawa
c79adf6997
Remove flow control disabling feature
2014-02-06 00:23:20 +09:00
Tatsuhiro Tsujikawa
196406da0e
Change protocol identifier to h2-10
2014-02-05 23:37:27 +09:00
Tatsuhiro Tsujikawa
9d8cf9de5d
Update doc
2014-02-05 23:23:09 +09:00
Tatsuhiro Tsujikawa
fa7b76eb33
Bump up version number to 0.4.0-DEV
2014-02-05 23:18:50 +09:00
Tatsuhiro Tsujikawa
474b7fd4be
Update release script
2014-02-05 23:12:53 +09:00
Tatsuhiro Tsujikawa
81a2359012
Bump up version number to 0.3.0, LT revision to 2:0:0
2014-02-05 23:06:51 +09:00
Tatsuhiro Tsujikawa
5f3c4ed740
Update doc
2014-02-05 23:05:44 +09:00
Tatsuhiro Tsujikawa
9fcd35d063
Update doc
2014-02-05 23:04:42 +09:00
Tatsuhiro Tsujikawa
1e063ca54b
Update sphinx_rtd_theme
2014-02-04 22:05:08 +09:00
Tatsuhiro Tsujikawa
318bf987d7
Add missing sphinx_rtd_theme fonts
2014-02-02 18:37:44 +09:00
Tatsuhiro Tsujikawa
2b30820de3
Update sphinx_rtd_theme
2014-02-02 18:35:21 +09:00
Tatsuhiro Tsujikawa
8c0730c281
Update doc
2014-02-01 19:46:59 +09:00
Tatsuhiro Tsujikawa
8be17f077a
Add nghttp2_check_header_name and nghttp2_check_header_value APIs
...
These are promoted to public API from src/http2.h
2014-02-01 19:31:50 +09:00
Tatsuhiro Tsujikawa
08ff95d402
Detect frame reception for idle stream and make it connection error
...
Only stream ID which larger than currently used stream ID is
detected as idle.
2014-02-01 17:03:55 +09:00
Tatsuhiro Tsujikawa
2402b46cf3
Fix bug header block is not ignored as properly
2014-01-30 21:26:18 +09:00
Tatsuhiro Tsujikawa
ab684a9f30
Remove nghttp2_on_request_recv_callback
...
It is easy enough to check the end of incoming data by evaluating
frame->hd.flags & NGHTTP2_FLAG_END_STREAM in on_frame_recv_callback
2014-01-29 21:56:01 +09:00
Tatsuhiro Tsujikawa
03a94ecca7
Update tutorial
2014-01-29 21:49:50 +09:00
Tatsuhiro Tsujikawa
652228a9d2
Update doc
2014-01-29 21:35:39 +09:00
Tatsuhiro Tsujikawa
bbdc015e84
Call on_frame_recv_callback for DATA even if stream has been closed
...
This makes the callback semantics consistent with the other
frames like HEADERS/PUSH_PROMISE.
2014-01-29 21:34:48 +09:00
Tatsuhiro Tsujikawa
e186e01933
Replace on_end_headers_callback with on_begin_headers_callback
...
Previously, there is inconsistency when on_frame_recv_callback
is called between HEADERS/PUSH_PROMISE and the other frames.
For former case, it is called before header block, in latter
case, it is called after whole frame is received. To make it
consistent, we call on_frame_recv_callback for HEADERS/PUSH_PROMISE
after its frame is fully received. Since on_frame_recv_callback
can signal the end of header block, we replaced on_end_headers_callback
with on_begin_headers_callback, which is called when the reception
of the header block is started.
2014-01-29 21:23:13 +09:00
Tatsuhiro Tsujikawa
ff475104ab
nghttpx: Fix runtime errors due to uninitialized values
2014-01-29 00:59:12 +09:00
Tatsuhiro Tsujikawa
4a56c0ae3d
Update doc
2014-01-28 01:59:21 +09:00
Tatsuhiro Tsujikawa
878afd7df1
nghttp: Fix bad handling of addrinfo
2014-01-28 01:40:00 +09:00
Tatsuhiro Tsujikawa
864789ca65
nghttpx: Limit the maximum header block size (again)
2014-01-28 01:17:54 +09:00
Tatsuhiro Tsujikawa
f308b7b512
Allow NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE return from on_headers_callback
2014-01-28 01:17:23 +09:00
Tatsuhiro Tsujikawa
ce434d56a7
src: Print header emission with stream_id
...
Since all headers are not always longer available on one
nghttp2_session_mem_recv call, received headers may be interleaved
with transmission log of the other frames. To make it clear that
each header belongs to which stream, each header is printed with
stream_id.
2014-01-28 00:20:48 +09:00
Tatsuhiro Tsujikawa
1382067976
Update doc
2014-01-27 23:31:42 +09:00
Tatsuhiro Tsujikawa
7f5a87395e
Refactor a bit
2014-01-27 23:28:45 +09:00