1_8_4.md

doc/release_notes/1_8_4.md

1.8.4

Improvements

  • send requests which were not sent, or were not processed by the server, when the server sends back a GOAWAY frame (which is deemed recoverable, like when there’s no error), after forcing a reconnection (instead of bubbling up the GOAWAY error for all of them).

Bugfixes

  • :retries plugin: also retry requests which failed due to a RST_STREAM frame with REFUSED_STREAM error code.

  • :retries plugin: resend requests which were piped to a closed connection internally.

  • :proxy plugin: fix issue related with reconnecting inactive connections shut down by the peer, when used with the :persistent plugin, where the CONNECT request wasn’t being sent to establish the tunnel.

  • fixed compatibility issue starting with the json gem 3.0.0, when calling HTTPX::Response#json.

  • avoid bookkepping issue in session, where the on_response_arrived on a request may be called more than once (which it can happen in the :follow_redirects plugin, where a request may have completed due to an error, while the request is waiting to be resent due to retry-after).