Commit Graph

6642 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa b35f019811 Added callback functions for DATA frames. Fixed unpacking length field. 2012-01-28 03:54:53 +09:00
Tatsuhiro Tsujikawa de57b6efea Sort nv in spdylay_submit_request and spdylay_submit_response 2012-01-28 00:09:01 +09:00
Tatsuhiro Tsujikawa 4c6765e1ed Added doc 2012-01-27 23:43:04 +09:00
Tatsuhiro Tsujikawa d614325024 Fixed compiler warning. Added missing spdylay_session_on_ping_received prototype in header 2012-01-27 23:37:47 +09:00
Tatsuhiro Tsujikawa 8f53343dc3 Renamed spdylay_req_submit and spdylay_reply_submit as spdylay_submit_request and spdylay_submit_response 2012-01-27 23:35:23 +09:00
Tatsuhiro Tsujikawa 9f2f6454f3 Added handling of received RST_STREAM 2012-01-27 23:22:27 +09:00
Tatsuhiro Tsujikawa 0ecf581e63 UNIDIRECTIONAL handling when SYN_REPLY and HEADERS are received. 2012-01-27 23:17:03 +09:00
Tatsuhiro Tsujikawa d1c4c59aad Added handling of received PING 2012-01-27 23:05:29 +09:00
Tatsuhiro Tsujikawa 9461147968 Added pack/unpack of PING 2012-01-27 19:35:05 +09:00
Tatsuhiro Tsujikawa a59c3efedb Added handling when HEADERS is received. 2012-01-27 19:10:13 +09:00
Tatsuhiro Tsujikawa 74673013ae Define constant for nv pair offset. Defined SPDYLAY_PROTO_VERSION. 2012-01-27 18:28:29 +09:00
Tatsuhiro Tsujikawa 1c0ec66a2b Added HEADERS frame. Added SPDYLAY_FRAME_HEAD_LENGTH. 2012-01-27 18:21:14 +09:00
Tatsuhiro Tsujikawa 83b4e245d9 Removed debug output 2012-01-27 17:47:39 +09:00
Tatsuhiro Tsujikawa 29df087ae8 Set FIN bit set in stream when requet DATA frame with FIN bit set is sent. 2012-01-27 17:22:17 +09:00
Tatsuhiro Tsujikawa 7272782f67 Close the stream if SYN_REPLY with FIN bit set is received. 2012-01-27 17:15:24 +09:00
Tatsuhiro Tsujikawa beb509ef39 Check stream before sending SYN_REPLY and DATA. Don't make stream if incoming SYN_STREAM has FIN and UNIDIRECTIONAL set. 2012-01-27 17:09:40 +09:00
Tatsuhiro Tsujikawa 19096a74a3 Fixed copyright year 2012-01-27 01:40:18 +09:00
Tatsuhiro Tsujikawa ddc65c5ca7 Added README.rst 2012-01-27 01:38:35 +09:00
Tatsuhiro Tsujikawa fd802300fa Fixed compiler warning 2012-01-27 01:33:44 +09:00
Tatsuhiro Tsujikawa 8eea63aa30 Added example.
This example program can connect to remote host given in command-line
via SSL and retrieves given path using SPDY protocol.
To build this program, OpenSSL + NPN support is required.
2012-01-27 01:32:05 +09:00
Tatsuhiro Tsujikawa 21e165f1f8 Added spdylay_reply_submit() and DATA frame handling after SYN_REPLY. 2012-01-27 01:17:40 +09:00
Tatsuhiro Tsujikawa f642bb98c7 Added spdylay_map_size() 2012-01-26 02:28:58 +09:00
Tatsuhiro Tsujikawa 6e627548be Added stream status change after sending SYN_STREAM and SYN_REPLY. 2012-01-26 01:04:01 +09:00
Tatsuhiro Tsujikawa 1ce2598758 Fixed bug that causes segmentation fault when erasing key which does not exist in map. 2012-01-26 00:21:31 +09:00
Tatsuhiro Tsujikawa 43c0ef8151 Check that SYN_STREAM pri is stored in stream 2012-01-25 23:56:18 +09:00
Tatsuhiro Tsujikawa 800b362935 Updated doc 2012-01-25 23:55:11 +09:00
Tatsuhiro Tsujikawa 46478c2398 Make sure that pri in SYN_STREAM is 0(highest) to 3(lowest).
Use stream->pri for priority of SYN_REPLY.
2012-01-25 23:52:32 +09:00
Tatsuhiro Tsujikawa cbb8dd6a8c Added pri to spdylay_stream. Refactored SYN_STREAM, SYN_REPLY handling when they are received. 2012-01-25 23:46:07 +09:00
Tatsuhiro Tsujikawa 6629f35a94 Define mask for fields 2012-01-25 21:35:48 +09:00
Tatsuhiro Tsujikawa 3bfe48972c Queue RST_STREAM if invalid stream ID is received in SYN_STREAM or SYN_REPLY.
Fixed bug that Z_DATA_ERROR is not handled.
Fixed bug that spdylay_frame_alloc_pack_nv does not use nv_offset correctly.
2012-01-25 21:31:28 +09:00
Tatsuhiro Tsujikawa fa549aa3a7 Added state and flags to spdylay_stream 2012-01-24 23:18:50 +09:00
Tatsuhiro Tsujikawa 5ececcd8e7 Added test 2012-01-24 23:06:58 +09:00
Tatsuhiro Tsujikawa a52ff39850 Renamed spdylay_session_init as spdylay_session_new. Added session arg to cb.
Now recv_callback and send_callback accepts session argument.
spdylay_session_free was also renamed as spdylay_session_del.
2012-01-24 22:56:26 +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 1330d74b73 Added struct of fixed sized chunk buffers backed by queue 2012-01-20 01:04:13 +09:00
Tatsuhiro Tsujikawa 09e57a1978 Fixed memory leak 2012-01-20 00:00:37 +09:00
Tatsuhiro Tsujikawa 1000998228 Added spdylay_queue 2012-01-19 21:57:26 +09:00
Tatsuhiro Tsujikawa a03afa6a82 Added spdylay_map. Added missing tests/main.c 2012-01-19 21:36:13 +09:00
Tatsuhiro Tsujikawa f7f3472c98 Added extern "C" 2012-01-18 21:36:29 +09:00
Tatsuhiro Tsujikawa 3d7bd0accb Moved spdylay_pq_compar to spdylay_int.h and renamed as spdylay_compar 2012-01-18 21:35:05 +09:00
Tatsuhiro Tsujikawa 0eebf89f35 Added priority queue 2012-01-18 02:10:22 +09:00
Tatsuhiro Tsujikawa 1f5bc832f8 Added libtool files 2012-01-18 00:53:12 +09:00