Releases: amphp/http-client
Releases · amphp/http-client
5.3.4
What's Changed
- Fixed an issue where an HTTP/2 connection was closed unexpectedly, on rare occasions an exception was being thrown to the event-loop error handler
- Made an optimization when shutting down an HTTP/2 connection to only create an exception instance if there are outstanding requests on the connection.
Full Changelog: v5.3.3...v5.3.4
5.3.3
5.3.2
5.3.1
What's Changed
- Fixed setting the stream "ended" flag on HTTP/2 streams for requests which have no body (regression in 5.3.0). Without this flag, an empty data frame was being sent, which was considered invalid by some HTTP/2 servers, causing the stream to be closed without completing the response.
Full Changelog: v5.3.0...v5.3.1
5.3.0
What's Changed
- Enhance TLS handshake error message with additional details from previous exception by @luzrain in #385
- Proposal: TlsException to replace SocketException for TLS handshake errors by @luzrain in #384
- Support for simultaneously streaming request body and response body by @Nek- and @trowski in #380
- Throws TimeoutException when TransferTimeout is exceeded by @luzrain in #382
New Contributors
Full Changelog: v5.2.2...v5.3.0
5.2.2
What's Changed
- Changed the default
User-Agentheader to contain only characters which should be accepted by all HTTP servers (#371). - Fixed window update potentially causing two HTTP/2 frames to be sent with the
END_STREAMflag set (#373). - Fixed early responses on HTTP/2 (a response sent before the request is fully sent) causing an
HttpExceptionto be thrown instead of returning the response.
Full Changelog: v5.2.1...v5.2.2
5.2.1
4.6.5
5.2.0
What's Changed
- Added inactivity timeout to SetRequestTimeout interceptor by @Nek- in #362
- Fixed the exception type thrown by
SizeLimitingReadableStream, changing it toStreamExceptionto comply with theReadableStreaminterface - Fixed body size limit of 0 (no limit) causing an exception when using
DecompressingReadableStream - Fixed handling of GOAWAY frames from servers, allowing streams with an ID lower than that provided in the GOAWAY frame to complete before closing the connection (#366)
New Contributors
Full Changelog: v5.1.0...v5.2.0