1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-11-05 00:55:07 -05:00
Commit Graph

637 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
aa64a7f7f5 Don't send response-body for 304 response 2012-11-18 21:22:08 +09:00
Tatsuhiro Tsujikawa
d81827c073 Update GOAWAY INTERNAL_ERROR value according to SPDY/3 spec change 2012-11-14 21:17:04 +09:00
Tatsuhiro Tsujikawa
4748443899 shrpx: Log detailed error description in SSL code 2012-11-14 21:14:11 +09:00
Tatsuhiro Tsujikawa
8a2020362d tests: Use traditional C-style comments 2012-11-14 21:00:36 +09:00
Raul Gutierrez Segales
6f6f6ffc41 [shrpx] fix password handling for certs keys
We should only call daemon() after ListenHandler is
instantiated, where  SSL_CTX_use_PrivateKey_file is called,
otherwise we have no stdin/stdout to get the password for
keyfile.
2012-10-27 22:29:27 -07:00
Raul Gutierrez Segales
45f302f363 fedora: add spec file
We should probably make this spec file a template and integrate
it with our build process (make package?). Will follow-up with
that eventually.
2012-10-27 14:54:06 -07:00
Tatsuhiro Tsujikawa
fdc19550fc spdyd: Open file with O_BINARY flag 2012-10-16 22:57:26 +09:00
Tatsuhiro Tsujikawa
22840dbfaf spdycat: Handle timeout in connect and SSL/TLS handshake 2012-10-14 23:39:41 +09:00
Tatsuhiro Tsujikawa
a28e1c6e7d Add src/.gitignore and edit examples/.gitignore 2012-10-06 00:01:13 +09:00
Tatsuhiro Tsujikawa
2ea0c1c1b0 Add missing url_parser.c 2012-10-05 23:56:26 +09:00
Tatsuhiro Tsujikawa
46e7da2166 Get rid of flags member in spdylay_map 2012-10-05 23:41:49 +09:00
Tatsuhiro Tsujikawa
24e932dfa2 Iterative treap implementation
This change implements spdylay_map functions in iterative approach
instead of original recursive approach. The iterative version is
overall faster than recursive one. The traversal function
(spdylay_map_each) is slightly slower but it is not noticeable.
2012-10-05 00:46:03 +09:00
Tatsuhiro Tsujikawa
9378b74fc3 spdycat: Rewritten time_delta 2012-10-04 23:54:39 +09:00
Tatsuhiro Tsujikawa
53b7b0eda9 Bump up version number to 0.3.7-DEV 2012-10-02 23:04:41 +09:00
Tatsuhiro Tsujikawa
38cc7f06e6 Updated NEWS 2012-10-02 21:45:52 +09:00
Tatsuhiro Tsujikawa
6336524b6f Updated NEWS for 0.3.6 release 2012-10-01 23:07:19 +09:00
Tatsuhiro Tsujikawa
4db9dca183 Bump up version number to 0.3.6. Bump up LT version to 4:0:3 2012-10-01 23:01:56 +09:00
Tatsuhiro Tsujikawa
c0577602d1 shrpx: Made SPDY/3 default protocol in SPDY proxy mode
The reason why we choose SPDY/2 as default for SPDY prxy was due to
Chrome's window update bug. Now its fix is available in Chrome stable,
we make SPDY/3 as default.
2012-10-01 23:01:44 +09:00
Tatsuhiro Tsujikawa
e69947a054 Removed trailing spaces 2012-10-01 21:51:24 +09:00
Tatsuhiro Tsujikawa
9d6257a4cc spdycat: Just return in check_response_header if stream_user_data is NULL
We cannot use assert(stream_user_data) because server-pushed stream
does not have stream_user_data.
2012-09-22 16:07:49 +09:00
Tatsuhiro Tsujikawa
00172f827a spdycat: Add missing break after handling -H option 2012-09-22 16:05:20 +09:00
Tatsuhiro Tsujikawa
0409c76b45 Fix bug that $withval is used where $enableval should be used 2012-09-22 15:44:42 +09:00
Tatsuhiro Tsujikawa
abf2ddc3a6 shrpx: Use request HTTP version in HTTPS upstream response 2012-09-20 22:36:17 +09:00
Tatsuhiro Tsujikawa
5597ee68da shrpx: Use raw pointer for downstream instead of deque 2012-09-20 22:28:40 +09:00
Tatsuhiro Tsujikawa
c78e0ca055 shrpx: Log when SPDY stream is closed 2012-09-15 17:27:20 +09:00
Tatsuhiro Tsujikawa
7f481e42b0 shrpx: Add more spdylay callback
The on_ctrl_not_send_callback, on_ctrl_recv_parse_error_callback and
on_unknown_ctrl_recv_callback were added. The latter 2 callbacks are
purely debugging purpose.  In on_ctrl_not_send_callback, If sending
SYN_REPLY failed, issue RST_STREAM to avoid a stream hanging around.
2012-09-15 17:19:58 +09:00
Tatsuhiro Tsujikawa
58619a4f97 Enable name/value header compression on server side 2012-09-15 00:47:17 +09:00
Tatsuhiro Tsujikawa
088e4f15a2 Check frame length after packing a frame
If resultant length of a frame exceeds the maximum value (which is
2**24 - 1 for SPDY/2 and 3), SPDYLAY_ERR_FRAME_TOO_LARGE is used to
indicate this error. This error will be notified by
on_ctrl_not_send_callback.
2012-09-14 22:41:55 +09:00
Tatsuhiro Tsujikawa
744f35e7ea Disable header compression for now 2012-09-14 21:43:41 +09:00
Tatsuhiro Tsujikawa
a377907405 Updated for 0.3.5 release 2012-09-13 23:23:07 +09:00
Tatsuhiro Tsujikawa
69ed2258ad Bump up version number to 0.3.5. Bump up LT revision to 3.1.2 2012-09-13 23:19:02 +09:00
Tatsuhiro Tsujikawa
a4c7f17aa2 python: Escape '\' in server example code 2012-09-13 23:10:47 +09:00
Tatsuhiro Tsujikawa
d1456a8136 Bump up version number to 0.3.4 2012-09-13 22:43:59 +09:00
Tatsuhiro Tsujikawa
050fa0cb2e Updated for 0.3.4 release 2012-09-13 22:43:32 +09:00
Tatsuhiro Tsujikawa
436b201d6f shrpx: Check request_connection_close_ when deciding closing connection
When deciding whether to close the client connection, check
request_connection_close_ of Downstream in addition of
response_connection_close_. Also we only add "Connection: Keep-Alive"
header to the HTTP/1.0 or HTTP/0.9 clients.
2012-09-13 21:33:35 +09:00
Tatsuhiro Tsujikawa
22516aea63 Update README.rst
github translates "Client/Server" in section header to "#clientserver"
fragment, but if it is referred by `Client/Server`_, it is translated
into "#client-server". It is best to avoid '/' in section header.
2012-09-12 22:40:59 +09:00
Tatsuhiro Tsujikawa
1f2109bb0b python: Bump up version number to 0.1.2 2012-09-12 22:38:10 +09:00
Tatsuhiro Tsujikawa
23cbad64db Update doc 2012-09-12 22:37:05 +09:00
Tatsuhiro Tsujikawa
38e634b736 Update README.rst 2012-09-12 21:39:09 +09:00
Tatsuhiro Tsujikawa
b8d0b4034c Eliminate malloc in spdylay_map
We use intrusive style pattern in spdylay_stream, which now has
spdylay_map_entry has its first member.
2012-09-12 00:13:02 +09:00
Tatsuhiro Tsujikawa
427b9ebfdb shrpx: Update http-parser 2012-09-11 00:12:23 +09:00
Tatsuhiro Tsujikawa
b0f155eebc Bump up version number to 0.3.4-DEV 2012-09-10 22:46:44 +09:00
Tatsuhiro Tsujikawa
3acfae37bb examples: Add README 2012-09-10 22:45:33 +09:00
Tatsuhiro Tsujikawa
c1b130acd0 python: Don't raise exception from Session.resume_data()
In practice, Session.resume_data() will be used without checking there
is deferred data or not. Actually, there is no API to check this.  So
it is better not to raise exception. Instead return False to notify
error. If the method succeeds, it returns True.
2012-09-10 22:10:54 +09:00
Tatsuhiro Tsujikawa
ba63d00db5 Update README.rst 2012-09-10 22:03:40 +09:00
Tatsuhiro Tsujikawa
ca415a2a15 Add --enable-src configure option
When --enable-src is given, the programs in src directory will be
built. If --disable-src is given, those programs will not be built. If
none of them are given, --enable-src is assumed.
2012-09-10 21:51:08 +09:00
Tatsuhiro Tsujikawa
b0fcd68783 Move spdycat, spdyd and shrpx from examples to src
To distinguish the to-be-installed programs and non-installable
example source code, the former programs, spdycat, spdydyd and shrpx,
were moved to src directory. spdynative was removed from Makefile
because it does not appeal to any users much.
2012-09-10 21:39:51 +09:00
Tatsuhiro Tsujikawa
5634c7ffdc shrpx: Ignore response body if HTTP status code is 1xx, 204 or 304 2012-09-09 17:45:06 +09:00
Tatsuhiro Tsujikawa
3d694c89c5 python: Escape \n in long_description 2012-08-28 23:00:24 +09:00
Tatsuhiro Tsujikawa
adbf33c0b8 Add python wrapper to distribution 2012-08-28 22:07:43 +09:00