Re: [PHP-DEV] Re: Testing HTTP/2 support in PHP

2016-01-04 Thread Andrea Faulds
Hi Pierre, Pierre Joye wrote: Hi Andrea, On Jan 5, 2016 12:16 AM, "Andrea Faulds" wrote: Hmm, this would mean a new dependency, and more potential complexity. I'm not sure if HTTP/2 justifies it. Also, don't all the major client implementations of HTTP/2 require TLS? Or is localhost give

Re: [PHP-DEV] Re: Testing HTTP/2 support in PHP

2016-01-04 Thread Pierre Joye
Hi Andrea, On Jan 5, 2016 12:16 AM, "Andrea Faulds" wrote: > > Hi Davey, > > > Davey Shafik wrote: >> >> However, Rasmus raised the possibility of adding HTTP/2 support to the >> cli-server [2], and (someone? @php-pulls) suggested we pull in a third >> party lib to do the heavy lifting [3]. >> >>

Re: [PHP-DEV] Re: Testing HTTP/2 support in PHP

2016-01-04 Thread Davey Shafik
Hi Andrea On Mon, Jan 4, 2016 at 5:16 PM, Andrea Faulds wrote: > Hi Davey, > > Davey Shafik wrote [snip] We could also add a flag (e.g. --[no-]http2) on the CLI for >> enabling/disabling it — this would be helpful for testing HTTP/2 client >> fallback when it's not supported. >> > > Hmm, this

[PHP-DEV] Re: Testing HTTP/2 support in PHP

2016-01-04 Thread Andrea Faulds
Hi Davey, Davey Shafik wrote: However, Rasmus raised the possibility of adding HTTP/2 support to the cli-server [2], and (someone? @php-pulls) suggested we pull in a third party lib to do the heavy lifting [3]. My recommendation would be to use libnghttp2 [4] which curl also uses — however, as