Tatsuhiro Tsujikawa
f7455d48cc
Compile with android NDK
...
This also fixes the bug that nghttpx's acceptor fd is blocking if
SOCK_NONBLOCK is undefined.
2015-01-11 00:28:00 +09:00
Tatsuhiro Tsujikawa
2b14e4a617
Bump up version number to 0.7.1-DEV
2015-01-07 01:57:30 +09:00
Tatsuhiro Tsujikawa
7702d38699
Bump up version number to 0.7.0, LT revision to 8:0:3
2015-01-07 01:39:36 +09:00
Tatsuhiro Tsujikawa
fcf0ceeac6
nghttpd: Make use of accept4
2015-01-05 15:59:51 +09:00
Tatsuhiro Tsujikawa
8729d1e4c2
src: Remove libevent dependency
2015-01-03 00:19:41 +09:00
Tatsuhiro Tsujikawa
cd7258a7cd
Use libev for nghttpd
...
Benchmark shows 10% faster with libev compared to libevent. Also
response time in high load condition is much faster.
2015-01-03 00:19:41 +09:00
Tatsuhiro Tsujikawa
e559168bd7
Enable failmalloc test by default
2014-12-20 23:56:33 +09:00
Tatsuhiro Tsujikawa
54a3209cf5
configure.ac: Rename some variables so that they follow automake convention
2014-12-01 23:14:28 +09:00
Tatsuhiro Tsujikawa
9eb554a843
configure.ac: Categorize configure result
2014-12-01 23:10:34 +09:00
Tatsuhiro Tsujikawa
7036859823
Do not change user variable CFLAGS in configure.ac
2014-12-01 23:06:11 +09:00
Tatsuhiro Tsujikawa
a3c5ac4730
Bump up version number to 0.6.8-DEV
2014-11-30 23:43:24 +09:00
Tatsuhiro Tsujikawa
209d1b0946
Bump up version number to 0.6.7, LT revision to 7:2:2
2014-11-30 23:02:40 +09:00
Tatsuhiro Tsujikawa
0a406eab94
Add contribution guidelines
2014-11-27 23:56:29 +09:00
Alexis La Goutte
51b59bc8f0
Remove -Wno-unused-parameter (and add _U_ macro)
2014-11-25 17:08:09 +01:00
Tatsuhiro Tsujikawa
e11834d1c9
src: Add code in case struct tm.tm_gmtoff is not available
2014-11-24 18:39:35 +09:00
Tatsuhiro Tsujikawa
737cea0b38
nghttp: Add -r, --har option to output HTTP transactions in HAR format
2014-11-15 23:34:10 +09:00
Tatsuhiro Tsujikawa
94c80e2507
Bump up version number to 0.6.7-DEV
2014-11-08 23:40:23 +09:00
Tatsuhiro Tsujikawa
72f5e028d0
Bump up version number to 0.6.6, LT revision to 7:1:2
2014-11-08 22:52:45 +09:00
Tatsuhiro Tsujikawa
69c708be44
Bump up version number to 0.6.6-DEV
2014-11-02 23:27:16 +09:00
Tatsuhiro Tsujikawa
db67412511
Bump up version number to 0.6.5, LT revision to 7:0:2
2014-10-31 00:05:09 +09:00
Tatsuhiro Tsujikawa
eaca5d83b0
Add nghttpx init file for convenience
2014-10-19 18:06:34 +09:00
Tatsuhiro Tsujikawa
47692d113c
Bump up version number to 0.6.5-DEV
2014-10-14 23:49:10 +09:00
Tatsuhiro Tsujikawa
df078dc004
Bump up version number to 0.6.4
...
Library code has not changed at all since the last release, so LT
revision stays the same.
2014-10-14 23:27:35 +09:00
Tatsuhiro Tsujikawa
325bb0115e
Bump up version number to 0.6.4-DEV
2014-10-11 00:22:25 +09:00
Tatsuhiro Tsujikawa
cc3b41ec96
Bump up version number to 0.6.3, LT revision to 6:1:1
2014-10-11 00:08:32 +09:00
Tatsuhiro Tsujikawa
6d42b6697b
examples: Disable tiny-nghttpd if timerfd_create is not available
2014-10-09 21:18:24 +09:00
Tatsuhiro Tsujikawa
ba92935f64
Define NOTHREADS if std:future is not available
2014-10-08 23:36:55 +09:00
Tatsuhiro Tsujikawa
7a09feebc3
h2load: Don't use std::future with --disable-threads
...
Now we don't use std::future with --disable-threads, checking
std::future in configure.ac was removed and building h2load is always
enabled.
2014-10-05 14:25:15 +09:00
Tatsuhiro Tsujikawa
9c0760e3c1
Bump up version number to 0.6.3-DEV
2014-09-29 00:08:21 +09:00
Tatsuhiro Tsujikawa
521450c7ad
Bump up version number to 0.6.2, LT revision to 6:0:1
2014-09-28 23:33:10 +09:00
Tatsuhiro Tsujikawa
d25b9da9f6
Check Boost library only when it is requested
2014-09-27 23:50:33 +09:00
Tatsuhiro Tsujikawa
34413d8d7c
examples: Build tiny-nghttpd only when epoll is available
2014-09-27 23:45:57 +09:00
Tatsuhiro Tsujikawa
99ca15cae0
Lower boost version requirement to 1.54.0
2014-09-24 21:07:37 +09:00
Tatsuhiro Tsujikawa
83728219db
Update doc
2014-09-24 00:45:40 +09:00
Tatsuhiro Tsujikawa
5d0bf4cc84
Add C++ library libnghttp2_asio on top of libnghttp2
...
The libnghttp2_asio library is C++ library built on top of libnghttp2.
Currently, it has server API and easily create HTTP/2 server using
node.js like API calls. See the example server source code in
examples/asio-sv.cc. The library depends on Boost::ASIO library.
2014-09-24 00:45:40 +09:00
Tatsuhiro Tsujikawa
d00d4d647d
Compile with android NDK r10b 32bit target
...
Android does not have _Exit. We detect this and use _exit instead.
clang-3.4 has an issue around undefined reference to
__atomic_fetch_add_4, so we stick to gcc-4.8 for now.
2014-09-14 21:32:53 +09:00
Tatsuhiro Tsujikawa
5847a56c40
Bump up version number to 0.6.2-DEV
2014-09-11 00:36:56 +09:00
Tatsuhiro Tsujikawa
207b1db6af
Bump up version number to 0.6.1
2014-09-11 00:28:48 +09:00
Tatsuhiro Tsujikawa
5cf07f5c21
Bump up version number to 0.6.1-DEV
2014-08-30 00:18:25 +09:00
Tatsuhiro Tsujikawa
3de678e164
Bump up version number to 0.6.0 and LT revision to 5:0:0
2014-08-30 00:09:37 +09:00
Tatsuhiro Tsujikawa
d5dcbf6f3b
nghttpx: Fix possible flow control issue
...
Previously we only update consumed flow control window when number of
bytes read in nghttp2 and spdylay callback is 0. Now we notify
nghttp2 library the consumed bytes even if number of bytes read > 0.
This change also uses newly added spdylay_session_consume() API, so we
require spdylay >= 1.3.0.
2014-08-21 21:22:16 +09:00
Tatsuhiro Tsujikawa
2b4bd57c7f
doc: Add building-android-binary document
2014-08-17 19:15:19 +09:00
Tatsuhiro Tsujikawa
53e52194b5
Bump up version number to 0.6.0-DEV
2014-08-16 22:50:33 +09:00
Tatsuhiro Tsujikawa
8736f61fbd
Detect static libjemalloc
...
libjemalloc as static library requires -pthread flag to link. Without
that, the check in configure.ac fails with unresolved symbols.
2014-08-05 21:49:50 +09:00
Tatsuhiro Tsujikawa
5b572d8d59
Bump up version number to 0.5.2-DEV
2014-07-23 00:51:46 +09:00
Tatsuhiro Tsujikawa
e839ea8596
Bump up version number to 0.5.1, LT revision to 4:1:0
2014-07-23 00:45:39 +09:00
Tatsuhiro Tsujikawa
db3b07735b
Bump up version number to 0.5.1-DEV
2014-07-18 21:32:18 +09:00
Tatsuhiro Tsujikawa
da85d2eecc
Bump up version number to 0.5.0, LT revision to 4:0:0
2014-07-18 21:20:11 +09:00
Tatsuhiro Tsujikawa
a7501609e8
doc: Fix python-apiref.rst is not generated in distribution
2014-06-29 23:57:18 +09:00
Tatsuhiro Tsujikawa
8235bb136b
doc: Add HPACK API tutorial
2014-06-29 23:45:49 +09:00
Tatsuhiro Tsujikawa
451c7d957d
doc: Add h2load-howto.rst
2014-06-27 00:05:49 +09:00
Tatsuhiro Tsujikawa
a344a8f566
src: Don't build h2load if std::future is not working
2014-06-18 14:24:45 +09:00
Tatsuhiro Tsujikawa
8acd67b3fa
Fix have_zlib is not set for android build
2014-06-18 14:12:40 +09:00
Alexis La Goutte
6e316e269f
Add -Wshorten-64-to-32 to configure.ac
2014-06-11 21:22:29 +09:00
Tatsuhiro Tsujikawa
1390378341
Bump up version number to 0.4.2-DEV
2014-06-02 22:49:56 +09:00
Tatsuhiro Tsujikawa
75b9be2d5a
Bump up version number to 0.4.1, LT revision to 3:1:0
2014-06-02 22:34:18 +09:00
Tatsuhiro Tsujikawa
eba2825286
Handle the case where jemalloc is available without linking extra library
2014-05-18 19:38:33 +09:00
Tatsuhiro Tsujikawa
e54e86375b
Bump up version number to 0.5.0-DEV
2014-05-17 00:14:07 +09:00
Tatsuhiro Tsujikawa
de5c821530
Bump up version number to 0.4.0, LT revision to 3:0:0
2014-05-16 23:51:32 +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
4f027c1562
libnghttp2: Remove dependency to zlib
...
We inherited gzip compression API from spdylay codebase. In spdylay,
the cost of having such API is almost free because spdylay requires
zlib for header compression. nghttp2 no longer uses gzip to header
compression. zlib dependency exists just for gzip compression API,
which is not an essential. So we decided to move gzip code to under
src and remove zlib dependency from libnghttp2 itself. As nghttp2
package, we depend on zlib to compile tools under src.
2014-05-06 23:10:50 +09:00
Tatsuhiro Tsujikawa
1d26678934
Enable silent-rules by default
2014-05-05 18:48:26 +09:00
Nicholas Hurley
f3f9210dae
Add --disable-threads option for configure
...
This allows users of OS X 10.9 to run nghttpd (and friends) with
threading entirely disabled, to avoid crashes on startup related to
std::mutex.
2014-05-01 17:18:29 -07:00
Tatsuhiro Tsujikawa
c69f6f4186
Use AC_DEFINE for DEBUG macro instead of adding it to CFLAGS
2014-04-29 12:58:52 +09:00
Tatsuhiro Tsujikawa
1d5a1b895b
doc: Use autoconf template nghttpx-howto.rst.in properly
2014-04-20 23:42:15 +09:00
Tatsuhiro Tsujikawa
ab2dc5967d
Replace HTTP/2.0 with HTTP/2
2014-03-30 19:26:37 +09:00
Tatsuhiro Tsujikawa
12d92a621d
Add --with-spdylay configure option
2014-03-05 21:44:28 +09:00
Tatsuhiro Tsujikawa
7f18eced0b
src: Use jemalloc if available
2014-03-05 21:38:33 +09:00
Tatsuhiro Tsujikawa
ddf6162528
python: Use distutils to build/install python bindings
...
automake version is a bit picky about installation location and uses
different compiler flags from distutils. We prefer official distutils.
Now nghttp2.c, which is generated by cython, is distributed in
archive.
2014-02-27 00:58:21 +09:00
Tatsuhiro Tsujikawa
09fd95ac5c
Revert 6c51bd0979
2014-02-21 23:04:40 +09:00
Tatsuhiro Tsujikawa
6c51bd0979
src: Disable strip http-parser mode
...
Add --enable-strict-http-parser mode to enable it.
2014-02-21 00:20:27 +09:00
Tatsuhiro Tsujikawa
dc82a6026e
Add --enable-debug configure option to define DEBUGBUILD macro
2014-02-20 23:19:55 +09:00
Tatsuhiro Tsujikawa
f152dd8881
Rename --enable-maintainer-mode configure option as --enable-werror
2014-02-20 23:17:04 +09:00
Tatsuhiro Tsujikawa
b2ab5178a3
Bump up version number to 0.4.0-DEV
2014-02-16 15:20:56 +09:00
Tatsuhiro Tsujikawa
2aa2c942e8
Bump up version number to 0.3.1 and LT revision to 2:1:0
2014-02-16 15:05:17 +09:00
Tatsuhiro Tsujikawa
01ca4373a1
Out-of-tree build for sphinx documents
...
The only drawback is that page source only contains include
directive. We disabled page source for now.
2014-02-13 23:44:54 +09:00
Tatsuhiro Tsujikawa
cdcea8045f
Include doc theme without recursive Makefiles
2014-02-09 17:40:06 +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
fa7b76eb33
Bump up version number to 0.4.0-DEV
2014-02-05 23:18:50 +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
e4801ca6f2
Don't fail if python-dev is not found unless request_python_binding=yes
2014-01-12 21:31:33 +09:00
Tatsuhiro Tsujikawa
9218d5d071
Add AC_HEADER_ASSERT for benchmark
2014-01-11 01:12:30 +09:00
Tatsuhiro Tsujikawa
47f20d5e83
Integrate Python bindings build into `make`
...
Now require python >= 2.7
2014-01-11 01:01:28 +09:00
Tatsuhiro Tsujikawa
0e9390d5ad
Move http-parser to third-party dir and fix `make distcheck`
2014-01-11 00:36:20 +09:00
Tatsuhiro Tsujikawa
9dcd6b003d
Refactor configure options
...
--enable-src is renamed as --enable-app. Fix build failure if
libxml2 is not available.
2014-01-10 23:19:36 +09:00
Tatsuhiro Tsujikawa
d1c109f59e
Fix typo
2014-01-10 21:54:17 +09:00
Tatsuhiro Tsujikawa
0f1dea4f42
Move HPACK tools from hdtest to src
2014-01-10 21:53:48 +09:00
Tatsuhiro Tsujikawa
ccd0f83018
Revert e812f3b9f7
...
We need jansson >= 2.5 because of s# conversion
2014-01-07 21:19:46 +09:00
Tatsuhiro Tsujikawa
e812f3b9f7
Require jansson >= 2.4
2014-01-02 13:30:44 +09:00
Tatsuhiro Tsujikawa
a14cfa59df
configure.ac: Print out spdylay availability
2013-12-26 00:13:35 +09:00
Tatsuhiro Tsujikawa
5bb1c653ef
src: Omit \r\n sanitization on header value
...
This is because nghttp2 and spdylay now don't allow \r\n in header
value. Require spdylay >= 1.2.3.
2013-12-26 00:08:42 +09:00
Tatsuhiro Tsujikawa
dcfd9b22fc
examples: Add libevent-client, requires libevent for examples
2013-12-22 19:26:32 +09:00
Tatsuhiro Tsujikawa
9d630901fa
Add check for cython and substitute python and cython in Makefile.am
2013-12-16 21:46:50 +09:00
Tatsuhiro Tsujikawa
4e0ca71ef0
python: Add experimental python extension module
...
To build extension module, cython is required.
The module is not built with `make` in the top directory.
A user has to run `make build_ext` in python directory.
Currently header compression objects are available for testing.
2013-12-14 23:54:09 +09:00
Tatsuhiro Tsujikawa
58beaa371d
nghttpx: Support spdy/3.1, require spdylay >= 1.2.0
2013-11-12 11:03:46 +09:00
Tatsuhiro Tsujikawa
2d28634826
Bump up version number to 0.3.0-DEV
2013-11-05 00:48:28 +09:00
Tatsuhiro Tsujikawa
b6ffb1b00a
Bump up version number to 0.2.0, LT revision to 1:0:0
2013-11-05 00:40:59 +09:00
Tatsuhiro Tsujikawa
49b8ea1bf3
tests: Add failmalloc tests
2013-10-31 02:02:00 +09:00