Tatsuhiro Tsujikawa
ec30af9117
Update sphinx_rtd_theme to 54a48b1726ed602c9b5416ee46c639462ec315fe
2014-05-16 00:36:06 +09:00
Tatsuhiro Tsujikawa
3b5b5ce254
Update http-parser to 8d9e5db981b623fffc93657abacdc80270cbee58
2014-05-16 00:23:03 +09:00
Tatsuhiro Tsujikawa
694cd07f1d
nghttpx: Remove Connection: close header field from CONNECT response
...
It appears that some Android client does not like Connection: close in
200 CONNECT response. Browsers fine with this header field. It is
better to remove it. Squid does not emit it too.
2014-05-15 23:45:17 +09:00
Tatsuhiro Tsujikawa
5e71f293e5
Update nghttp and nghttpd example output
2014-05-15 00:27:24 +09:00
Tatsuhiro Tsujikawa
d4ec542107
Update doc
2014-05-15 00:11:40 +09:00
Tatsuhiro Tsujikawa
ffdc764d85
Update doc
2014-05-15 00:10:27 +09:00
Tatsuhiro Tsujikawa
2ae1da113e
src: Use C++ style comments for C++ source code
2014-05-14 23:22:23 +09:00
Tatsuhiro Tsujikawa
5b4f02dfe0
src: Rewrite util::format_hex
2014-05-14 23:09:33 +09:00
Tatsuhiro Tsujikawa
e47b976691
src: Eliminate use of snprintf
2014-05-14 22:39:28 +09:00
Tatsuhiro Tsujikawa
be4c75a7e9
src: Use gmtime_r instead of gmtime
2014-05-14 21:23:21 +09:00
Tatsuhiro Tsujikawa
7b9a8acc22
Add HPACK deflation API
2014-05-13 23:42:55 +09:00
Tatsuhiro Tsujikawa
03e2dabea9
doc: Add Python API doc
2014-05-13 21:46:39 +09:00
Tatsuhiro Tsujikawa
2411a08b09
python: Return Handler object for pushed resource from BaseRequestHandler.push
...
Also update doc
2014-05-13 21:42:58 +09:00
Tatsuhiro Tsujikawa
062d6a8398
Remove outdated comment
2014-05-12 22:58:05 +09:00
Tatsuhiro Tsujikawa
ad4a4ee567
Add missing library error code to nghttp2_error()
2014-05-12 22:58:04 +09:00
Tatsuhiro Tsujikawa
ab76468971
Return NGHTTP2_ERR_BUFFER_ERROR from nghttp2_hd_{deflate,inflate}_hd
...
It is generally useful to know what is the cause of the error. Since
we expose HPACK API, it is friendly to tell application the
insufficient buffer size is a culprit.
2014-05-12 22:58:04 +09:00
Tatsuhiro Tsujikawa
bc6d952361
Check max SETTINGS_HEADER_TABLE_SIZE in nghttp2_iv_check()
...
Hide NGHTTP2_MAX_HEADER_TABLE_SIZE from public API. Now it is defined
as ((1u << 31) - 1) in nghttp2_frame.h, which is sufficiently big
enough.
2014-05-12 21:28:49 +09:00
Tatsuhiro Tsujikawa
f85c592818
Fix compile error with clang -Wunreachable-code
2014-05-12 21:11:27 +09:00
Tatsuhiro Tsujikawa
c9c9beddeb
Merge branch 'add_check_compile_flag' of https://github.com/alagoutte/nghttp2 into alagoutte-add_check_compile_flag
2014-05-12 21:05:18 +09:00
Tatsuhiro Tsujikawa
d3fa938f1f
nghttpd: Fix compiler warning
2014-05-11 21:51:25 +09:00
Tatsuhiro Tsujikawa
9683f88e6a
Add NGHTTP2_DEFAULT_HEADER_TABLE_SIZE macro
...
Use this macro in Python sources. Python module constant
HD_DEFLATE_HD_TABLE_BUFSIZE_MAX was renamed as
DEFLATE_MAX_HEADER_TABLE_SIZE since the previous name was awkward.
2014-05-11 21:38:30 +09:00
Tatsuhiro Tsujikawa
2e5c7f598f
Fix bug HPACK deflater does not send context update after table size change
2014-05-11 21:25:27 +09:00
Alexis La Goutte
88234cbac0
Add some news CFLAGS:
...
* -Wpragmas
* -Wunreachable-code
* -Wpedantic
* -Waddress
* -Wattributes
* -Wdiv-by-zero
* -Wheader-guard
2014-05-11 11:28:29 +02:00
Alexis La Goutte
5b208c6277
Add AX_CHECK_COMPILE_FLAG (from Autotools packages)
...
It's fix the build with Clang and --enable-werror, don't support -WClobberred and display error about unknown warning option
error: unknown warning option '-Wclobbered'; did you mean '-Wconsumed'? [-Werror,-Wunknown-warning-option]
2014-05-11 11:27:52 +02:00
Tatsuhiro Tsujikawa
4fffd23dd3
Code cleanup
2014-05-11 13:53:42 +09:00
Tatsuhiro Tsujikawa
b187895e1d
nghttp2_bufs_remove: Prevent NULL from being passed to memcpy
2014-05-11 13:51:46 +09:00
Tatsuhiro Tsujikawa
6e7d0286e3
python: Utilize return value of nghttp2_submit_push_promise
2014-05-10 23:45:05 +09:00
Tatsuhiro Tsujikawa
f2bb7947ee
Update doc
2014-05-10 23:22:06 +09:00
Tatsuhiro Tsujikawa
dc791a641d
Update doc
2014-05-10 21:43:16 +09:00
Tatsuhiro Tsujikawa
a93e04c6f8
tests: Add failmalloc HPACK test
2014-05-10 21:14:25 +09:00
Tatsuhiro Tsujikawa
d46e13ae52
tests: Fix failmalloc tests
2014-05-10 19:40:23 +09:00
Tatsuhiro Tsujikawa
0707720b11
Code cleanup
2014-05-10 18:27:53 +09:00
Tatsuhiro Tsujikawa
74ad10c355
nghttpx: Log :authority for CONNECT request in accesslog
2014-05-10 00:55:15 +09:00
Tatsuhiro Tsujikawa
f131705ba4
Add h2load.1 dev version for now to `make` happy
2014-05-10 00:34:56 +09:00
Tatsuhiro Tsujikawa
6a70584459
doc: Add h2load man page
2014-05-10 00:19:57 +09:00
Tatsuhiro Tsujikawa
4c8d4f8a85
Code cleanup
2014-05-10 00:13:40 +09:00
Tatsuhiro Tsujikawa
3ebb3faf32
Remove nghttp2_ prefix from static function, part 2
2014-05-08 23:54:07 +09:00
Tatsuhiro Tsujikawa
65bbdf56cd
Remove nghttp2_ prefix from static function
2014-05-08 23:37:56 +09:00
Tatsuhiro Tsujikawa
3e3d51842b
Interleave stream DATA more naturally
...
We simulate resource sharing by decreasing weight. The thing is if
weight is wrapped, that item continues to send DATA until its weight
gets lowered under the other items. This commits fix this issue.
2014-05-08 23:07:29 +09:00
Tatsuhiro Tsujikawa
b041218a2a
python: Fix function include path
2014-05-08 01:03:28 +09:00
Tatsuhiro Tsujikawa
29d2386f13
Update doc
2014-05-08 00:59:06 +09:00
Tatsuhiro Tsujikawa
1bd43e094a
nghttp: Remove streams from HttpClient
2014-05-08 00:29:46 +09:00
Tatsuhiro Tsujikawa
48fc0c04bc
doc: Update tutorial-client.rst
2014-05-08 00:11:36 +09:00
Tatsuhiro Tsujikawa
d2890dfb91
Remove adjust_priority_callback
...
Since we have stream ID immediately available from nghttp2_submit_*,
we don't need adjust_priority_callback.
2014-05-07 23:43:45 +09:00
Tatsuhiro Tsujikawa
e8de437d5c
Return new stream ID from nghttp2_submit_{request, headers, push_promise}
...
Previously stream ID was assigned just before HEADERS or PUSH_PROMISE
was serialized and nghttp2_submit_{request, headers, push_promise} did
not return stream ID. The application has to check assigned stream ID
using before_frame_send_callback. Now it is apparent that priority is
meant to DATA transfer only. Also application can reorder the
requests if it wants. Therefore we can assign stream ID in
nghttp2_submit_* functions and return stream ID from them. With this
change, now application does not have to check stream ID using
before_frame_send_callback and its code will be simplified.
2014-05-07 23:24:07 +09:00
Tatsuhiro Tsujikawa
51e79c5a3d
Remove debug output
2014-05-07 23:23:43 +09:00
Tatsuhiro Tsujikawa
d11cac48f1
Merge branch 'typo' of https://github.com/alagoutte/nghttp2 into alagoutte-typo
2014-05-07 00:35:07 +09:00
Alexis La Goutte
ed63674b88
Fix GCC build with -Werror
...
timegm.h:30:8: error: C++ style comments are not allowed in ISO C90 [-Werror]
2014-05-06 17:06:40 +02:00
Alexis La Goutte
8e22eadc76
Fix typo
2014-05-06 17:05:47 +02:00
Tatsuhiro Tsujikawa
9228e223fa
Remove NGHTTP2_ERR_GZIP error code
2014-05-06 23:42:57 +09:00