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
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php