Releases: amphp/http-client
Releases · amphp/http-client
5.0.0 Beta 2
- Fixed #302 where reusing an idle HTTP/1.1 connection may cause the connection to hang.
- Fixed reusing a closed connection in the connection pool.
5.0.0 Beta 1
What's Changed
- Based on PHP 8.1 and Fibers using Revolt.
- Removed
Promise
wrapper types from return types everywhere. - Changed timeout unit from milliseconds to seconds.
- Removed
Amp\Htt\Client\Connection\LimitedConnectionPool
, seeStreamLimitingPool
instead.
New Contributors
Full Changelog: v4.6.2...v5.0.0-beta.1
4.6.2
4.6.1
4.6.0
4.5.5
4.5.4
- Avoid increasing HTTP/2 window size if too many bytes are buffered locally, avoiding exploding buffers if the consumer is slow.
- Fix inactivity timeout on HTTP/2 with slow consumers
Slowly reading the response shouldn't result in inactivity timeouts if the server is responsive. - Check for HTTP/1 connection closing while idle (#279)
4.5.3
- Account for server window changes when discarding data frames
If streams are cancelled, this might result in hanging connections, because the client thinks the server window is still large enough and doesn't increase it. - Fixed potential state synchronization errors with async event listeners
- Write stream window increments asynchronously, avoiding increments for already closed streams
- Improved exception messages