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.
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.
NGHTTP2_CLIENT_CONNECTION_PREFACE has the same content with
NGHTTP2_CLIENT_CONNECTION_HEADER, which is now obsoleted by
NGHTTP2_CLIENT_CONNECTION_PREFACE.
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.
* 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
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.
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.
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.