Commit Graph

219 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa 67d4cb6367 examples: Log disconnected in delete_http2_session_data 2014-01-18 01:17:09 +09:00
Tatsuhiro Tsujikawa 2cc28863e9 examples: Fix crash if port is not in request URI 2014-01-18 01:13:04 +09:00
Tatsuhiro Tsujikawa 0b14319675 doc, examples: Update tutorial and examples 2014-01-18 00:06:24 +09:00
Tatsuhiro Tsujikawa 37d41313d3 examples: Fix build failure with android NDK 2014-01-12 21:43:55 +09:00
Tatsuhiro Tsujikawa a47abdba9b Update .gitignore 2014-01-11 01:05:42 +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 46b3a7e1b3 examples: Remove EXTRA_DIST 2014-01-11 00:22:23 +09:00
MATSUMOTO Ryosuke 87f4f1d4f5 Fix :host header bug 2013-12-31 20:51:34 +09:00
Tatsuhiro Tsujikawa a94fb43bb9 examples: Code cleanup, cut request path after '?' 2013-12-26 21:45:29 +09:00
Tatsuhiro Tsujikawa 9cb8754d09 Rename nghttp2_session_fail_session as nghttp2_session_terminate_session 2013-12-26 00:23:07 +09:00
Tatsuhiro Tsujikawa 286345a2ef examples/libevent-client.c: Fix memory leak, use nghttp2_session_fail_session 2013-12-25 00:29:36 +09:00
Tatsuhiro Tsujikawa 946d3150ba examples: Add minimum error handling for API functions 2013-12-24 21:30:49 +09:00
Tatsuhiro Tsujikawa 9fc9ef9a40 examples: Refactor a bit 2013-12-24 19:55:26 +09:00
Tatsuhiro Tsujikawa 0fb7e430d7 examples: Set TCP_NODELAY option 2013-12-24 00:01:44 +09:00
Tatsuhiro Tsujikawa 4e01ed1a95 examples: Add libevent-server.c 2013-12-23 23:49:30 +09:00
Tatsuhiro Tsujikawa e04e6ccdf9 examples: Remove false README.rst 2013-12-22 19:28:26 +09:00
Tatsuhiro Tsujikawa dcfd9b22fc examples: Add libevent-client, requires libevent for examples 2013-12-22 19:26:32 +09:00
Tatsuhiro Tsujikawa 6c77cec270 Remove nghttp2_submit_* API functions which has char **nv parameter
The nghttp2_submit_{request,response}2 functions are renamed as
nghttp2_submit_{request, response}.
2013-12-08 21:39:43 +09:00
Tatsuhiro Tsujikawa 6ea91e57e0 Adjust struct/class alignment 2013-12-06 23:17:38 +09:00
Tatsuhiro Tsujikawa 896db5b24f API change: Add flags parameter to all submit_* functions
The nghttp2_submit_{request,response} family do not get this change.
2013-10-25 22:50:24 +09:00
Tatsuhiro Tsujikawa 588fd3bda7 src, examples: Update .gitignore 2013-09-08 15:33:17 +09:00
Tatsuhiro Tsujikawa d960cf8953 Add const to read-only nghttp2_frame* parameter in callbacks 2013-09-03 21:24:14 +09:00
Tatsuhiro Tsujikawa 27c0f76afb examples: Remove unused source files 2013-09-02 22:55:37 +09:00
Tatsuhiro Tsujikawa 666ab068ff examples: Rewrite client example 2013-09-02 22:55:37 +09:00
Tatsuhiro Tsujikawa 0edce70343 Rebranding nghttp2 2013-07-13 00:43:06 +09:00
Tatsuhiro Tsujikawa ba8bc5cae7 spdycli: Fix missing last by with IPv6 addr and check argc 2013-02-14 21:15:41 +09:00
Tatsuhiro Tsujikawa 50bff9e647 spdycli: Handle error return from connect_to() 2013-01-25 22:58:07 +09:00
Tatsuhiro Tsujikawa 4d0db62f1d examples: Remove unused htparse 2012-12-08 00:38:53 +09:00
Tatsuhiro Tsujikawa a28e1c6e7d Add src/.gitignore and edit examples/.gitignore 2012-10-06 00:01:13 +09:00
Tatsuhiro Tsujikawa e69947a054 Removed trailing spaces 2012-10-01 21:51:24 +09:00
Tatsuhiro Tsujikawa 3acfae37bb examples: Add README 2012-09-10 22:45:33 +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 5634c7ffdc shrpx: Ignore response body if HTTP status code is 1xx, 204 or 304 2012-09-09 17:45:06 +09:00
Tatsuhiro Tsujikawa bafcbfde88 Remove unused zlib.h header file from spdylay.h 2012-08-22 00:14:02 +09:00
Tatsuhiro Tsujikawa 0be5ac6ffb spdycat: use locale-free strieq instead strcasecmp 2012-08-21 23:22:33 +09:00
Tatsuhiro Tsujikawa cdded94305 spdycat: wrap line longer than 79 chars 2012-08-21 22:02:35 +09:00
Tatsuhiro Tsujikawa ccf225641e spdycat: disallow empty header name with -H 2012-08-21 21:39:33 +09:00
Stephen Ludin 2266b102e3 Adding arbitrary headers form the command line 2012-08-21 21:28:06 +09:00
Tatsuhiro Tsujikawa a69b61c40c shrpx: add --ciphers option to specify allowed cipher list 2012-08-20 21:50:03 +09:00
Tatsuhiro Tsujikawa fce4be9555 shrpx: Change default values of -f and -b option
-f now defaults to 0.0.0.0,3000. -b now defaults to 127.0.0.1,80.
2012-08-03 22:20:59 +09:00
Tatsuhiro Tsujikawa 0b3eca7d40 shrpx: Fix netbsd compile warning 2012-08-02 02:07:51 +09:00
Tatsuhiro Tsujikawa fd9f5991f5 shrpx: Fill initial values for flags 2012-08-02 01:32:33 +09:00
Tatsuhiro Tsujikawa 4623413a99 shrpx: Added --backlog option 2012-08-02 01:28:59 +09:00
Tatsuhiro Tsujikawa 0c10528ca3 shrpx: Add syslog support 2012-08-02 01:20:18 +09:00
Tatsuhiro Tsujikawa 7962c1bf6c shrpx: drop root priviledgs after loading private key 2012-08-02 00:29:37 +09:00
Tatsuhiro Tsujikawa 75c9840644 shrpx:: Use LOG() instead of std::cerr 2012-08-02 00:26:24 +09:00
Tatsuhiro Tsujikawa 1dd61d5973 shrpx: Support configuration file
By default, configuration file is /etc/shrpx/shrpx.conf.  It can be
overridden using --conf option. See shrpx.conf.sample to know how to
write shrpx.conf. The configurations given in shrpx.conf will be
overridden by the options specified in cmmand-line.
2012-08-02 00:06:41 +09:00
Tatsuhiro Tsujikawa f3587e1591 shrpx: Added --pid-file and --user option
--pid-file option saves PID to the specified file.  user option is
--used to drop root privileges.
2012-08-01 01:55:31 +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 51c4f4f5b0 shrpx: Added --frontend-spdy-window-bits option 2012-07-26 23:18:37 +09:00