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

606 Commits

Author SHA1 Message Date
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
Tatsuhiro Tsujikawa
fb72f47199 python: Bump up package version to 0.1.1 2012-08-28 21:55:46 +09:00
Tatsuhiro Tsujikawa
5bb8a262ba Bump up version number to 0.3.3. Bump up the library version to 3:0:2 2012-08-28 21:54:32 +09:00
Tatsuhiro Tsujikawa
8b06bc9d56 Updated for 0.3.3 release 2012-08-28 21:52:02 +09:00
Tatsuhiro Tsujikawa
6cc62c5f22 python: shutdown socket at the end of the event loop 2012-08-28 21:39:24 +09:00
Tatsuhiro Tsujikawa
5b521e608b python: update README.rst 2012-08-28 01:53:25 +09:00
Tatsuhiro Tsujikawa
fb6ef096c6 python: document urlfetch 2012-08-28 01:47:21 +09:00
Tatsuhiro Tsujikawa
b4758b5701 python: renamed uri as url for consistency 2012-08-28 01:46:53 +09:00
Tatsuhiro Tsujikawa
33d35912a5 python: add simple SPDY client function urlfetch() 2012-08-28 00:58:45 +09:00
Tatsuhiro Tsujikawa
6b64276c08 python: add get_npn_protocols() function
get_npn_protocols() is high level wrapper for
spdylay_npn_get_proto_list() and the returned list can be passed to
ssl.SSLContext.set_npn_protocols().
2012-08-27 23:32:27 +09:00
Tatsuhiro Tsujikawa
4e5e741907 Add spdylay_npn_get_proto_list() public API function.
spdylay_npn_get_proto_list() returns a pointer to the supported SPDY
version list. The element of the list is spdylay_npn_proto struct. It
contains all SPDY version information this library supports. The
application can use this information to configure NPN protocol
offerings/selection.
2012-08-27 23:16:44 +09:00
Tatsuhiro Tsujikawa
cc15f4bd89 python: add MANIFEST.in and README.rst 2012-08-25 00:18:17 +09:00
Tatsuhiro Tsujikawa
ade401c1f9 python: update setup.py 2012-08-25 00:10:20 +09:00
Tatsuhiro Tsujikawa
9bbd7a8a04 python: add __version__ 2012-08-24 23:35:58 +09:00
Tatsuhiro Tsujikawa
dcba568ff9 python: make assoc_stream_id and stream_user_data in submit_syn_stream optional 2012-08-24 23:34:48 +09:00
Tatsuhiro Tsujikawa
595806a913 python: escape more variable when formatting error_message_format 2012-08-24 23:25:02 +09:00
Tatsuhiro Tsujikawa
9d66fc4b88 python: wrap socket in overridden process_request. 2012-08-24 23:21:36 +09:00
Tatsuhiro Tsujikawa
e208305505 python: make all callbacks BaseSPDYRequestHandler's instance method
ssl socket and ssctrl are also instance variable now.
2012-08-24 22:06:50 +09:00
Tatsuhiro Tsujikawa
3120450213 python: return unicode string error message 2012-08-24 21:56:46 +09:00
Tatsuhiro Tsujikawa
27989fe121 python: don't ignore decode exception from cnv2pynv 2012-08-24 21:50:44 +09:00
Tatsuhiro Tsujikawa
45c07bec4d python: set TCP_NODELAY option 2012-08-24 21:22:43 +09:00
Tatsuhiro Tsujikawa
743b2e5584 python: add charset=UTF-8 to error_content_type 2012-08-24 21:18:40 +09:00
Tatsuhiro Tsujikawa
cf93d936be python: fix typo 2012-08-24 21:17:53 +09:00
Tatsuhiro Tsujikawa
d8c4b19351 Fix error with w64-mingw32 cross compiler. Add --enable-example option. 2012-08-24 02:15:57 +09:00
Tatsuhiro Tsujikawa
a6817ff5e2 Bump up version number to 0.3.3-DEV 2012-08-24 01:49:47 +09:00
Tatsuhiro Tsujikawa
1b91860187 python: update doc 2012-08-24 01:28:18 +09:00
Tatsuhiro Tsujikawa
7b7e020bea python: add doc 2012-08-24 01:25:42 +09:00
Tatsuhiro Tsujikawa
1c5219952b python: add SSL options. Fix duplicated headers. 2012-08-24 01:25:02 +09:00
Tatsuhiro Tsujikawa
7ce24fc122 python: rewritten simple SPDY server. Add npn_get_version() helper function. 2012-08-24 00:27:07 +09:00
Tatsuhiro Tsujikawa
dbe7cda79b python: update doc 2012-08-23 21:23:33 +09:00
Tatsuhiro Tsujikawa
bbd8fcc704 python: use unicode for nv pair 2012-08-23 21:21:13 +09:00
Tatsuhiro Tsujikawa
424dc2cc9d python: update setup.py 2012-08-23 03:37:26 +09:00