Jim Morrison
f404142b17
Revert the asynchronous SSL_connect.
2012-02-20 13:15:02 -08:00
Jim Morrison
6e7025b9f5
Test that FLAG_FIN is set if the read callback is NULL.
2012-02-20 13:12:13 -08:00
Tatsuhiro Tsujikawa
8069575838
Enclose host in [] if host is IPv6 literal address.
2012-02-15 00:14:27 +09:00
Tatsuhiro Tsujikawa
fd0e91b082
Set TCP_NODELAY in spdycat
2012-02-08 01:54:44 +09:00
Tatsuhiro Tsujikawa
3bfe0553d1
Call both Spdylay::recv and Spdylay::send on either POLLIN or POLLOUT
2012-02-08 01:33:55 +09:00
Tatsuhiro Tsujikawa
1f72165549
Added stream_user_data arg to spdylay_submit_request() to identify stream ID later easily.
...
Specified stream_user_data_arg can be retrieved by
spdylay_session_get_stream_user_data() function. The application code can use
this function insde spdylay_on_ctrl_send_callback() and identify stream ID
for the request associated by the stream_user_data.
The sample usage is in examples/spdycat.cc.
2012-02-04 01:37:21 +09:00
Tatsuhiro Tsujikawa
45376c6b11
spdycat: Added host header field to SYN_STREAM.
2012-02-01 21:47:25 +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
d3a3dc5943
Added proper command-line option support using getopt_long.
...
Now -nvh option works.
2012-01-31 00:46:46 +09:00
Tatsuhiro Tsujikawa
0b57f01009
Rewritten spdycl as spdycat.
2012-01-30 00:34:10 +09:00