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
b189e291a9
Added htparse library
...
htparse is written by Mark Ellzey and part of libevhtp.
https://github.com/ellzey/libevhtp
The included code are modified by me for bugfixes.
See my fork:
https://github.com/tatsuhiro-t/libevhtp/tree/master/htparse
2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa
e37ec7b765
Append Via header field. Don't modify Server header field.
2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa
908ec2e695
Made -D option work. Get private key and certificate file from cmd-line
2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa
8e0a1c91a3
Added command-line options
2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa
8da4938031
Listen both on IPv6 and IPv4 if possible
2012-06-07 01:43:02 +09:00
Tatsuhiro Tsujikawa
28ed887463
Don't sleep. Just log the error
2012-06-06 21:44:08 +09:00
Tatsuhiro Tsujikawa
faee23a925
Fixed assertion failure. Resume downstream read on SPDY stream close.
2012-06-06 21:39:55 +09:00
Tatsuhiro Tsujikawa
4ac689526b
Don't modify user-agent
2012-06-06 21:11:54 +09:00
Tatsuhiro Tsujikawa
ac84b68189
Enable SSL partial write
2012-06-06 21:10:13 +09:00
Tatsuhiro Tsujikawa
117a39d35b
Zeroed wev
2012-06-06 02:30:20 +09:00
Tatsuhiro Tsujikawa
71a3a70c02
Handle error when fd runs out
...
The default log level is now WARNING.
2012-06-06 02:23:07 +09:00
Tatsuhiro Tsujikawa
8f1c49e75c
Added multi thread support
2012-06-06 01:26:04 +09:00
Tatsuhiro Tsujikawa
c0b564abe4
Tidied up
2012-06-05 22:55:19 +09:00
Tatsuhiro Tsujikawa
67669bf3ca
Delete downstream if SPDY stream has been already closed
2012-06-05 22:46:47 +09:00
Tatsuhiro Tsujikawa
e8cefa9238
Handle too long upstream request headers
2012-06-05 22:13:22 +09:00
Tatsuhiro Tsujikawa
be1c6bb968
Removed commented send()
2012-06-05 21:25:05 +09:00
Tatsuhiro Tsujikawa
c04c09ff3e
Avoid too large buffering in upstream output.
2012-06-05 03:11:43 +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
08f76b09e3
Aded included <functional> from spdy.h
2012-05-25 21:55:15 +09:00
Tatsuhiro Tsujikawa
80ab232060
Guard include of config.h with HAVE_CONFIG_H
2012-05-19 22:11:51 +09:00
Tatsuhiro Tsujikawa
14f5c463e9
Added missing examples/HtmlParser.{cc,h}
2012-05-19 22:10:07 +09:00
Tatsuhiro Tsujikawa
e2332abc1d
Added -s, --stat option to print statistics
...
Print, for each stream, time delta from SSL/TLS handshake and each
SYN_STREAM. The time deltas are measured after SYN_REPLY received and
all data received.
For example, the following output:
SYN_REPLY: X(Y)
means SYN_REPLY was received X ms after SSL/TLS handshake and Y ms
after the corresponding SYN_STREAM was sent.
2012-05-19 21:54:41 +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
8b8d79eeff
Include text/html in content-type for error status response
2012-05-19 17:01:11 +09:00
Tatsuhiro Tsujikawa
caf592402c
Added -2 option to spdycat
2012-05-12 21:20:19 +09:00
Tatsuhiro Tsujikawa
ca5ccae927
Prefer spdy/3 to spdy/2 in spdyd
2012-05-12 21:19:38 +09:00
Tatsuhiro Tsujikawa
9b22165072
Updated usage output for example programs
2012-05-12 21:13:56 +09:00
Tatsuhiro Tsujikawa
5c187b950f
spdylay_data_source_read_callback can return
...
SPDYLAY_ERR_TEMPORAL_CALLBACK_FAILURE to signal stream error.
2012-05-12 18:19:05 +09:00
Tatsuhiro Tsujikawa
5789f35f5e
Print error message using spdylay_strerror in spdycli
2012-05-11 21:43:37 +09:00
Tatsuhiro Tsujikawa
c1d360469a
Return SPDYLAY_ERR_EOF when SSL_read() returned 0
2012-05-11 21:40:51 +09:00
Tatsuhiro Tsujikawa
b0761a3eba
Don't print "Fatal" if EOF is received and all requests has been responded.
2012-05-11 00:23:52 +09:00
Tatsuhiro Tsujikawa
aba18f4ba7
Return SPDYLAY_ERR_EOF when SSL/TLS or underlying TCP connection is closed.
2012-05-11 00:22:38 +09:00
Tatsuhiro Tsujikawa
aca4269610
Updated help output of spdycat
2012-05-09 23:41:15 +09:00
Tatsuhiro Tsujikawa
f45e68e05b
Added debug output for incoming invalid frames to SpdyServer
2012-05-09 23:35:06 +09:00
Tatsuhiro Tsujikawa
0288bedabb
Renamed FRAME_TOO_LARGE as SPDYLAY_FRAME_TOO_LARGE
2012-05-09 23:29:33 +09:00
Tatsuhiro Tsujikawa
21e85281fa
Added debug output using on_invalid_ctrl_recv_callback to spdycat.
2012-05-09 23:27:44 +09:00
Tatsuhiro Tsujikawa
d377fe0dc6
Added spdylay_strerror() public API.
2012-05-09 23:01:46 +09:00
Tatsuhiro Tsujikawa
c68a0b5e6d
Added spdylay_on_unknown_ctrl_recv_callback.
...
This callback function is invoked when the unknown frame type is received.
Added debug output using this callback to spdycat.
2012-05-09 22:41:08 +09:00
Tatsuhiro Tsujikawa
171bede1fa
Added spdylay_session_on_ctrl_recv_parse_error_callback.
...
This callback function is invoked when the received frame data could not
be parsed correctly.
Added debug output using this callback to spdycat.
2012-05-09 21:55:21 +09:00
Tatsuhiro Tsujikawa
5d1937927c
Added -w, --window-bits option to spdycat.
...
This option sets the initial window size bits.
2012-05-08 21:47:45 +09:00
Tatsuhiro Tsujikawa
c009b1e65c
Call ERR_clear_error() before SSL I/O functions.
2012-05-07 23:22:40 +09:00
Tatsuhiro Tsujikawa
5412ccf129
Renamed spdylay_gzip API. Added test for them.
2012-05-07 22:56:28 +09:00
Jim Morrison
1a384a6000
Move inflate functions to libspdylay from examples.
2012-04-30 12:36:37 -07:00
Tatsuhiro Tsujikawa
bbac4fea8d
Added C SPDY client example
2012-04-28 01:20:56 +09:00
Tatsuhiro Tsujikawa
4d8273a052
In event loop condition, only consider spdylay_session_want_{read,write}.
2012-04-28 01:07:36 +09:00
Tatsuhiro Tsujikawa
fa0ab174e1
Inflate response body if content-encoding: gzip is used.
...
Erase Request from stream2req when stream is closed.
2012-04-24 23:48:05 +09:00
Tatsuhiro Tsujikawa
b8d485d3a2
Added client certificates options (--cert and --key) to spdycat.
...
Added --verify-client option to spdyd.
2012-04-22 23:04:55 +09:00
Jim Morrison
9638dc8b0a
Compress status responses. spdy clients must support gzip decoding.
2012-04-11 13:15:56 -07:00
Jim Morrison
f7d1ca2740
Move timeout checking into the query parameter condition. Copy last_modified date string for file responses.
2012-04-05 11:11:02 -07:00