Commit Graph

67 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa 911ffb24fa python: Set NPN in HTTP2Server.__init__ 2014-02-25 21:25:31 +09:00
Tatsuhiro Tsujikawa add07c4303 python: Encode headers in UTF-8 if they are given in unicode 2014-02-25 21:21:35 +09:00
Tatsuhiro Tsujikawa 98715f4374 python: Add HTTP/2 server using asyncio 2014-02-25 01:47:09 +09:00
Tatsuhiro Tsujikawa e74fbdf6b4 Merge branch 'master' into draft-10 2014-02-13 23:45:41 +09:00
Tatsuhiro Tsujikawa fd88c6160d HPACK post -05 updates
* Use 1 Huffman code table for both request and response
* Remove complicated deflater side table size management
* Add encoding context update
* Fix memory leak in inflater
2014-02-13 23:22:52 +09:00
Tatsuhiro Tsujikawa 39aaad5ad8 Fix out-of-tree build for python 2014-02-11 23:41:25 +09:00
Tatsuhiro Tsujikawa e7fc2951b8 nghttp2_hd: Define dedicated struct for HPACK deflater and inflater 2014-01-26 17:53:04 +09:00
Tatsuhiro Tsujikawa 5082ce5107 hpackmake.py: Add --deflate-table-size option 2014-01-21 23:04:31 +09:00
Tatsuhiro Tsujikawa a42cb13628 hpackmake.py: Add option parser 2014-01-21 21:50:01 +09:00
Tatsuhiro Tsujikawa 7048c56583 python: Update to latest nghttp2_hd spec 2014-01-17 02:27:42 +09:00
Tatsuhiro Tsujikawa 2e11f01ae6 python: Add -fno-strict-aliasing flag 2014-01-11 17:49:42 +09:00
Tatsuhiro Tsujikawa 47f20d5e83 Integrate Python bindings build into `make`
Now require python >= 2.7
2014-01-11 01:01:28 +09:00
Tatsuhiro Tsujikawa 0f89a19fa0 python: Add python script to generate hpack-test-case json files
See https://github.com/Jxck/hpack-test-case for the json file
format.
2014-01-05 23:50:12 +09:00
Tatsuhiro Tsujikawa 5c88e92e96 python: Add python script to check hpack-test-case json files
See https://github.com/Jxck/hpack-test-case for the json file
format.
2014-01-05 23:40:04 +09:00
Tatsuhiro Tsujikawa a2ceae23a3 python: Handle name/value is NULL but its length is positive
This happens when deflater local header table is smaller than
inflater header table size. We use the same notation
"**DEALLOCATED**" for such name/values with hdtest programs.
2013-12-21 23:02:48 +09:00
Tatsuhiro Tsujikawa efb25f723f Update README.rst in python dir 2013-12-20 01:35:59 +09:00
Tatsuhiro Tsujikawa cd5043f68c python: Remove unnecessary variables 2013-12-18 21:17:32 +09:00
Tatsuhiro Tsujikawa bddfa3c0b6 python: Add method to get/print header table 2013-12-18 00:20:14 +09:00
Tatsuhiro Tsujikawa 415b9d07d8 python: Refactor class 2013-12-17 23:53:49 +09:00
Tatsuhiro Tsujikawa 9d630901fa Add check for cython and substitute python and cython in Makefile.am 2013-12-16 21:46:50 +09:00
Tatsuhiro Tsujikawa 3c63936d3a Fix error on `make distcheck` 2013-12-15 16:36:43 +09:00
Tatsuhiro Tsujikawa 4e0ca71ef0 python: Add experimental python extension module
To build extension module, cython is required.
The module is not built with `make` in the top directory.
A user has to run `make build_ext` in python directory.
Currently header compression objects are available for testing.
2013-12-14 23:54:09 +09:00
Tatsuhiro Tsujikawa 0edce70343 Rebranding nghttp2 2013-07-13 00:43:06 +09:00
Tatsuhiro Tsujikawa a4c7f17aa2 python: Escape '\' in server example code 2012-09-13 23:10:47 +09:00
Tatsuhiro Tsujikawa 1f2109bb0b python: Bump up version number to 0.1.2 2012-09-12 22:38:10 +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 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 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 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 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