Skip to content

Releases: hyperium/h2

v0.3.12

09 Mar 19:03
Compare
Choose a tag to compare
  • Avoid time operations that can panic (#599)
  • Bump MSRV to Rust 1.49 (#606)
  • Fix header decoding error when a header name is contained at a continuation
    header boundary (#589)
  • Remove I/O type names from handshake tracing spans (#608)

New Contributors

v0.3.11

26 Jan 18:24
Compare
Choose a tag to compare
  • Fix SendStream::poll_capacity to never return Ok(Some(0)) (#596)
  • Fix panic when receiving already reset push promise (#597)

v0.3.10

07 Jan 01:11
Compare
Choose a tag to compare
  • Add Error::is_go_away() and Error::is_remote() methods.
  • Fix panic if receiving malformed PUSH_PROMISE with stream ID of 0.

v0.3.9

09 Dec 17:31
Compare
Choose a tag to compare
  • Fix hang related to new max_send_buffer_size.

v0.3.8

08 Dec 19:26
Compare
Choose a tag to compare
  • Add "extended CONNECT support". Adds h2::ext::Protocol, which is used for request and response extensions to connect new protocols over an HTTP/2 stream.
  • Add max_send_buffer_size options to client and server builders, and a default of ~400KB. This acts like a high-water mark for the poll_capacity() method.
  • Fix panic if receiving malformed HEADERS with stream ID of 0.

v0.3.7

22 Oct 17:51
Compare
Choose a tag to compare
  • Fix panic if server sends a malformed frame on a stream client was about to open.
  • Fix server to treat :status in a request as a stream error instead of connection error.

v0.3.6

30 Sep 19:20
Compare
Choose a tag to compare
  • Fix regression of h2::Error that were created via From<h2::Reason> not returning their reason code in Error::reason().

v0.3.5

29 Sep 21:16
Compare
Choose a tag to compare
  • Fix sending of very large headers. Previously when a single header was too big to fit in a single HEADERS frame, an error was returned. Now it is broken up and sent correctly.
  • Fix buffered data field to be a bigger integer size.
  • Refactor error format to include what initiated the error (remote, local, or user), if it was a stream or connection-level error, and any received debug data.

v0.3.4

20 Aug 22:49
Compare
Choose a tag to compare
  • Fix panic when encoding header size update over a certain size.
  • Fix SendRequest to wake up connection when dropped.
  • Fix potential hang if RecvStream is placed in the request or response extensions.
  • Stop calling Instant::now if zero reset streams are configured.

v0.3.3

29 Apr 16:25
Compare
Choose a tag to compare
  • Fix client being able to make CONNECT requests without a :path.
  • Expose RecvStream::poll_data.
  • Fix some docs.