Commit Graph

1415 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa bfc3b4b95b Updated README.rst 2012-02-15 00:04:16 +09:00
Tatsuhiro Tsujikawa 4dc3214222 Added example of node.native style spdy server 2012-02-14 23:54:23 +09:00
Tatsuhiro Tsujikawa a761d97bed Fixed compiler warning 2012-02-14 23:06:08 +09:00
Tatsuhiro Tsujikawa b507db7c9b Extracted core server code to SpdyServer.{h,cc} for reuse.
Reorganized source entries in examples/Makefile.am
2012-02-14 21:49:22 +09:00
Tatsuhiro Tsujikawa 23886a788a Add -lncrses to CUNIT_LIBS for Mac OS X build.
We chooses the way to just add -lncurses to CUNIT_LIBS only for Mac OS X.
This is because currently only Mac's cunit requires ncurses and adding
a flag is simpler than erabolate checking.
2012-02-14 21:26:52 +09:00
Jim Morrison c5f5ee5832 Ignore spdyd 2012-02-14 21:24:58 +09:00
Tatsuhiro Tsujikawa 97b853254a Fixed the bug that length parameter in on_data_send_callback includes header length. 2012-02-14 01:42:00 +09:00
Tatsuhiro Tsujikawa 7abf48f061 Fixed typo 2012-02-13 01:41:35 +09:00
Tatsuhiro Tsujikawa 81307745c4 Made spdylay_outbound_item_compar() static 2012-02-13 00:48:03 +09:00
Tatsuhiro Tsujikawa a48ad800b2 When a stream is canceled by RST_STREAM, don't send further DATA on that stream. 2012-02-12 19:01:23 +09:00
Tatsuhiro Tsujikawa 028e1f2b8f Added test case where DATA frame is backed off by higher priority frame. 2012-02-12 18:30:19 +09:00
Tatsuhiro Tsujikawa 9e3191a548 Updated doc 2012-02-12 17:43:50 +09:00
Tatsuhiro Tsujikawa a4961a95bd Moved spdylay_submit_* functions to spdylay_submit.c 2012-02-12 17:41:55 +09:00
Tatsuhiro Tsujikawa 6f0fb62043 Made session_id_seed global 2012-02-12 00:11:52 +09:00
Jim Morrison 69dc06f2fb Ignore spdyd 2012-02-09 11:32:07 -08:00
Jim Morrison 553410c350 Make the ncurses check a runtime check 2012-02-09 10:54:47 -08:00
Tatsuhiro Tsujikawa fee4a205a6 Updated README.rst 2012-02-10 02:29:41 +09:00
Tatsuhiro Tsujikawa f11c2a94b4 Listen both IPv4 and IPv6 sockets. 2012-02-10 02:27:56 +09:00
Tatsuhiro Tsujikawa 6d35f7e470 Added kqueue support in spdyd. 2012-02-10 02:06:46 +09:00
Tatsuhiro Tsujikawa bc8b7212b2 Added missing source files in dist 2012-02-10 01:11:13 +09:00
Tatsuhiro Tsujikawa 24aff9ac44 Abstract event polling function in EventPoll. 2012-02-10 00:45:33 +09:00
Tatsuhiro Tsujikawa ad50b75d75 Fixed compiler warning 2012-02-09 22:48:33 +09:00
Tatsuhiro Tsujikawa 8fac259285 For non-overlap case, made out and outlen left untouched 2012-02-09 22:46:26 +09:00
Tatsuhiro Tsujikawa f1c4427328 Added a check to see whether the installed cunit requires -lncurses 2012-02-09 22:11:30 +09:00
Tatsuhiro Tsujikawa 61dc691385 Merge branch 'master' of github.com:tatsuhiro-t/spdylay 2012-02-09 21:31:24 +09:00
Tatsuhiro Tsujikawa aee42d14ab Merge pull request #8 from sorced-jim/master
Minor configure updates to make things compile on OSX with openssl 1.0.0 already installed on the system
2012-02-09 04:30:59 -08:00
Jim Morrison dd5c770f32 Check for openssl >= 1.0.1. Conditionally compile spdyd based on having epoll 2012-02-08 11:08:27 -08:00
Tatsuhiro Tsujikawa 4f5c6b60ef Ignore control frame other than SYN_STREAM if version != SPDYLAY_PROTO_VERSION 2012-02-09 00:27:22 +09:00
Tatsuhiro Tsujikawa d7e58b5cab Updated doc 2012-02-08 23:51:52 +09:00
Tatsuhiro Tsujikawa 34f0f6be1b Refuse incoming SYN_STREAM with SPDYLAY_REFUSED_STREAM if max-concurrent-streams number is reached. 2012-02-08 23:45:48 +09:00
Tatsuhiro Tsujikawa fa312caa06 Check cunit and openssl in configure and set substitute variables. 2012-02-08 23:11:06 +09:00
Tatsuhiro Tsujikawa 580a2b1b1e Updated doc 2012-02-08 22:34:48 +09:00
Tatsuhiro Tsujikawa 2c5c60b752 Updated according to spdylay_select_next_protocol change 2012-02-08 21:52:44 +09:00
Tatsuhiro Tsujikawa 14ac6f8ca8 Fixed 16bit int overflow 2012-02-08 21:50:16 +09:00
Tatsuhiro Tsujikawa 656a4b6e72 Fixed compiler warning 2012-02-08 21:49:15 +09:00
Tatsuhiro Tsujikawa 887850e2f0 Use explicit name for variables to check callback function was called. 2012-02-08 21:46:29 +09:00
Tatsuhiro Tsujikawa 679159878f Merge branch 'master' of https://github.com/sorced-jim/spdylay into sorced-jim-master
Conflicts:
	tests/main.c
	tests/spdylay_session_test.c
	tests/spdylay_session_test.h
2012-02-08 21:37:44 +09:00
Tatsuhiro Tsujikawa b8700259fd Changed behaviour of spdylay_select_next_protocol()
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).
2012-02-08 21:20:50 +09:00
Jim Morrison 4298dc8a51 Erase the stream from the map after calling the on_stream_close callback 2012-02-07 14:17:38 -08:00
Jim Morrison 4ebfa021ba Use pkg-config to get the cunit library. 2012-02-07 14:16:55 -08:00
Tatsuhiro Tsujikawa c07f780e52 Fixed typo 2012-02-08 04:02:26 +09:00
Tatsuhiro Tsujikawa 6ac7433a5e Added -D option. Fixed segmentation fault when -d is used. Fixed memory leak. 2012-02-08 02:57:19 +09:00
Tatsuhiro Tsujikawa 0e56709a24 Updated README.rst 2012-02-08 02:13:01 +09:00
Tatsuhiro Tsujikawa fd0e91b082 Set TCP_NODELAY in spdycat 2012-02-08 01:54:44 +09:00
Tatsuhiro Tsujikawa dfce262fe5 Added non-blocking SPDY server spdyd. It only handles static contents. 2012-02-08 01:54:13 +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 6904ccc023 Removed unused debug function 2012-02-08 01:28:59 +09:00
Tatsuhiro Tsujikawa 154b02c464 Set max outbound DATA frame length to 8+4KiB 2012-02-08 01:28:00 +09:00
Tatsuhiro Tsujikawa 59329b0070 Set buffer size of inbound frames to 16KiB. 2012-02-08 01:25:26 +09:00
Tatsuhiro Tsujikawa 4630dfb4fe Added spdylay_on_request_recv_callback function.
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.
2012-02-08 00:11:44 +09:00