Commit Graph

259 Commits

Author SHA1 Message Date
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
Tatsuhiro Tsujikawa 21599bcf44 Bump up version number to 0.2.0-DEV 2013-10-28 23:17:14 +09:00
Tatsuhiro Tsujikawa 2dd44746a6 Merge branch 'master' into hpack-exp 2013-10-28 23:15:14 +09:00
Tatsuhiro Tsujikawa 5d5a641666 Bump up version number to 0.1.0 2013-10-28 22:53:32 +09:00
Tatsuhiro Tsujikawa 2c37341a25 configure.ac: Output the result jansson detection and enable_hdtest 2013-10-27 16:24:42 +09:00
Tatsuhiro Tsujikawa 88348a600b hdtest: Add HPACK test tools
These test tools uses JSON as input/output and could be handy
to produce compressed header blocks.
2013-10-22 00:42:46 +09:00
Tatsuhiro Tsujikawa 8dcaa08405 Replace steady_clock with monotonic_clock if steady_clock is not available 2013-09-17 22:48:30 +09:00
Dave Reisner c53502a261 Play nicely with py3k for building docs
Previously, mkapiref.py required python2.6, as it used format strings,
but continued to use print as a keyword, not a function. But, since 2.6
is implicitly made a requirement, we can also count on print being
available as a function.

This change adds python2.6 as a soft requirement during ./configure,
and converts all print keywords to statements. There's no need to do
anything about the actual building of the doc since sphinx-build can
run under python2 and python3.

The net result is that it no longer matters whether 'python' points to
python2 or python3 (see PEP394), because both will be able to run
mkapiref.py successfully.
2013-09-07 09:48:36 -04:00
Dave Reisner 41ac45785a configure: initialize automake with subdir-objects option
This makes the buildsystem forward compatible with automake>=1.14 since
nghttp uses a recursive build. It avoids a large and non-scary warning
on running autoreconf, summarized as:

