packagist azjezz/psl 6.4.1
Hevlaska 6.4.1

4 hours ago

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

  • H2 and HTTP\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 as api.github.com, and large responses from any server, failed. The connection now closes only at the end of the data. (by @azjezz)
  • H2\ClientConnection and H2\ServerConnection: Read the bytes that the IO\Reader passed 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-client now requires ^6.4.1 of h2, so updating http-client also brings in these fixes.

Install: composer require php-standard-library/php-standard-library:^6.4.1


Full Changelog: 6.4.0...6.4.1

Don't miss a new psl release

NewReleases is sending notifications on new releases.