Tatsuhiro Tsujikawa
5a8d5e5dd9
Update man pages
2015-06-23 23:22:35 +09:00
Tatsuhiro Tsujikawa
9bcb0ffdef
Bump up version number to 1.0.4, LT revision to 14:4:0
2015-06-23 23:20:13 +09:00
Tatsuhiro Tsujikawa
1945d0f02a
Fix assertion failure in nghttp2_stream.c
...
This is regression introduced in
46b70c1db8
.
2015-06-23 23:04:53 +09:00
Tatsuhiro Tsujikawa
4870edb33d
Bump up version number to 1.0.4-DEV
2015-06-23 01:02:48 +09:00
Tatsuhiro Tsujikawa
3abb162969
Update man pages
2015-06-23 00:54:09 +09:00
Tatsuhiro Tsujikawa
4242478f39
Update nghttpx man page template
2015-06-23 00:53:51 +09:00
Tatsuhiro Tsujikawa
4fa2ffe292
Dump up version number to 1.0.3, LT revision to 14:3:0
2015-06-23 00:48:23 +09:00
Tatsuhiro Tsujikawa
301df2a856
src: Disable SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS
2015-06-22 23:26:45 +09:00
Tatsuhiro Tsujikawa
f3b7f4140b
nghttpx: Clarify origin host for --backend-http1-connection-per-host
2015-06-22 21:09:39 +09:00
Tatsuhiro Tsujikawa
878b873c69
src: Use using instead of typedef
2015-06-21 19:37:50 +09:00
Tatsuhiro Tsujikawa
2ca8cf36b7
util: Use constexpr for ALPN id
2015-06-21 19:34:43 +09:00
Tatsuhiro Tsujikawa
2224b98c9c
Remove duplicated dependency validation in nghttp2_session_reprioritize_stream
2015-06-21 16:31:30 +09:00
Tatsuhiro Tsujikawa
a7031da364
Fix bug that idle self-depending PRIORITY is not handled gracefully
...
Previously, we did not handle PRIORITY frame which depends on itself
and for idle stream. As a result, nghttp2_session_mem_recv (or
nghttp2_session_recv) returne NGHTTP2_ERR_NOMEM. The error code was
still misleading. It was not out of memory, and we failed to insert
hash map because of duplicated key, which was treated as out of
memory. This commit fixes this issue, by explicitly checking
dependency for incoming PRIORITY for all cases.
2015-06-21 16:02:32 +09:00
Tatsuhiro Tsujikawa
cebfdacc5a
src: Use user-defined literals for time (hours and minutes)
2015-06-21 14:51:32 +09:00
Tatsuhiro Tsujikawa
39f89f4a60
src: Use user-defined literals for k, m, and g.
2015-06-21 14:32:47 +09:00
Tatsuhiro Tsujikawa
46b70c1db8
Optimize dependency based priority code to Firefox style tree
...
While this commit optimizes dependency routine to Firefox style tree,
the other use cases (e.g., linear chain) are also improved
dramatically as well.
2015-06-20 22:11:24 +09:00
Tatsuhiro Tsujikawa
5537503172
Merge branch 'jfcalcerrada-patch-1'
2015-06-20 19:42:09 +09:00
José F. Calcerrada
81cc550eb9
Update README.rst
...
Typo
2015-06-20 11:02:33 +01:00
Tatsuhiro Tsujikawa
0a6de0d378
nghttp: Perform special handling of IPv6 literal with zone ID as per RFC 6874
...
This commit adds special handling of IPv6 literal with zone ID as per
RFC 6874. Still IPv6 link local address does not work, since URI
parser from http-parser does not allow this syntax.
2015-06-18 20:00:02 +09:00
Tatsuhiro Tsujikawa
25d1de0278
nghttp: Print error if all connect() syscall faild
2015-06-18 18:03:25 +09:00
Tatsuhiro Tsujikawa
39eb8b8a6b
nghttp: Print error when parsing URI failed
2015-06-18 18:00:24 +09:00
Tatsuhiro Tsujikawa
c050fca177
Merge branch 'vapier-master'
2015-06-18 17:55:50 +09:00
Mike Frysinger
19309823aa
enable third-party for asio_lib too
...
Since this library uses the third-party subdir, make sure we auto-enable
it when that lib is turned on.
2015-06-17 13:29:37 -04:00
Tatsuhiro Tsujikawa
90bcdb0dda
Merge branch 'libressl'
2015-06-17 18:27:54 +09:00
Tatsuhiro Tsujikawa
17ec30e45c
Mention LibreSSL in README.rst
2015-06-17 18:27:27 +09:00
Tatsuhiro Tsujikawa
07f763be49
fetch-ocsp-response: Support LibreSSL, and include port in ocsp_host
2015-06-17 18:24:57 +09:00
Tatsuhiro Tsujikawa
69119f47c4
src: Support compile with LibreSSL
2015-06-17 18:24:51 +09:00
Tatsuhiro Tsujikawa
b0b792e735
integration: Add tests for x-forwarded-proto header field
2015-06-16 21:31:47 +09:00
Tatsuhiro Tsujikawa
8aab74ad36
nghttpx: Refactor a bit
2015-06-16 21:31:33 +09:00
Tatsuhiro Tsujikawa
f418d1239f
nghttpx: Fix bug that XFP header always http on HTTP/2 backend
...
This commit fixes the bug that x-forwarded-proto header field sent on
HTTP/2 backend always "http", regardless of frontend scheme.
2015-06-16 21:29:47 +09:00
Tatsuhiro Tsujikawa
5b51320dc5
nghttpx: Validate :path on SPDY frontend
...
Unless method is CONNECT, we require that :path starts with "/",
except for OPTIONS method, which can take "*" as :path (server-wide
OPTIONS request).
2015-06-16 00:09:22 +09:00
Tatsuhiro Tsujikawa
d2e81da9e2
Bump up version number to 1.0.3-DEV
2015-06-12 22:58:14 +09:00
Tatsuhiro Tsujikawa
a61054e1f7
Update bash_completion
2015-06-12 22:38:32 +09:00
Tatsuhiro Tsujikawa
749f5d6a32
Update man pages
2015-06-12 22:38:19 +09:00
Tatsuhiro Tsujikawa
f09bd821ac
Bump up version number to 1.0.2, LT revision to 14:2:0
2015-06-12 22:35:29 +09:00
Tatsuhiro Tsujikawa
6d5c00b8eb
nghttpx: Use vector for WorkerEvent queue
2015-06-12 21:28:24 +09:00
Tatsuhiro Tsujikawa
532bffdb01
nghttpx: Minimize critical section for shared ocsp response
2015-06-12 21:27:12 +09:00
Tatsuhiro Tsujikawa
c6c7145167
Fix compile warning with android NDK
2015-06-12 19:19:53 +09:00
Tatsuhiro Tsujikawa
b5717cd288
Fix bug that data are not consumed for connection in race condition
...
When we know that stream is closed at time we read DATA frame header,
we use NGHTTP2_IB_IGN_DATA, and consume data for connection if
nghttp2_option_set_no_auto_window_update() is used. However, if
stream is closed while we are in NGHTTP2_IB_READ_DATA, those bytes are
not consumed for connection, nor notified to application via callback,
so it eventually fills up connection window and connection will
freeze. This commit fixes this issue by consuming these data for
connection when stream is closed or does not exist.
2015-06-11 23:34:30 +09:00
Tatsuhiro Tsujikawa
d4d7597efb
nghttpx: Delete SSL_CTX on quit
2015-06-10 21:31:58 +09:00
Tatsuhiro Tsujikawa
2952706b53
Fix scan-build error
2015-06-10 00:29:03 +09:00
Tatsuhiro Tsujikawa
9b0ccdef34
h2load: Code cleanup
2015-06-10 00:28:27 +09:00
Tatsuhiro Tsujikawa
41dd5f6897
nghttpx: Tokenize request method
...
We share the same method value with http-parser. This commit also
returns 501 for unknown request method on HTTP/2 and SPDY frontend.
2015-06-09 23:33:14 +09:00
Tatsuhiro Tsujikawa
f9c60d5e9d
nghttpx: Return 501 if invalid method is received on h1 frontend
2015-06-09 22:08:49 +09:00
Tatsuhiro Tsujikawa
c2ca04c1db
python: Call on_close callback when connection is lost for server session
2015-06-07 16:17:48 +09:00
Tatsuhiro Tsujikawa
5fbb99e3d0
Check python without python bindings to get PYTHON variable
...
We use PYTHON variable to execute Python script, mainly to generate
documents. Therefore it is better to always check python interpreter
even if we don't request python bindings
2015-06-07 13:14:31 +09:00
Tatsuhiro Tsujikawa
ba34313f9f
mkapiref.py: Ensure better 2 and 3 support
2015-06-07 13:13:51 +09:00
Tatsuhiro Tsujikawa
aa6699435a
make_bash_completion.py: Support Python 3.4
2015-06-07 13:01:02 +09:00
Tatsuhiro Tsujikawa
e857e99df8
help2rst.py: Support Python 3.4
2015-06-07 12:55:22 +09:00
Tatsuhiro Tsujikawa
6d537c419e
nghttpx: Document failure case on bind()
2015-06-07 00:05:33 +09:00