jh2, HTTP/2 Protocol Stack, is a fork of the well known hyper/h2 package. We
want to provide a cleaner and faster HTTP/2 state machine while keeping a pure
Python implementation. We decided to embed the leaf dependencies as we want a
neater dependency tree and along with that a easier maintenance burden. We
believe it was a mistake to ship three packages (h2, hpack, and hyperframe).
Analysis shown that h2 spend a lot of time doing hpack encode and decode
operations, this is why we decided to offer a complementary optimized build. The
pure Python version will still be available.
This repository contains a pure-Python implementation of a HTTP/2 protocol
stack. It's written from the ground up to be embeddable in whatever program you
choose to use, ensuring that you can speak HTTP/2 regardless of your programming
paradigm.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-jh2 listed in the above command, you can pick from the names under the Packages section.
www/py-jh2: Fix build after 75f9a60e9790
* The 1.8.2 release of devel/py-maturin uses a updated version of the
"pyproject-toml" crate which is stricter with regard to license
metadata:
[...]
maturin failed
Caused by: pyproject.toml at
/wrkdirs/usr/ports/www/py-jh2/work-py311/jh2-5.0.7/pyproject.toml is invalid
Caused by: TOML parse error at line 9, column 17
|
9 | license-files = { paths = ["LICENSE"] }
| ^^^^^^^^^^^^^^^^^^^^^^^
[...]
Approved by: portmgr (build fix blanket)
www/py-jh2: Add py-jh2 5.0.4
jh2, HTTP/2 Protocol Stack, is a fork of the well known hyper/h2 package. We
want to provide a cleaner and faster HTTP/2 state machine while keeping a pure
Python implementation. We decided to embed the leaf dependencies as we want a
neater dependency tree and along with that a easier maintenance burden. We
believe it was a mistake to ship three packages (h2, hpack, and hyperframe).
Analysis shown that h2 spend a lot of time doing hpack encode and decode
operations, this is why we decided to offer a complementary optimized build. The
pure Python version will still be available.
This repository contains a pure-Python implementation of a HTTP/2 protocol
stack. It's written from the ground up to be embeddable in whatever program you
choose to use, ensuring that you can speak HTTP/2 regardless of your programming
paradigm.