Tatsuhiro Tsujikawa
0236d0d2df
Print details for SETTINGS, RST_STREAM, HEADERS.
2012-02-01 01:16:35 +09:00
Tatsuhiro Tsujikawa
24eb3a3b36
SETTINGS ID is little endian in wire format despite the fact that spec/2 says it is network byte order.
2012-02-01 01:13:17 +09:00
Tatsuhiro Tsujikawa
f429cc45cb
Added SETTINGS send/recv. Added missing RST_STREAM send.
2012-02-01 01:12:26 +09:00
Tatsuhiro Tsujikawa
0b75800c23
Added SETTINGS frame and its pack/unpack functions.
2012-02-01 00:26:26 +09:00
Tatsuhiro Tsujikawa
49096387c3
Added seq sort key in ob_pq to preserve the queueing order if priorit is the same.
2012-01-31 22:48:09 +09:00
Tatsuhiro Tsujikawa
4e192493ab
Use gettimeofday instead of clock_gettime and use poll instead of epoll for portability.
2012-01-31 22:04:51 +09:00
Tatsuhiro Tsujikawa
9785b99959
Suppress warnings in test code
2012-01-31 21:38:40 +09:00
Tatsuhiro Tsujikawa
afbade9e79
Fixed test error
2012-01-31 21:34:42 +09:00
Tatsuhiro Tsujikawa
b87eb8987e
Fixed compile error with gcc-4.4
2012-01-31 21:32:46 +09:00
Tatsuhiro Tsujikawa
1139502675
Removed on_ping_recv_callback. Removed last_ping_time from spdylay_session.
2012-01-31 21:29:46 +09:00
Tatsuhiro Tsujikawa
e0526aac9a
Merge pull request #3 from sorced-jim/master
...
Include sys/types.h for ssize_t
2012-01-31 04:22:22 -08:00
Jim Morrison
732f1cf21f
Include sys/types.h
2012-01-30 17:11:14 -08:00
Tatsuhiro Tsujikawa
826cd6a5e7
Updated doc
2012-01-31 00:51:06 +09:00
Tatsuhiro Tsujikawa
d3a3dc5943
Added proper command-line option support using getopt_long.
...
Now -nvh option works.
2012-01-31 00:46:46 +09:00
Tatsuhiro Tsujikawa
856d230595
The response DATA frame is now queued after SYN_STREAM/SYN_REPLY has been sent.
...
This is because our priority queue implementation does not have stable sort
property, so queueing SYN_STREAM, DATA in this order does not necessarily
mean SYN_STREAM will be sent first.
2012-01-30 23:55:00 +09:00
Tatsuhiro Tsujikawa
e5dc14e20c
Use CLOCK_MONOTONIC_RAW
2012-01-30 22:52:56 +09:00
Tatsuhiro Tsujikawa
e6506b4206
Updated README
2012-01-30 00:39:32 +09:00
Tatsuhiro Tsujikawa
641443f6c5
Added Makefile for examples
2012-01-30 00:35:33 +09:00
Tatsuhiro Tsujikawa
0b57f01009
Rewritten spdycl as spdycat.
2012-01-30 00:34:10 +09:00
Tatsuhiro Tsujikawa
6e12291ae1
Added spdylay_on_stream_close_callback
2012-01-29 23:00:33 +09:00
Tatsuhiro Tsujikawa
bf1be4850e
spdylay_submit_request: Fixed segmentation fault if data_prd is NULL
2012-01-29 19:15:59 +09:00
Tatsuhiro Tsujikawa
3d4cf8aec3
Added data_prd arugment to spdylay_submit_request() and supported POST request.
2012-01-29 19:07:31 +09:00
Tatsuhiro Tsujikawa
c6a0fd06c1
Added doc
2012-01-29 17:07:13 +09:00
Tatsuhiro Tsujikawa
925078c199
Added handling of EOF from recv_callback
2012-01-29 16:46:18 +09:00
Tatsuhiro Tsujikawa
06dae79b28
Discard inbound HEADERS and DATA in CLOSING state. Handle stream shutdown when DATA is received with FIN bit set.
2012-01-29 16:27:00 +09:00
Tatsuhiro Tsujikawa
e212eea08a
Don't send GOAWAY when it is received from peer. Fixed want_read, want_write.
2012-01-29 15:11:10 +09:00
Tatsuhiro Tsujikawa
ebd3dc9dcc
Fixed bug that unique_id is not incremented by 2.
2012-01-29 02:00:03 +09:00
Tatsuhiro Tsujikawa
82bcf78ec1
Fixed HFILES entries
2012-01-29 00:25:02 +09:00
Tatsuhiro Tsujikawa
8afb91bae8
Added public API headers for distribution
2012-01-29 00:22:50 +09:00
Tatsuhiro Tsujikawa
580638c482
Made spdylay_session_open_stream return a pointer to created spdylay_stream.
2012-01-29 00:16:51 +09:00
Tatsuhiro Tsujikawa
971e46f563
More explicit handling of shutdown status of read and write in each stream.
2012-01-29 00:08:51 +09:00
Tatsuhiro Tsujikawa
e7489503b8
Check protocol version. Check incoming DATA frame's stream ID.
2012-01-28 22:46:12 +09:00
Tatsuhiro Tsujikawa
5fdadc4806
Flush after printf(). Added user-agent. Add cond (want_read and want_write) to event-loop
2012-01-28 19:44:42 +09:00
Tatsuhiro Tsujikawa
31aff01697
Added spdylay_submit_goaway()
2012-01-28 19:35:51 +09:00
Tatsuhiro Tsujikawa
aed626bfa5
Added GOAWAY handling
2012-01-28 19:22:38 +09:00
Tatsuhiro Tsujikawa
cb58e6e893
Added NOOP handling
2012-01-28 17:29:22 +09:00
Tatsuhiro Tsujikawa
27e1bcab9e
Added spdylay_before_ctrl_send_callback
2012-01-28 17:25:14 +09:00
Tatsuhiro Tsujikawa
7016fe1b75
Updated README
2012-01-28 04:31:23 +09:00
Tatsuhiro Tsujikawa
af4e977d6b
Updated according to API changes
2012-01-28 04:30:23 +09:00
Tatsuhiro Tsujikawa
a657208ffd
Added spdylay_on_{ctrl,data}_sent_callback functions
2012-01-28 04:28:39 +09:00
Tatsuhiro Tsujikawa
1ce97c7d5e
Reorder arguments of spdylay_on_data*_recv_callback
2012-01-28 04:20:19 +09:00
Tatsuhiro Tsujikawa
be9e4e36e8
Updated README
2012-01-28 04:05:07 +09:00
Tatsuhiro Tsujikawa
33c62b90c6
Added check for unpacked ctrl header
2012-01-28 04:01:16 +09:00
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