mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-22 04:30:43 +00:00
Motivation: This is the beginning of removing the dependency on `nghttp2`. Modifications: I've added a new library target, `NIOHPACK`, which contains all the necessary pieces to implement HPACK encoding as specified in RFC 7541. There are unit tests exercising all the code and some additional edge cases around integer encoding, along with some performance tests for the Huffman encode/decode process. The latter currently takes longer to decode than to encode, which is worrying, but this is only really noticeable when encoding > 16KB strings as a rule; therefore I've decided not to pull out the optimization hammer just yet. Included in the unit tests are the inputs and outputs from all the examples in RFC 7541 and RFC 7540. I've tried to match the coding style from the repo, but some of my own idioms may have crept in here & there. Please let me know if you see anything wrong in that regard. Currently the static header table and Huffman encoding tables are implemented as Swift `let`s. For the static header table that's ok (only 62 entries), but the Huffman table is huge. I'm debating whether it's worth having that in a plain C file somewhere, but I'm not sure what the tradeoffs are vs. performance. Right now it seems to only affect compilation time, but I may be wrong. Result: In general, nothing will change: nothing in NIOHTTP2 is using this library yet. That part is what I'm working on now.
23 lines
798 B
Plaintext
23 lines
798 B
Plaintext
For the purpose of tracking copyright, this is the list of individuals and
|
|
organizations who have contributed source code to SwiftNIO.
|
|
|
|
For employees of an organization/company where the copyright of work done
|
|
by employees of that company is held by the company itself, only the company
|
|
needs to be listed here.
|
|
|
|
## COPYRIGHT HOLDERS
|
|
|
|
- Apple Inc. (all contributors with '@apple.com')
|
|
|
|
### Contributors
|
|
|
|
- Cory Benfield <cbenfield@apple.com>
|
|
- Jim Dovey <jimdovey@mac.com>
|
|
- Johannes Weiß <johannesweiss@apple.com>
|
|
- Tim <0xTim@users.noreply.github.com>
|
|
- tomer doron <tomer@apple.com>
|
|
|
|
**Updating this list**
|
|
|
|
Please do not edit this file manually. It is generated using `./scripts/generate_contributors_list.sh`. If a name is misspelled or appearing multiple times: add an entry in `./.mailmap`
|