Re: [RFC] Add HTTP/2 Support to the CLI Server

From: Date: Tue, 19 Jan 2016 11:21:57 +0000
Subject: Re: [RFC] Add HTTP/2 Support to the CLI Server
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-90711@lists.php.net to get a copy of this message
On Mon, 18 Jan 2016, Davey Shafik wrote: > Hey all, > > following on from previous discussions[1], I am introducing an RFC for > adding HTTP/2 support to the built-in CLI server: > > https://wiki.php.net/rfc/cli_server_http2 I think this is good to have, but I have a few comments: php -S 0.0.0.0:8080 –http2 -t ./public/ ./public/index.html The -http2, should really be two --'s. Only short (one letter options) get a single '-'. Similarly: –[no-]http2, should probably be either '--with-http2' and/or '--without-http2', as it depends on an external library. > Given that the RFC contains two potential solutions for implementing > this, I've decided it is best to open up discussion on this now. > > While I've authored this RFC, I do not think I am capable of > implementing this, but I am going to try. I'm currently trying to get > to grips with the existing cli-server, and seeing if I can add H/2 > support to the existing SAPI. However, it might be easier to just > write a new SAPI from scratch — is there a good SAPI I can use as an > example to learn that side of things? > > Would anyone be interested in taking this on for 7.1? or > pairing/mentoring on it? I don't think I have the time for that, but feel free to pop into IRC for questions. cheers, Derick

« previous php.internals (#90711) next »