[PR][php-src][#1192][master] - Request 69278 - HTTP2 support
| From: | noreply@php.net | Date: | Sun, 22 Mar 2015 23:42:10 +0000 |
| Subject: | [PR][php-src][#1192][master] - Request 69278 - HTTP2 support | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-2823@lists.php.net to get a copy of this message | ||
You can view the Pull Request on github:
https://github.com/php/php-src/pull/1192
Pull Request Description:
This pull request introduces new constants
CURL_HTTP_VERSION_2_0 and
CURL_VERSION_HTTP2.
https://bugs.php.net/bug.php?id=69278
cURL supports HTTP2 via nghttp2 (--with-nghttp2) since v7.33.0 and later.
CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2 were added in v7.33.0.
https://github.com/bagder/curl/blob/1f651d1d4d6d3b6c05e2ebf229ccd10ae2af1991/docs/libcurl/symbols-in-versions
I tested on Mac OS X with my [fomula](https://github.com/masakielastic/homebrew-http2) of homebrew.
Homebrew developers are considering to support nghttp2 build option for curl ( see
[36942](https://github.com/Homebrew/homebrew/pull/36942) for the details).
pecl_http supports http2 since v2.3.0
([HTTP_VERSION_2_0](http://devel-m6w6.rhcloud.com/mdref/http/Client/Curl#HTTP_VERSION_2_0)).