pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-hpack



Module Name:    pkgsrc
Committed By:   leot
Date:           Tue Feb 16 13:43:09 UTC 2016

Modified Files:
        pkgsrc/net/py-hpack: Makefile distinfo

Log Message:
Update net/py-hpack to 2.1.0.

Changes:
2.1.0 (2016-02-02)
------------------
**API Changes (Backward Compatible)**
- Added new ``InvalidTableIndex`` exception, a subclass of
  ``HPACKDecodingError``.
- Instead of throwing ``IndexError`` when encountering invalid encoded integers
  HPACK now throws ``HPACKDecodingError``.
- Instead of throwing ``UnicodeDecodeError`` when encountering headers that are
  not UTF-8 encoded, HPACK now throws ``HPACKDecodingError``.
- Instead of throwing ``IndexError`` when encountering invalid table offsets,
  HPACK now throws ``InvalidTableIndex``.
- Added ``raw`` flag to ``decode``, allowing ``decode`` to return bytes instead
  of attempting to decode the headers as UTF-8.

**Bugfixes**
- ``memoryview`` objects are now used when decoding HPACK, improving the
  performance by avoiding unnecessary data copies.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/py-hpack/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-hpack/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index