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
Tatsuhiro Tsujikawa
4894e24dc8
nghttpx: Add error logging for listener socket creation failure
2015-06-07 00:02:30 +09:00
Tatsuhiro Tsujikawa
bbbddedb8f
Fix compiler warning
2015-06-06 23:37:46 +09:00
Tatsuhiro Tsujikawa
163dfb3150
Fix `make distcheck` failure
2015-06-06 23:37:31 +09:00
Tatsuhiro Tsujikawa
4f3d20e024
Include script/README.rst in dist
2015-06-06 23:32:32 +09:00
Tatsuhiro Tsujikawa
b7ba1baf48
Translate fetch-ocsp-response into Python
2015-06-06 23:18:32 +09:00
Tatsuhiro Tsujikawa
00efa86fb6
nghttpx: Add --add-request-header option
2015-06-05 23:04:20 +09:00
Tatsuhiro Tsujikawa
43b3640836
Slight code cleanup
2015-06-05 22:06:49 +09:00
Tatsuhiro Tsujikawa
708eb2a217
Increase maximum number of streams in one dep tree including idle nodes
2015-06-05 22:06:14 +09:00
Tatsuhiro Tsujikawa
590a5c3ff3
Fix typo
2015-06-05 00:18:29 +09:00
Tatsuhiro Tsujikawa
28b528dc9e
Merge branch 'vapier-master'
2015-06-04 23:45:49 +09:00
Mike Frysinger
a50f6e5d50
configure: fix bashism
...
The == operator is not in POSIX; use = like normal.
Reported-by: Mikael Magnusson <mikachu@gmail.com>
2015-06-04 00:10:00 -04:00
Tatsuhiro Tsujikawa
1534edd3f3
Update building android doc to include zlib build instruction
2015-06-01 23:14:38 +09:00
Tatsuhiro Tsujikawa
892c159d8f
Remove unused clock_gettime and dlsym detection
2015-06-01 23:05:42 +09:00
Tatsuhiro Tsujikawa
0cb4750e3c
libevent-client: Fix bug that path is broken if URI does not contain path part
2015-06-01 00:22:35 +09:00
Tatsuhiro Tsujikawa
ee4d53a9e4
More constexpr
2015-05-31 18:44:37 +09:00
Tatsuhiro Tsujikawa
ad150c3ab1
Merge branch 'fwiesel-client_certificate'
2015-05-31 18:28:16 +09:00
Fabian Wiesel
7eafebfeb9
Expose client certificate, if available
...
Client certificates can use used for authentication/authorization in the server,
so expose them similar to the remote address.
2015-05-31 10:55:10 +02:00
Tatsuhiro Tsujikawa
3d59c6c0b7
nghttpx: Use defined string iteral when defining long_options
2015-05-29 22:48:46 +09:00
Tatsuhiro Tsujikawa
34efc6b7a4
More constexpr
2015-05-29 22:36:05 +09:00
Tatsuhiro Tsujikawa
7582640fd5
nghttpx: Remove unused
2015-05-29 22:20:46 +09:00
Tatsuhiro Tsujikawa
ad265aa9d0
Build third-party if either examples or apps is enabled
2015-05-28 22:55:47 +09:00
Tatsuhiro Tsujikawa
1f7e6ea3fe
Define NGHTTP2_EXTERN to __declspec(dllimport) when using nghttp2
...
The private global variable nghttp2_enable_strict_preface is also
marked as NGHTTP2_EXTERN, but it is test purpose only (test with
.dll), and not part of public API. It could be removed in the future
release.
2015-05-28 22:36:43 +09:00
Tatsuhiro Tsujikawa
a0a5f4f93e
tests: Break if all compressed header input processed in nghttp2_buf
2015-05-27 00:33:24 +09:00
Tatsuhiro Tsujikawa
59e6272ba4
integration: Add WebSocket upgrade test
2015-05-26 23:28:45 +09:00
Tatsuhiro Tsujikawa
323fc8c552
nghttpx: Make WebSocket upgrade work
...
This commit makes sure that WebSocket upgrade works for HTTP/1.1
frontend and backend pair. Actually, this implementation probably
supports other upgrade as well, other than HTTP/2 Upgrade, which is
handled specially in other place.
2015-05-26 22:26:17 +09:00
Tatsuhiro Tsujikawa
cbb10aa80f
Merge branch 'fwiesel-python3.4-on-macos'
2015-05-26 00:48:42 +09:00
Fabian Wiesel
abe4c7c92a
Catch and log failure to set TCP_NODELAY
...
Setting TCP_NODELAY may fail. Instead of failing the routine, log it and continue.
It seems, that setting TCP_NODELAY in python on Mac OS X is not necessarily supported.
2015-05-25 17:39:54 +02:00
Tatsuhiro Tsujikawa
326b4c467b
nghttpx: Fix bug that END_STREAM is not set in backend for POST with Upgrade
2015-05-26 00:00:11 +09:00
Tatsuhiro Tsujikawa
7e51a87111
nghttpx: Don't upgrade to HTTP/2 if we have non-final HTTP/1 response pending
2015-05-25 23:59:44 +09:00
Tatsuhiro Tsujikawa
5fdb36239a
nghttpx: Don't send Expect header field twice
2015-05-25 23:59:18 +09:00
Tatsuhiro Tsujikawa
9f99cad9ab
Bump up version number to 1.0.2-DEV
2015-05-24 19:50:35 +09:00
Tatsuhiro Tsujikawa
7c7d4700f1
Update README.rst about go spdy package
2015-05-24 19:26:53 +09:00