8000 Release v1.1.1 · igrigorik/http-2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v1.1.1

Latest
Compare
Choose a tag to compare
@HoneyryderChuck HoneyryderChuck released this 16 Apr 00:10

What's Changed

Bugfixes

  • frame buffer was accidentally changing encoding before header packing, which raise invalid compatible encoding errors, due to usage of "String#". this was fixed by using internal append_str´, which does not touch encoding, and calling String.force_encoding` in case the buffer is a mutable string passed by the user.
  • dup PING frame payload passed by the user; while not really resulting in invalid encoding, the change of the input string could surprise the caller, since this would be expected to be stored somewhere so the peer PING frame can be matched on receive.

Improvements

Simplified String#transition, making sure it only does state machine transitions (the rest is handled outside of it).

Full Changelog: v1.1.0...v1.1.1

0