Tatsuhiro Tsujikawa
70a8fd59b1
python: Add version
2014-08-26 23:52:19 +09:00
Tatsuhiro Tsujikawa
42ac80d3da
python: Fix build error
2014-08-26 00:13:53 +09:00
Tatsuhiro Tsujikawa
9c1a956e47
hpackcheck.py: Remove sorting to check ordering requirements
2014-08-06 20:34:51 +09:00
Tatsuhiro Tsujikawa
d848b9815a
python: Use draft-09
2014-07-31 23:19:31 +09:00
Tatsuhiro Tsujikawa
38bfbffb1b
Remove HPACK reference set
2014-07-31 23:05:52 +09:00
Tatsuhiro Tsujikawa
499af94840
python: Check draft version in hpackcheck.py
2014-07-01 00:39:54 +09:00
Tatsuhiro Tsujikawa
e517ff6534
python: Use public HPACK API
2014-06-30 22:45:18 +09:00
Tatsuhiro Tsujikawa
bd06f2cec3
Add const qualifier to nva parameter in nghttp2_hd_deflate_hd()
2014-06-29 23:43:14 +09:00
Tatsuhiro Tsujikawa
4fdc274a42
python: Add -c, --simulate-table-size-change option to hpackmake.py
2014-06-18 13:02:18 +09:00
Tatsuhiro Tsujikawa
2d18a07364
python: Bump up HPACK draft version to 8
2014-06-18 12:20:36 +09:00
Tatsuhiro Tsujikawa
7b9a8acc22
Add HPACK deflation API
2014-05-13 23:42:55 +09:00
Tatsuhiro Tsujikawa
2411a08b09
python: Return Handler object for pushed resource from BaseRequestHandler.push
...
Also update doc
2014-05-13 21:42:58 +09:00
Tatsuhiro Tsujikawa
9683f88e6a
Add NGHTTP2_DEFAULT_HEADER_TABLE_SIZE macro
...
Use this macro in Python sources. Python module constant
HD_DEFLATE_HD_TABLE_BUFSIZE_MAX was renamed as
DEFLATE_MAX_HEADER_TABLE_SIZE since the previous name was awkward.
2014-05-11 21:38:30 +09:00
Tatsuhiro Tsujikawa
2e5c7f598f
Fix bug HPACK deflater does not send context update after table size change
2014-05-11 21:25:27 +09:00
Tatsuhiro Tsujikawa
6e7d0286e3
python: Utilize return value of nghttp2_submit_push_promise
2014-05-10 23:45:05 +09:00
Tatsuhiro Tsujikawa
b041218a2a
python: Fix function include path
2014-05-08 01:03:28 +09:00
Tatsuhiro Tsujikawa
efd90c349d
python: Output seqno in hpackmake.py, utilize it in hpackcheck.py
2014-04-23 00:55:54 +09:00
Tatsuhiro Tsujikawa
6a598d8fb8
python: Fix parellel `make distcheck` and not distribute nghttp2.c
...
It seems that setup.py gets deleted before python executes it in
clean-local. To prevent this situation, we just use .NOTPARALLEL.
Previously we distribute nghttp2.c in python, which is cythonized C
source code from nghttp2.pyx. Since it is distributed in archive it
exists in source directory. But we use python distutils which
operates in build directory and does not support C source files in out
of tree directory (i.e., not under the build directory). Copying C
source file to build directory is a bit dirty, so we just decided not
to ship nghttp2.c.
2014-04-21 00:51:12 +09:00
Tatsuhiro Tsujikawa
5240f8ad7e
python: Update to draft version to 7 in hpackmake.py
2014-04-20 23:02:56 +09:00
Tatsuhiro Tsujikawa
5b3deec186
Fix python build on windows
...
Patch from Gisle Vanem
"""
I tried to build this extension on Windows, but failed since
ws2_32.lib is needed in libraries
"""
2014-04-07 22:15:15 +09:00
Tatsuhiro Tsujikawa
f3f031f94c
Merge branch 'wsgi' of https://github.com/alekstorm/nghttp2 into alekstorm-wsgi
2014-04-07 21:16:24 +09:00
Alek Storm
be7aa8f53a
Add experimental WSGI server implementation
2014-04-06 21:33:32 -07:00
Tatsuhiro Tsujikawa
c9f3de5f6b
python: Fix compile error
2014-04-05 19:16:40 +09:00
Tatsuhiro Tsujikawa
9d9eb48258
python: Update according to HPACK change, but flags are not used yet
2014-04-02 02:16:39 +09:00
Tatsuhiro Tsujikawa
60a2c260a5
Define NGHTTP2_CLIENT_CONNECTION_PREFACE macro
...
NGHTTP2_CLIENT_CONNECTION_PREFACE has the same content with
NGHTTP2_CLIENT_CONNECTION_HEADER, which is now obsoleted by
NGHTTP2_CLIENT_CONNECTION_PREFACE.
2014-03-30 21:02:25 +09:00
Tatsuhiro Tsujikawa
ab2dc5967d
Replace HTTP/2.0 with HTTP/2
2014-03-30 19:26:37 +09:00
Tatsuhiro Tsujikawa
d07bb1ddff
Rework outbound frame buffers
2014-03-13 22:11:02 +09:00
Tatsuhiro Tsujikawa
358b4386d3
Introduce nghttp2_buf to ease buffer management
2014-03-11 01:47:38 +09:00
Tatsuhiro Tsujikawa
ddf6162528
python: Use distutils to build/install python bindings
...
automake version is a bit picky about installation location and uses
different compiler flags from distutils. We prefer official distutils.
Now nghttp2.c, which is generated by cython, is distributed in
archive.
2014-02-27 00:58:21 +09:00
Tatsuhiro Tsujikawa
52cec35906
python: Fix NameError if asyncio is not available
2014-02-26 00:54:16 +09:00
Tatsuhiro Tsujikawa
13cc3f2fe9
src, python: Only produce header_table_size when it is changed
2014-02-25 23:55:06 +09:00
Tatsuhiro Tsujikawa
7cf574d0d8
python: Update doc
2014-02-25 23:29:50 +09:00
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