src/Makefile.am:57: warning: source file 'http-parser/http_parser.c' is in a subdirectory,
src/Makefile.am:57: but option 'subdir-objects' is disabled
2013-09-07 09:40:31 -04:00
Daniel Stenberg 2f992a68f8 NGHTTP2_VERSION_NUM: have configure generate the define 2013-09-04 21:30:00 +09:00
Tatsuhiro Tsujikawa 1b95e23bfb Add ax_cxx_compile_stdcxx_11 to check C++11 availability and flags 2013-08-06 21:20:36 +09:00
Tatsuhiro Tsujikawa dc2ed7414c src: Cleanup src builds 2013-07-28 19:50:02 +09:00
Tatsuhiro Tsujikawa 32bd1425b4 shrpx: SPDY support in upstream connection 2013-07-26 20:12:55 +09:00
Tatsuhiro Tsujikawa cdc7fee1e6 Reset package version and lt revision number 2013-07-13 00:48:35 +09:00
Tatsuhiro Tsujikawa 0edce70343 Rebranding nghttp2 2013-07-13 00:43:06 +09:00
Tatsuhiro Tsujikawa 715fba31fc Bump up version number to 1.0.0 2013-06-09 13:28:22 +09:00
Tatsuhiro Tsujikawa bdade00e68 cygwin build fix 2013-03-28 01:25:42 +09:00
Tatsuhiro Tsujikawa adc9ab990a Bump up version number to 0.3.8 2013-03-11 00:32:00 +09:00
Tatsuhiro Tsujikawa 11026a3eda android: Use zlib provided by NDK 2013-03-07 21:24:40 +09:00
Tatsuhiro Tsujikawa add067ed7e Provide timegm replacement and android build fix 2013-03-07 21:17:55 +09:00
Tatsuhiro Tsujikawa 61726d5e74 Add --without-libxml2 configure option 2013-03-07 20:52:29 +09:00
Tatsuhiro Tsujikawa 45a6b5098c Add AM_PROG_CC_C_O macro 2013-02-10 18:28:53 +09:00
Tatsuhiro Tsujikawa 37cb94d154 src: Use clock_gettime instead of gettimeofday if available 2013-01-27 17:16:13 +09:00
Tatsuhiro Tsujikawa c235800a1a Link -ldl with tests only 2013-01-27 16:48:52 +09:00
Tatsuhiro Tsujikawa b5d4120ae0 Bump up version number to 0.3.8-DEV 2013-01-25 00:19:13 +09:00
Tatsuhiro Tsujikawa 7342ce7145 Bump up version number to 0.3.7 and LT revision to 5:0:0 2013-01-12 21:30:38 +09:00
Tatsuhiro Tsujikawa c45726b9e1 Add AC_SYS_LARGEFILE 2013-01-11 00:17:43 +09:00
Tatsuhiro Tsujikawa 53b7b0eda9 Bump up version number to 0.3.7-DEV 2012-10-02 23:04:41 +09:00
Tatsuhiro Tsujikawa 4db9dca183 Bump up version number to 0.3.6. Bump up LT version to 4:0:3 2012-10-01 23:01:56 +09:00
Tatsuhiro Tsujikawa 0409c76b45 Fix bug that $withval is used where $enableval should be used 2012-09-22 15:44:42 +09:00
Tatsuhiro Tsujikawa 69ed2258ad Bump up version number to 0.3.5. Bump up LT revision to 3.1.2 2012-09-13 23:19:02 +09:00
Tatsuhiro Tsujikawa d1456a8136 Bump up version number to 0.3.4 2012-09-13 22:43:59 +09:00
Tatsuhiro Tsujikawa b0f155eebc Bump up version number to 0.3.4-DEV 2012-09-10 22:46:44 +09:00
Tatsuhiro Tsujikawa ca415a2a15 Add --enable-src configure option
When --enable-src is given, the programs in src directory will be
built. If --disable-src is given, those programs will not be built. If
none of them are given, --enable-src is assumed.
2012-09-10 21:51:08 +09:00
Tatsuhiro Tsujikawa b0fcd68783 Move spdycat, spdyd and shrpx from examples to src
To distinguish the to-be-installed programs and non-installable
example source code, the former programs, spdycat, spdydyd and shrpx,
were moved to src directory. spdynative was removed from Makefile
because it does not appeal to any users much.
2012-09-10 21:39:51 +09:00
Tatsuhiro Tsujikawa adbf33c0b8 Add python wrapper to distribution 2012-08-28 22:07:43 +09:00
Tatsuhiro Tsujikawa 5bb8a262ba Bump up version number to 0.3.3. Bump up the library version to 3:0:2 2012-08-28 21:54:32 +09:00
Tatsuhiro Tsujikawa d8c4b19351 Fix error with w64-mingw32 cross compiler. Add --enable-example option. 2012-08-24 02:15:57 +09:00
Tatsuhiro Tsujikawa a6817ff5e2 Bump up version number to 0.3.3-DEV 2012-08-24 01:49:47 +09:00
Tatsuhiro Tsujikawa 0583769c42 Check intptr_t using C++ compiler
Patch from Stephen Ludin
2012-08-22 21:27:56 +09:00
Tatsuhiro Tsujikawa 558e27ac9e Fix intptr_t check in configure.ac 2012-08-21 21:11:53 +09:00
Tatsuhiro Tsujikawa 5815d83414 Bump up LT revision to 2:2:1 2012-08-03 21:45:10 +09:00
Tatsuhiro Tsujikawa 4c55caa635 Bump up version number to 0.3.2 2012-08-03 21:44:27 +09:00
Tatsuhiro Tsujikawa 28e477eb3a Check availability of pwd.h and getpwnam() 2012-08-01 02:06:27 +09:00
Tatsuhiro Tsujikawa 05e6d527b1 Fix compile error on netbsd
Include config.h from sources under examples.  Added kevent.udata type
check.
2012-07-27 22:11:13 +09:00
Tatsuhiro Tsujikawa f68619e2e9 Bump up version number to 0.3.1. LT revision is now 2.1.1 2012-06-11 23:19:09 +09:00
Tatsuhiro Tsujikawa 03ee1e327f Added --enable-maintainer-mode configure option
If it is enabled, turn on extra compiler warnings.
2012-06-11 23:08:18 +09:00
Tatsuhiro Tsujikawa 18f557f743 Conditional compilation with libevent-openssl
Require Libevent-openssl 2.0.8 because we use
evconnlistener_set_error_cb().
2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa fad7f51f8d Initial commit of shrpx: SPDY/HTTPS to HTTP reverse proxy
Put libhtparse in examples/htparse
2012-06-04 23:48:31 +09:00
Tatsuhiro Tsujikawa 69de020b5c Fixed typo 2012-05-27 23:52:48 +09:00
Tatsuhiro Tsujikawa 6b76b4d7d5 Added more summary output 2012-05-27 23:52:08 +09:00
Tatsuhiro Tsujikawa f070cec057 Bump up pkg version number to 0.3.0. Bump up LT version to 2.0.1. 2012-05-27 23:26:24 +09:00
Tatsuhiro Tsujikawa 31ff69ed07 Bump up version number to 0.2.1. LT version is now 1.1.0. 2012-05-20 22:31:07 +09:00
Tatsuhiro Tsujikawa 991ded912d Added -a, --get-asserts option to spdycat
If this option is used, spdycat also downloads assets such as
stylesheets, images and script files linked from the downloaded
resource. They are queued in the same SPDY session.
2012-05-19 17:09:40 +09:00
Tatsuhiro Tsujikawa a831938a43 Updated LT version 2012-05-12 21:25:18 +09:00
Tatsuhiro Tsujikawa a7c08e54a0 Bump up version number to 0.2.0 2012-05-12 21:21:49 +09:00
Tatsuhiro Tsujikawa 7b239cc7b0 Packaging fix 2012-04-25 22:27:50 +09:00
Tatsuhiro Tsujikawa 8251fa1315 Made OpenSSL not mandatory. Don't build examples if OpenSSL is not found.
Spdylay library itself does not depend on OpenSSL. The example programs
in examples directory do. Spdylay library should be built without
OpenSSL.
2012-03-29 02:13:33 +09:00
Tatsuhiro Tsujikawa 54fbae7fe0 Check netinet/in.h. Disable AC_FUNC_MALLOC on cross-compiling.
Added AC_CANONICAL_{BUILD,HOST,TARGET}
2012-03-23 23:49:07 +09:00
Tatsuhiro Tsujikawa 72b6c7a1db Moved LT_PREREQ after AC_INIT. Use LT_INIT instead of AC_PROG_LIBTOOL 2012-03-22 00:51:36 +09:00
Tatsuhiro Tsujikawa 07b02404c3 Added API reference generator script.
Formatted the public APIs with Sphinx syntax.
2012-03-14 00:32:52 +09:00
Tatsuhiro Tsujikawa aded9420af Fixed: configure options LIBS and CFLAGS do not work 2012-03-01 23:39:55 +09:00
Tatsuhiro Tsujikawa 4dc3214222 Added example of node.native style spdy server 2012-02-14 23:54:23 +09:00
Tatsuhiro Tsujikawa 23886a788a Add -lncrses to CUNIT_LIBS for Mac OS X build.
We chooses the way to just add -lncurses to CUNIT_LIBS only for Mac OS X.
This is because currently only Mac's cunit requires ncurses and adding
a flag is simpler than erabolate checking.
2012-02-14 21:26:52 +09:00
Tatsuhiro Tsujikawa 6d35f7e470 Added kqueue support in spdyd. 2012-02-10 02:06:46 +09:00
Tatsuhiro Tsujikawa 24aff9ac44 Abstract event polling function in EventPoll. 2012-02-10 00:45:33 +09:00
Tatsuhiro Tsujikawa f1c4427328 Added a check to see whether the installed cunit requires -lncurses 2012-02-09 22:11:30 +09:00
Jim Morrison dd5c770f32 Check for openssl >= 1.0.1. Conditionally compile spdyd based on having epoll 2012-02-08 11:08:27 -08:00
Tatsuhiro Tsujikawa fa312caa06 Check cunit and openssl in configure and set substitute variables. 2012-02-08 23:11:06 +09:00
Jim Morrison 40db6885b7 Automake-zie the examples directory 2012-01-31 11:10:09 -08:00
Tatsuhiro Tsujikawa 1139502675 Removed on_ping_recv_callback. Removed last_ping_time from spdylay_session. 2012-01-31 21:29:46 +09:00
Tatsuhiro Tsujikawa d1c4c59aad Added handling of received PING 2012-01-27 23:05:29 +09:00
Tatsuhiro Tsujikawa 9c8270436f Added header deflate/inflate using zlib. Added send/recv frame. 2012-01-24 22:02:24 +09:00
Tatsuhiro Tsujikawa 1f5bc832f8 Added libtool files 2012-01-18 00:53:12 +09:00