Tatsuhiro Tsujikawa
ebf214c8fc
nghttp2_on_invalid_frame_recv_callback should have lib_error_code as param
...
nghttp2_error_code is HTTP/2 standard error code and is too coarse to
know what's going on.
2015-04-05 23:15:20 +09:00
Tatsuhiro Tsujikawa
250ea53e4b
Deal with 24 bytes client connection preface by default
...
Since HTTP/2 spec requires for client to send connection preface, it
is reasonable to make this option enabled by default. It is still a
use case to disable this, so replace this option with
nghttp2_option_set_no_recv_client_preface().
2015-04-05 23:15:20 +09:00
Tatsuhiro Tsujikawa
01af6ea70c
Remove ALTSVC related code
...
HTTP/2 and HPACK are going to be published as RFC, but ALTSVC is still
in draft state. To make our API stable, it would be better to remove
ALTSVC API for 1.0.0 release.
2015-04-05 23:15:20 +09:00
Tatsuhiro Tsujikawa
7522d50d1a
nghttpd, tiny-nghttpd: No need to check existence of stream
...
The stream existence is guaranteed by library as of
cc03a12b75
.
2015-04-05 23:13:29 +09:00
Tatsuhiro Tsujikawa
cc03a12b75
Don't call nghttp2_send_data_callback if stream has already closed
...
This is more inline with other callback function invocations where if
stream was closed, they are not invoked.
2015-04-05 12:40:21 +09:00
Tatsuhiro Tsujikawa
9eff511c5e
Add nghttp2_send_data_callback to send DATA payload without copying
...
To avoid buffer copy in nghttp2_data_source_read_callback, this commit
introduces NGHTTP2_DATA_FLAG_NO_COPY and nghttp2_send_data_callback.
By using NGHTTP2_DATA_FLAG_NO_COPY in
nghttp2_data_source_read_callback, application can avoid to copy
application data to given buffer. Instead, application has to
implement nghttp2_send_data_callback to send complete DATA frame by
itself. We see noticeable performance increase in nghttpd and
tiny-nghttpd using this new feature. On the other hand, nghttpx does
not show such difference, probably because buffer copy is not
bottleneck. Using nghttp2_send_data_callback adds complexity, so it
is recommended to measure the performance to see whether this extra
complexity worth it.
2015-04-04 21:23:50 +09:00
Tatsuhiro Tsujikawa
a96ac6f0a0
Merge branch 'remoe-patch-2'
2015-04-04 01:05:02 +09:00
Tatsuhiro Tsujikawa
213a63d97d
Merge branch 'patch-2' of https://github.com/remoe/nghttp2 into remoe-patch-2
2015-04-04 01:04:28 +09:00
Tatsuhiro Tsujikawa
8d4548b9c1
Merge branch 'remoe-patch-1'
2015-04-04 01:03:33 +09:00
Tatsuhiro Tsujikawa
44f2e6ae1d
Merge branch 'patch-1' of https://github.com/remoe/nghttp2 into remoe-patch-1
2015-04-04 01:02:52 +09:00
Tatsuhiro Tsujikawa
0cd7d268f3
python: Update url
2015-04-03 21:10:11 +09:00
Remo E
f3a9041851
MSVC: remove of winsock dependency
2015-04-03 12:00:06 +02:00
Remo E
776a8c64f6
"static inline" fix for build with VS2013
...
"static inline" doesn't build on VS2013:
https://msdn.microsoft.com/en-us/library/z8y1yy88.aspx
2015-04-03 11:55:57 +02:00
Tatsuhiro Tsujikawa
524a1f9498
Update sphinx_rtd_theme
2015-04-01 23:11:07 +09:00
Tatsuhiro Tsujikawa
28cfae162a
Update doc
2015-04-01 23:10:01 +09:00
Tatsuhiro Tsujikawa
b0123448a4
python: Add async body generation support
2015-04-01 22:54:31 +09:00
Tatsuhiro Tsujikawa
2d15dca096
Merge branch 'alagoutte-scan-build'
2015-04-01 22:53:56 +09:00
Alexis La Goutte
5f05135d1b
Fix some "Value stored to 'stream' is never read" found by Clang Analyzer
2015-04-01 13:03:22 +02:00
Alexis La Goutte
3b6b4ff066
Fix Value stored to 'rv' is never read found by Clang Analyzer
2015-04-01 13:03:22 +02:00
Tatsuhiro Tsujikawa
0c8ec7bfa6
Make sure that nghttp2 license is MIT license
2015-04-01 19:41:32 +09:00
Tatsuhiro Tsujikawa
2c05b8d6f0
Update doc
2015-04-01 01:26:21 +09:00
Tatsuhiro Tsujikawa
45c4187d8f
doc: Update .gitignore
2015-04-01 01:19:08 +09:00
Tatsuhiro Tsujikawa
87029e05af
doc: Split API reference into smaller fine grained files
...
Previously API reference is gigantic one rst file and it is a bit hard
to use, especially when browsing similar functions. This commit
splits API reference into smaller fine grained files. The macros,
enums, types are now in its own file. Each API function has its own
file now. API reference doc is now index to above documentation
files. The apiref-header.rst is renamed as programmers-guide.rst and
becomes standalone document.
2015-04-01 01:13:10 +09:00
Tatsuhiro Tsujikawa
363914c3f7
Mention OCSP stapling in doc
2015-03-31 23:31:24 +09:00
Tatsuhiro Tsujikawa
1316065c14
python: Fix pseudo-header field ordering bug
2015-03-31 21:53:13 +09:00
Tatsuhiro Tsujikawa
2b6a181bef
Dockerfile.android: Update openssl to 1.0.2a
2015-03-31 21:36:53 +09:00
Tatsuhiro Tsujikawa
bf68df9ef4
Merge branch 'wzyboy-patch-dockerfile'
2015-03-31 21:35:32 +09:00
Tatsuhiro Tsujikawa
e7f6089b0e
Merge branch 'patch-dockerfile' of https://github.com/wzyboy/nghttp2 into wzyboy-patch-dockerfile
2015-03-31 21:35:10 +09:00
Tatsuhiro Tsujikawa
a1500b0ee3
rst document specific corrections
2015-03-31 21:32:25 +09:00
Tatsuhiro Tsujikawa
14001052f8
Merge branch 'fangdingjun-master'
2015-03-31 21:27:18 +09:00
Tatsuhiro Tsujikawa
95ab54c79d
Merge branch 'master' of https://github.com/fangdingjun/nghttp2 into fangdingjun-master
2015-03-31 21:26:46 +09:00
Zhuoyun Wei
5e84f767f0
Improve Dockerfile
...
- Tell Vim this is a Dockerfile to enable syntax highlight;
- Explicity use Ubuntu "Trusty";
- Remove downloaded file to save space;
- Chain up some RUN commands to generate fewer layers.
2015-03-31 14:21:56 +08:00
Dingjun
c47855085b
Update README.rst
...
fix the typo and add the missing command in sample command
2015-03-31 10:02:22 +08:00
Tatsuhiro Tsujikawa
1442b1bd0a
nghttpx: Remove --tls-ctx-per-worker option
...
--tls-ctx-per-worker option does not work well of OCSP stapling. Also
it makes session ID useless.
2015-03-31 00:42:21 +09:00
Tatsuhiro Tsujikawa
763293a050
Update man pages
2015-03-31 00:23:12 +09:00
Tatsuhiro Tsujikawa
cc94632b29
src: Use separator "--" to mark start of the footer without ambiguity
2015-03-31 00:21:52 +09:00
Tatsuhiro Tsujikawa
5df770b9c1
h2load: Fix compile error with Android NDK
2015-03-30 23:59:03 +09:00
Tatsuhiro Tsujikawa
4bc9afe20a
nghttpx: Add OCSP stapling feature
2015-03-30 23:58:28 +09:00
Dingjun
522faeb24f
Update README.rst
2015-03-30 18:39:07 +08:00
fangdingjun
362ff09183
add build notes for windows user under Mingw and Cygwin
2015-03-30 18:29:10 +08:00
Tatsuhiro Tsujikawa
ccea4d42b5
Refactor .gitignore files
2015-03-29 18:40:37 +09:00
Tatsuhiro Tsujikawa
ebbe065716
Update .gitignore
2015-03-29 18:23:55 +09:00
Tatsuhiro Tsujikawa
3a97f21383
Reorder fields
2015-03-29 18:10:38 +09:00
Tatsuhiro Tsujikawa
12ced1cddc
nghttpx: Add flag to track connection state in HTTP/1 backend
2015-03-29 01:47:22 +09:00
Tatsuhiro Tsujikawa
3576f20e5a
nghttpx: Revert part of 6f58434d89
...
The reverted part of the change may use not connected socket in HTTP/1
backend.
2015-03-29 01:32:27 +09:00
Tatsuhiro Tsujikawa
7ae6e6b4c5
Exclude num_idle_streams when counting active stream
2015-03-29 00:59:15 +09:00
Tatsuhiro Tsujikawa
a2486daee1
nghttpd: Rename Http2Handler::on_connect as connection_made
2015-03-28 20:21:12 +09:00
Tatsuhiro Tsujikawa
8bf440b89c
nghttpx: Rename Http2Session::on_connect as connection_made
2015-03-28 20:19:17 +09:00
Tatsuhiro Tsujikawa
e9cdb9c896
h2load: Remove unused fields in Client class
2015-03-28 20:17:30 +09:00
Tatsuhiro Tsujikawa
c4804ee50b
h2load: Remove Client::noop
2015-03-28 20:14:12 +09:00