Update www/php-http to 2.6.0.

- Added http\Client\Curl\User interface for userland event loops
- Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and
  http\Url::STDFLAGS
- Added http\Client::setDebug(callable $debug)
- Added http\Client\Curl\FEATURES constants and namespace
- Added http\Client\Curl\VERSIONS constants and namespace
- Added share_cookies and share_ssl (libcurl >= 7.23.0) options to
  http\Client::configure()
- http\Client uses curl_share handles to properly share cookies and
  SSL/TLS sessions between requests
- Improved configure checks for default CA bundles
- Improved negotiation precision
- Fixed regression introduced by http\Params::PARSE_RFC5987:
  negotiation using the params parser would receive param keys without
  the trailing asterisk, stripped by http\Params::PARSE_RFC5987.
- Fix gh-issue #50: http\Client::dequeue() within
  http\Client::setDebug() causes segfault
- Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value()
- Fix gh-issue #45: HTTP/2 response message parsing broken with
  libcurl >= 7.49.1
- Fix gh-issue #43: Joining query with empty original variable in
  query
- Fix gh-issue #42: fatal error when using punycode in URLs
- Fix gh-issue #41: Use curl_version_info_data.features when
  initializing options
- Fix gh-issue #40: determinde the SSL backend used by curl at runtime
- Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set
  option proxy_service_name
- Fix gh-issue #38: Persistent curl handles: error code not properly
  reset
- Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is
  used
- Fix gh-issue #34: allow setting multiple headers with the same name
- Fix gh-issue #33: allow setting prodyhost request option to NULL
- Fix gh-issue #31: add/improve configure checks for default CA
  bundle/path

Changes from beta1:
- Fixed PHP-5.3 compatibility
- Fixed recursive calls to the event loop dispatcher

Changes from beta2:
- Fix bug #73055: crash in http\QueryString (CVE-2016-7398)
- Fix bug #73185: Buffer overflow in HTTP parse_hostinfo()
  (CVE-2016-7961)
- Fix HTTP/2 version parser for older libcurl versions
This commit is contained in:
fhajny 2017-01-31 11:02:45 +00:00
parent 4473a8490e
commit 21e2218c4d
2 changed files with 7 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.11 2017/01/01 16:06:39 adam Exp $
# $NetBSD: Makefile,v 1.12 2017/01/31 11:02:45 fhajny Exp $
MODNAME= http
PECL_VERSION= 2.5.6
PECL_VERSION= 2.6.0
CATEGORIES+= www
PECL_DISTNAME= pecl_http-${PECL_VERSION}
@ -9,7 +9,6 @@ PECL_DISTNAME= pecl_http-${PECL_VERSION}
MAINTAINER= filip@joyent.com
HOMEPAGE= http://pecl.php.net/package/pecl_http
COMMENT= PHP extension for extended HTTP support
PKGREVISION= 2
LICENSE= 2-clause-bsd AND isc
CONFLICTS= php-http-[0-9]*

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.5 2016/03/12 08:38:39 fhajny Exp $
$NetBSD: distinfo,v 1.6 2017/01/31 11:02:45 fhajny Exp $
SHA1 (php-http/pecl_http-2.5.6.tgz) = 935a51fe0463497fbcd63755efc89abc6fff4186
RMD160 (php-http/pecl_http-2.5.6.tgz) = 054adc8c50ed2ed494d70c3ccf154746d2ee3333
SHA512 (php-http/pecl_http-2.5.6.tgz) = a4ddb2e55b537a240dc79ad38665f9cb79ef56a70f50e0393ca19c36f744c21374ba801e31e68545516c4be98cff65587ee91b2b25f05dd587120afcb87dfe4a
Size (php-http/pecl_http-2.5.6.tgz) = 200469 bytes
SHA1 (php-http/pecl_http-2.6.0.tgz) = 3f7b80d60514a0ebf77e85d531033f5229db0707
RMD160 (php-http/pecl_http-2.6.0.tgz) = b27da93f43eed98d3678a2edc990df9a9b310b24
SHA512 (php-http/pecl_http-2.6.0.tgz) = 12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
Size (php-http/pecl_http-2.6.0.tgz) = 217673 bytes