Skip to content

michaelhue/symfony-curl-http2-chunked-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CurlHttpClient HTTP/2 chunked issue

Bug reproducer repo for Symfony issue: symfony/symfony#54516

Setup

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.

Usage

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published