- 08 Feb, 2012 7 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
https://github.com/sorced-jim/spdylayTatsuhiro Tsujikawa authored
Conflicts: tests/main.c tests/spdylay_session_test.c tests/spdylay_session_test.h
-
Tatsuhiro Tsujikawa authored
We use following algorithm to select protocol: 1. If server's list contains "spdy/2", this function selects "spdy/2" and returns 1. The following steps are not taken. 2. If server's list contains "http/1.1", this function selects "http/1.1" and returns 0. The following step is not taken. 3. This function selects "spdy/2" and returns -1. (So called non-overlap case).
-
- 07 Feb, 2012 13 commits
-
-
Jim Morrison authored
-
Jim Morrison authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
This function invoked when request from remote peer is received. In other words, frame with FIN flag set is received. In HTTP, this means HTTP request, including request body, is fully received.
-
Tatsuhiro Tsujikawa authored
-
- 06 Feb, 2012 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 05 Feb, 2012 3 commits
-
-
Tatsuhiro Tsujikawa authored
If max concurrent streams limit is reached, SYN_STREAM frames are not sent and backed off. If other type of frame is waiting in the tx queue, it is sent first. We introduced another priority queue for this purpose. In this change we did not add code to send RST_STREAM when SYN_STREAM is received but max concurrent stream is reached.
-
Tatsuhiro Tsujikawa authored
If we return negative error code in that function, it means frame will not unpacked and ends up to lose any information the frame contains. The spec says it should send RST_STREAM with PROTOCOL_ERROR, so we need at least stream ID. Therefore, the check should be performed in spdylay_session_on_syn_stream_received().
-
Tatsuhiro Tsujikawa authored
It now always select "spdy/2" as a next protocol regardless whether or not the server advertises it. The NPN draft allows this. Returning integer version number is not flexible because the selected protcol is just a string. The function now returns 0 if the server advertised spdy/2, or -1.
-
- 04 Feb, 2012 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
We use just single buffer to store name/value headers fields, instead of allocating memory for each name/value strings. It is now more than 2 times faster than old one.
-
- 03 Feb, 2012 3 commits
-
-
Tatsuhiro Tsujikawa authored
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.
-
https://github.com/sorced-jim/spdylayTatsuhiro Tsujikawa authored
Conflicts: examples/spdylay_ssl.cc tests/Makefile.am tests/main.c Changes: spdylay_select_next_protocol() returns -1 if it fails. Use cunit without pkg-config because debian does not provide .pc file. Some doc updates to suite my taste. Added spdylay_npn.h
-
Jim Morrison authored
-
- 02 Feb, 2012 4 commits
-
-
Jim Morrison authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Closes all server-pushed streams when original stream is closed by RST_STREAM with CANCEL from client. Fixed spdylay_session_is_my_stream_id()
-
Tatsuhiro Tsujikawa authored
With this function and 3 new member in spdylay_stream, we can track server- pushed streams which associate them to this stream.
-
- 01 Feb, 2012 5 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
We still does not check "url" is in nv.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-