1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-12-22 23:58:53 -05:00
Commit Graph

253 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
11020146f5 Added on_ctrl_not_send_callback.
This callback function is invoked after the control frame
is not sent because of the error. The error is indicated by
the error argument, which is one of the values defined in spdylay_error.
2012-03-08 00:18:18 +09:00
Tatsuhiro Tsujikawa
185d929d86 Translate received SPDY/2 name/value pairs into SPDY/3 style.
The callback functions receives SPDY/3 style name/value pairs.
2012-03-07 00:42:47 +09:00
Tatsuhiro Tsujikawa
00abfc8dd3 Always accept SPDY/3 style name/value pairs from spdylay_submit_* and
translate them into SPDY/2 as needed.
2012-03-07 00:38:27 +09:00
Tatsuhiro Tsujikawa
7d9a7b3069 Don't return on partial write 2012-03-06 23:43:45 +09:00
Tatsuhiro Tsujikawa
e2658ca757 Added doc about callback time chart and about how to get stream ID
of the request submitted by spdylay_submit_request().
2012-03-06 23:00:17 +09:00
Tatsuhiro Tsujikawa
fabfc0b239 Merge pull request #13 from sorced-jim/master
spdycat should fail for failed requests
2012-03-05 05:32:44 -08:00
Jim Morrison
541b6e9bce Ensure that date and content length strings are still valid when they are put into the name values list. 2012-03-02 14:30:35 -08:00
Jim Morrison
ac7b87c7a5 Check Return non-zero for failed spdy requests. 2012-03-02 10:59:07 -08:00
Tatsuhiro Tsujikawa
8fd2fabef8 Made spdylay_select_next_protocol() return SPDY protocol version if one of
SPDY versions is selected.
2012-03-02 22:52:01 +09:00
Tatsuhiro Tsujikawa
4bb3c9370d Make examples before tests 2012-03-02 22:40:50 +09:00
Jim Morrison
cee79961f6 Update documentation for spdylay_select_next_protocol. 2012-03-01 13:26:51 -08:00
Jim Morrison
4e085a21ea Verify that the expected version of spdy is used. 2012-03-01 12:41:24 -08:00
Jim Morrison
3b1b4a6ca0 Add a test for spdy version 3. 2012-03-01 12:09:31 -08:00
Jim Morrison
9c50bd4c29 Add a simple test between spdycat and spdyd. 2012-03-01 12:04:16 -08:00
Jim Morrison
097f59e3d3 Fix tests build when building outside the source tree. 2012-03-01 11:07:39 -08:00
Tatsuhiro Tsujikawa
e29bb449e9 Exposed spdylay_frame_alloc_{pack,unpack}_nv for easy performance test 2012-03-01 23:52:15 +09:00
Tatsuhiro Tsujikawa
aded9420af Fixed: configure options LIBS and CFLAGS do not work 2012-03-01 23:39:55 +09:00
Tatsuhiro Tsujikawa
7bea01d0ce Fixed use of uninitialized deflater 2012-03-01 22:40:09 +09:00
Tatsuhiro Tsujikawa
a9d9126229 Assign 0 to GOAWAY status_code for SPDY/2 2012-03-01 22:39:26 +09:00
Tatsuhiro Tsujikawa
abfc100edb Added convenient function spdylay_frame_nv_norm_copy() 2012-02-28 23:38:40 +09:00
Tatsuhiro Tsujikawa
e79de111a4 Added spdylay_submit_syn_reply 2012-02-28 23:27:10 +09:00
Tatsuhiro Tsujikawa
9185629604 Fixed memory leak 2012-02-28 23:25:44 +09:00
Tatsuhiro Tsujikawa
7b3a6a2e8b Updated doc. 2012-02-28 23:14:32 +09:00
Tatsuhiro Tsujikawa
3ed2ab2451 Code cleanup 2012-02-28 21:42:31 +09:00
Tatsuhiro Tsujikawa
a452893068 Fixed the potential dead lock in flow control. 2012-02-28 21:40:19 +09:00
Tatsuhiro Tsujikawa
3d1b411895 Added test for negative window_size case 2012-02-27 23:24:17 +09:00
Tatsuhiro Tsujikawa
2b78586862 Updated README.rst 2012-02-26 18:25:59 +09:00
Tatsuhiro Tsujikawa
ae0bac563e Added -3, --spdy3 option to spdycat. 2012-02-26 18:13:56 +09:00
Tatsuhiro Tsujikawa
036efc1018 Separated SPDY2 and SPDY3 tests to ease debugging 2012-02-26 16:33:53 +09:00
Tatsuhiro Tsujikawa
d5cc71c636 Added status_code handling to GOAWAY 2012-02-26 16:26:38 +09:00
Tatsuhiro Tsujikawa
88cd97843f Fixed GOAWAY length in SPDY/3 2012-02-26 01:48:18 +09:00
Tatsuhiro Tsujikawa
c6c3cbce46 Updated README.rst 2012-02-26 01:34:07 +09:00
Tatsuhiro Tsujikawa
70ebf673fc Added experimental spdy/3 support to spdyd, spdynative and spdycat 2012-02-26 01:31:45 +09:00
Tatsuhiro Tsujikawa
0a723aa10f Added spdylay_npn_get_version() 2012-02-26 01:30:41 +09:00
Tatsuhiro Tsujikawa
8693874340 Added SPDY/3 flow control. 2012-02-26 00:12:32 +09:00
Tatsuhiro Tsujikawa
4e62c75b02 Added function to pack and unpack WINDOW_UPDATE frame. 2012-02-25 01:47:37 +09:00
Tatsuhiro Tsujikawa
895562a15b Fixed uninitialized return value in spdylay_session_new() 2012-02-25 01:41:02 +09:00
Tatsuhiro Tsujikawa
847830f132 Added ability to pack/unpack SPDY/3 frames.
Added SPDY/3 zlib dictionary from draft-mbelshe-httpbis-spdy-00.
2012-02-25 01:17:03 +09:00
Tatsuhiro Tsujikawa
995ccbc8e5 Added version argument to spdylay_frame_*_init. Added version member to
spdylay_session.
2012-02-24 23:33:06 +09:00
Tatsuhiro Tsujikawa
7652d3f4ca Added support for 4 bytes length in name/value pair. 2012-02-24 23:05:49 +09:00
Tatsuhiro Tsujikawa
cf7da38598 Define flags separately for control and data frames. 2012-02-24 21:40:13 +09:00
Tatsuhiro Tsujikawa
946e6f41af Updated doc 2012-02-24 00:05:45 +09:00
Tatsuhiro Tsujikawa
9dbec4f2bf Small refactoring 2012-02-24 00:04:35 +09:00
Tatsuhiro Tsujikawa
769150d5f7 Added spdylay_submit_headers function. 2012-02-24 00:02:29 +09:00
Tatsuhiro Tsujikawa
e182308cb7 Fixed assoc_stream_id type. 2012-02-23 23:28:46 +09:00
Tatsuhiro Tsujikawa
75bdfbf256 Made data_prd argument const. 2012-02-23 23:22:58 +09:00
Tatsuhiro Tsujikawa
9e9e281bca Added spdylay_submit_syn_stream function. 2012-02-23 23:20:05 +09:00
Tatsuhiro Tsujikawa
a1d2325a5e Assert where FATAL error is expected. Don't return arbitrary error code from
user callback. Updated doc.
2012-02-23 22:49:08 +09:00
Tatsuhiro Tsujikawa
5408a21ce9 Merged spdylay_session_pack_data_overwrite() into spdylay_session_pack_data().
spdylay_session_pack_data() now takes the maximum length of DATA payload.
2012-02-22 23:58:33 +09:00
Tatsuhiro Tsujikawa
05627f7712 Updated doc 2012-02-22 23:39:30 +09:00