Commit Graph

395 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa a18f04e8c7 Fixed buffer overrun in spdylay_pq_push 2012-05-24 21:35:27 +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 faca4d4443 Updated NEWS for 0.2.1 release 2012-05-20 22:30:51 +09:00
Tatsuhiro Tsujikawa b06fa25ad2 Fixed compile error with -Wshadow. Fixed const cast. 2012-05-20 17:40:29 +09:00
Tatsuhiro Tsujikawa 6f066d7f64 Avoid overflow of spdylay_stream.recv_window_size 2012-05-20 16:13:26 +09:00
Tatsuhiro Tsujikawa b95e9a8c4c Made spdylay_submit_window_update() not be bounded by recv_window_size
Current SPDY/3 spec does not clearly prohibit to send
delta_window_size which makes resulting window size more than initial
window size. For this reason, spdylay_submit_window_update() can send
delta_window_size in [1, (1 << 31)-1], inclusive, without bounded by
stream's recv_window_size. Of course, the application is now
responsible to keep the resulting window size <= (1 << 31)-1.

spdylay_submit_window_update() now returns
SPDYLAY_ERR_INVALID_ARGUMENT if delta_window_size is 0 or negative.
2012-05-20 16:09:57 +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 a1085610cd Updated README.rst 2012-05-19 22:07:51 +09:00
Tatsuhiro Tsujikawa 1f74979629 Include README.rst in manual 2012-05-19 22:05:56 +09:00
Tatsuhiro Tsujikawa 84b94aa6d7 Updated README.rst 2012-05-19 22:05:42 +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 3be09efbde Fixed the bug that erase_rotate_recur() erases parent node. 2012-05-19 00:49:15 +09:00
Tatsuhiro Tsujikawa f96c7f8720 Updated doc 2012-05-16 23:48:27 +09:00
Tatsuhiro Tsujikawa 85182254e7 Updated NEWS for 0.2.0 release 2012-05-13 18:24:09 +09:00
Tatsuhiro Tsujikawa c53e7613c9 Renamed index in spdylay_get_credential_cert prototype to idx
This is because compiler may warn that name `index` shadows global
declaration if the application code uses the prototype argument names
as is.
2012-05-13 17:40:18 +09:00
Tatsuhiro Tsujikawa e778f268de Fixed compiler warning with stricter warning options 2012-05-13 17:38:29 +09:00
Tatsuhiro Tsujikawa d8e7d1a112 Updated Examples section.
Updated program output to the latest version. Mentioned spdycli.
2012-05-13 17:13:36 +09:00
Tatsuhiro Tsujikawa 9ef6e5ef0d Documented how to build html documents 2012-05-13 16:33:30 +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 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 164312d857 Added test for EOF from recv_callback. 2012-05-12 18:32:37 +09:00
Tatsuhiro Tsujikawa 88599228f8 Prefer spdy/3 to spdy/2 in spdylay_select_next_protocol() 2012-05-12 18:23:17 +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 42c0e3c758 Renamed error as error_code in spdylay_on_ctrl_not_send_callback prototype 2012-05-11 23:33:46 +09:00
Tatsuhiro Tsujikawa 93593a76ec spdylay_session_pack_data() now returns error code as specified in the doc. 2012-05-11 23:23:46 +09:00
Tatsuhiro Tsujikawa ef2bd10d94 Check window size is positive when bringing back deferred DATA frame
when WINDOW_UPDATE is received.
2012-05-11 23:02:13 +09:00
Tatsuhiro Tsujikawa 9b619e5dd7 Bring back deferred DATA to the outbound queue when SETTINGS with
INITIAL_WINDOW_SIZE is received and the window size becomes positive.
2012-05-11 23:01:40 +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 3e2dc04264 Fixed the bug that spdylay_recv does not return SPDYLAY_ERR_EOF. 2012-05-11 00:21:36 +09:00
Tatsuhiro Tsujikawa d3a670a924 Updated README.rst 2012-05-09 23:49:11 +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 b371a0ae19 Updated doc 2012-05-09 23:25:31 +09:00
Tatsuhiro Tsujikawa 1158de22a3 Added status_code argument to spdylay_on_invalid_ctrl_recv_callback 2012-05-09 23:10:52 +09:00
Tatsuhiro Tsujikawa 649e62bd33 Updated doc 2012-05-09 23:03:16 +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 b7429e7c2d Added spdylay_submit_window_update() public API. 2012-05-08 23:41:59 +09:00