> On Sep 5, 2015, at 02:00, Kalle Sommer Nielsen <ka...@php.net> wrote:
> 
> Hi Davey
> 
> 2015-09-02 7:31 GMT+02:00 Davey Shafik <da...@php.net>:
>> Hi,
>> 
>> I've been poking around at HTTP/2 a lot lately, and it seems that so long
>> as you are using libcurl 7.43.0+ it's possible to do request multiplexing.
>> 
>> This change simply introduces three constants, CURLPIPE_NOTHING (0),
>> CURLPIPE_HTTP1 (1), and CURLPIPE_MULTIPLEX (2) which represent possible
>> values passed into curl_multi_setopt() for the CURLMOPT_PIPELINING option.
>> Current behavior of passing in 0 and 1 map to the first two constants,
>> while the third allows for multiplexing.
>> 
>> Now, of course, being constants, you can just pass in 0, 1, or 2, but this
>> brings the consistency and explicitness of exposing them as with all the
>> other curl constants.
>> 
>> I'd love to see this make it into PHP 7.0 if it's not too late? It's
>> extremely trivial, but whatever — not that fussed :)
>> 
>> PR is here: https://github.com/php/php-src/pull/1497
> 
> Me and Anatol have talked it over and we're fine with this coming into
> RC3 as it beats having hardcoded values in the code or ugly hacks for
> 7.0.0 only, so go ahead and commit the PR.
> 
> Thanks for your work :)

Hey Kalle,

This is great... but I don't have karma to merge it I don't think? Be happy to 
be wrong :)

- Davey
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to