PSL 6.4.1
This release fixes two HTTP/2 regressions introduced in 6.4.0. Upgrading is strongly recommended if you use HTTP\Client or the H2 component.
Fixes
H2andHTTP\Client: HTTP/2 connections over TLS no longer fail with "HTTP/2 connection is closed." A TLS read returns nothing for records that carry no application data, such as TLS 1.3 session tickets, and for a record that has only partly arrived; since 6.4.0 such a read closed the connection, so requests to servers such asapi.github.com, and large responses from any server, failed. The connection now closes only at the end of the data. (by @azjezz)H2\ClientConnectionandH2\ServerConnection: Read the bytes that theIO\Readerpassed to them has already buffered, such as the first HTTP/2 bytes after an upgrade from HTTP/1.1, before reading the transport. Since 6.4.0 those bytes were skipped. (by @azjezz)
Other
- Dependencies:
http-clientnow requires^6.4.1ofh2, so updatinghttp-clientalso brings in these fixes.
Install: composer require php-standard-library/php-standard-library:^6.4.1
Full Changelog: 6.4.0...6.4.1