Bug reproducer repo for Symfony issue: symfony/symfony#54516
Clone the repository and install dependencies:
$ git clone https://github.com/michaelhue/symfony-curl-http2-chunked-issue.git
$ cd symfony-curl-http2-chunked-issue
$ composer install
The repo contains a HTTP/2 capable test server for Deno. You need to install Deno before running the tests.
First, start the HTTP server with Deno:
$ deno run --allow-net server.ts
Wait until the server is ready and then run the tests:
$ php test.php
The console output will look like this:
✅ HTTP/1 default behavior
❌ HTTP/2 default behavior
expected: 'bar'
actual: 2
3
bar
2
e
✅ HTTP/1 suppressed header
✅ HTTP/2 suppressed header