Compare commits
41 Commits
Author | SHA1 | Date |
---|---|---|
|
fdb67cb97f | |
|
039a3ecb43 | |
|
222ededb69 | |
|
bea87bd10f | |
|
6dc6a556ff | |
|
8d60cb5aa9 | |
|
ec71650323 | |
|
7252e06e8a | |
|
19123e017d | |
|
3cd61b0f7b | |
|
09cae729c9 | |
|
c50b42a874 | |
|
21bc2dbd06 | |
|
cfd141028e | |
|
7654ac2922 | |
|
47290ea5a2 | |
|
07ede552f2 | |
|
75f106723d | |
|
73a89e5285 | |
|
42b92bf0ac | |
|
b99064bb08 | |
|
f99c8cbc47 | |
|
9ba98b1a5a | |
|
572a49493e | |
|
5a70fd1a95 | |
|
cd13fc7ae6 | |
|
b03a8b4b23 | |
|
dce9f2e49e | |
|
31795b3f6f | |
|
155e6d951a | |
|
4c79df4ff6 | |
|
edfc85ebcb | |
|
d1b673ebef | |
|
103361fc73 | |
|
ce37eb7ab4 | |
|
f4b964733b | |
|
5a4b06431c | |
|
d57e0625c3 | |
|
c00b07fa21 | |
|
5fc0874970 | |
|
0ff336903e |
|
@ -2,3 +2,17 @@ clog
|
||||||
/pecl_http-2.3.1.tgz
|
/pecl_http-2.3.1.tgz
|
||||||
/pecl_http-2.3.2.tgz
|
/pecl_http-2.3.2.tgz
|
||||||
/pecl_http-2.4.3.tgz
|
/pecl_http-2.4.3.tgz
|
||||||
|
/pecl_http-2.5.0RC1.tgz
|
||||||
|
/pecl_http-2.5.0.tgz
|
||||||
|
/pecl_http-2.5.1.tgz
|
||||||
|
/pecl_http-2.5.2.tgz
|
||||||
|
/pecl_http-2.5.3.tgz
|
||||||
|
/pecl_http-2.5.5.tgz
|
||||||
|
/pecl_http-2.5.6.tgz
|
||||||
|
/pecl_http-3.0.1.tgz
|
||||||
|
/pecl_http-3.1.0.tgz
|
||||||
|
/pecl_http-2.6.0.tgz
|
||||||
|
/pecl_http-3.1.1RC1.tgz
|
||||||
|
/pecl_http-3.2.0RC1.tgz
|
||||||
|
/pecl_http-3.2.0.tgz
|
||||||
|
/pecl_http-3.2.1.tgz
|
||||||
|
|
|
@ -1,46 +0,0 @@
|
||||||
--TEST--
|
|
||||||
Bug #69313 (http\Client doesn't send GET body)
|
|
||||||
--SKIPIF--
|
|
||||||
<?php
|
|
||||||
include "./skipif.inc";
|
|
||||||
skip_client_test();
|
|
||||||
?>
|
|
||||||
--FILE--
|
|
||||||
<?php
|
|
||||||
|
|
||||||
|
|
||||||
include "helper/server.inc";
|
|
||||||
|
|
||||||
echo "Test\n";
|
|
||||||
|
|
||||||
server("proxy.inc", function($port, $stdin, $stdout, $stderr) {
|
|
||||||
$request = new http\Client\Request("GET", "http://localhost:$port/");
|
|
||||||
$request->setHeader("Content-Type", "text/plain");
|
|
||||||
$request->getBody()->append("foo");
|
|
||||||
$client = new http\Client();
|
|
||||||
$client->enqueue($request);
|
|
||||||
$client->send();
|
|
||||||
echo $client->getResponse();
|
|
||||||
});
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
Done
|
|
||||||
--EXPECTF--
|
|
||||||
Test
|
|
||||||
HTTP/1.1 200 OK
|
|
||||||
Accept-Ranges: bytes
|
|
||||||
Etag: "%s"
|
|
||||||
X-Original-Transfer-Encoding: chunked
|
|
||||||
Content-Length: %d
|
|
||||||
|
|
||||||
GET / HTTP/1.1
|
|
||||||
User-Agent: %s
|
|
||||||
Host: localhost:%d
|
|
||||||
Accept: */*
|
|
||||||
Content-Type: text/plain
|
|
||||||
Content-Length: 3
|
|
||||||
X-Original-Content-Length: 3
|
|
||||||
|
|
||||||
foo
|
|
||||||
Done
|
|
|
@ -1,56 +1,45 @@
|
||||||
# spec file for php-pecl-http
|
# Fedora spec file for php-pecl-http
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012-2015 Remi Collet
|
# Copyright (c) 2012-2019 Remi Collet
|
||||||
# License: CC-BY-SA
|
# License: CC-BY-SA
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||||
#
|
#
|
||||||
# Please, preserve the changelog entries
|
# Please, preserve the changelog entries
|
||||||
#
|
#
|
||||||
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
|
|
||||||
%{!?php_incldir: %global php_incldir %{_includedir}/php}
|
# we don't want -z defs linker flag
|
||||||
%{!?__pecl: %global __pecl %{_bindir}/pecl}
|
%undefine _strict_symbol_defs_build
|
||||||
%{!?__php: %global __php %{_bindir}/php}
|
|
||||||
|
|
||||||
# The project is pecl_http but the extension is only http
|
# The project is pecl_http but the extension is only http
|
||||||
%global proj_name pecl_http
|
%global proj_name pecl_http
|
||||||
%global pecl_name http
|
%global pecl_name http
|
||||||
%global with_zts 0%{?__ztsphp:1}
|
%global with_zts 0%{?__ztsphp:1}
|
||||||
%if "%{php_version}" < "5.6"
|
|
||||||
# after hash iconv propro raphf
|
|
||||||
%global ini_name z-%{pecl_name}.ini
|
|
||||||
%else
|
|
||||||
# after 20-iconv 40-propro 40-raphf
|
# after 20-iconv 40-propro 40-raphf
|
||||||
%global ini_name 50-%{pecl_name}.ini
|
%global ini_name 50-%{pecl_name}.ini
|
||||||
%endif
|
%ifarch %{arm} aarch64
|
||||||
%ifarch %{arm}
|
|
||||||
# Test suite disabled because of erratic results on slow ARM (timeout)
|
# Test suite disabled because of erratic results on slow ARM (timeout)
|
||||||
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
|
%global with_tests 0%{?_with_tests:1}
|
||||||
%else
|
%else
|
||||||
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
|
%global with_tests 0%{!?_without_tests:1}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%global upstream_version 3.2.1
|
||||||
|
#global upstream_prever RC1
|
||||||
|
|
||||||
Name: php-pecl-http
|
Name: php-pecl-http
|
||||||
Version: 2.4.3
|
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Extended HTTP support
|
Summary: Extended HTTP support
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Languages
|
|
||||||
URL: http://pecl.php.net/package/pecl_http
|
URL: http://pecl.php.net/package/pecl_http
|
||||||
Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz
|
Source0: http://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
|
||||||
|
|
||||||
# From http://www.php.net/manual/en/http.configuration.php
|
# From http://www.php.net/manual/en/http.configuration.php
|
||||||
Source1: %{proj_name}.ini
|
Source1: %{proj_name}.ini
|
||||||
|
|
||||||
# http://git.php.net/?p=pecl/http/pecl_http.git;a=blob_plain;f=tests/helper/upload.inc;hb=HEAD
|
BuildRequires: gcc
|
||||||
# See http://git.php.net/?p=pecl/http/pecl_http.git;a=commit;h=5c5ee386409f5b6d697c483edc788d09f8c8aeb3
|
BuildRequires: php-devel >= 7
|
||||||
Source2: upload.inc
|
|
||||||
# http://git.php.net/?p=pecl/http/pecl_http.git;a=blob_plain;f=tests/querystring003.phpt;hb=HEAD
|
|
||||||
Source3: querystring003.phpt
|
|
||||||
# http://git.php.net/?p=pecl/http/pecl_http.git;a=blob_plain;f=tests/bug69313.phpt;hb=HEAD
|
|
||||||
Source4: bug69313.phpt
|
|
||||||
|
|
||||||
BuildRequires: php-devel >= 5.3.0
|
|
||||||
BuildRequires: php-hash
|
BuildRequires: php-hash
|
||||||
BuildRequires: php-iconv
|
BuildRequires: php-iconv
|
||||||
BuildRequires: php-spl
|
BuildRequires: php-spl
|
||||||
|
@ -58,52 +47,31 @@ BuildRequires: php-pear
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
BuildRequires: zlib-devel >= 1.2.0.4
|
BuildRequires: zlib-devel >= 1.2.0.4
|
||||||
BuildRequires: curl-devel >= 7.18.2
|
BuildRequires: curl-devel >= 7.18.2
|
||||||
BuildRequires: libidn-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: php-pecl-propro-devel
|
BuildRequires: php-pecl-propro-devel >= 1.0.0
|
||||||
BuildRequires: php-pecl-raphf-devel
|
BuildRequires: php-pecl-raphf-devel >= 1.1.0
|
||||||
BuildRequires: libevent-devel >= 1.4
|
BuildRequires: libevent-devel >= 1.4
|
||||||
|
BuildRequires: brotli-devel >= 1.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
# only needed in F27+
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
|
||||||
Requires(post): %{__pecl}
|
|
||||||
Requires(postun): %{__pecl}
|
|
||||||
Requires: php(zend-abi) = %{php_zend_api}
|
Requires: php(zend-abi) = %{php_zend_api}
|
||||||
Requires: php(api) = %{php_core_api}
|
Requires: php(api) = %{php_core_api}
|
||||||
%if "%{php_version}" < "5.4"
|
|
||||||
# php 5.3.3 in EL-6 don't use arched virtual provides
|
|
||||||
# so only requires real packages instead
|
|
||||||
Requires: php-common%{?_isa}
|
|
||||||
%else
|
|
||||||
Requires: php-hash%{?_isa}
|
Requires: php-hash%{?_isa}
|
||||||
Requires: php-iconv%{?_isa}
|
Requires: php-iconv%{?_isa}
|
||||||
Requires: php-spl%{?_isa}
|
Requires: php-spl%{?_isa}
|
||||||
%endif
|
Requires: php-pecl(propro)%{?_isa} >= 1.0.0
|
||||||
Requires: php-pecl(propro)%{?_isa}
|
Requires: php-pecl(raphf)%{?_isa} >= 1.1.0
|
||||||
Requires: php-pecl(raphf)%{?_isa}
|
|
||||||
%if 0%{?fedora} < 22
|
|
||||||
# new extensions split off this one.
|
|
||||||
Requires: php-pecl(json_post)%{?_isa}
|
|
||||||
Requires: php-pecl(apfd)%{?_isa}
|
|
||||||
%endif
|
|
||||||
%if "%{php_version}" > "5.6"
|
|
||||||
# V1 don't support PHP 5.6 https://bugs.php.net/66879
|
# V1 don't support PHP 5.6 https://bugs.php.net/66879
|
||||||
Obsoletes: php-pecl-http1 < 2
|
Obsoletes: php-pecl-http1 < 2
|
||||||
%else
|
|
||||||
# Can't install both versions of the same extension
|
|
||||||
Conflicts: php-pecl-http1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Provides: php-pecl(%{proj_name}) = %{version}%{?prever}
|
Provides: php-pecl(%{proj_name}) = %{version}
|
||||||
Provides: php-pecl(%{proj_name})%{?_isa} = %{version}%{?prever}
|
Provides: php-pecl(%{proj_name})%{?_isa} = %{version}
|
||||||
Provides: php-pecl(%{pecl_name}) = %{version}%{?prever}
|
Provides: php-pecl(%{pecl_name}) = %{version}
|
||||||
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}%{?prever}
|
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
|
||||||
Provides: php-%{pecl_name} = %{version}%{?prever}
|
Provides: php-%{pecl_name} = %{version}
|
||||||
Provides: php-%{pecl_name}%{?_isa} = %{version}%{?prever}
|
Provides: php-%{pecl_name}%{?_isa} = %{version}
|
||||||
|
|
||||||
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
|
|
||||||
# Filter shared private
|
|
||||||
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
|
|
||||||
%endif
|
|
||||||
%{?filter_setup}
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -120,23 +88,14 @@ Also provided is a powerful request and parallel interface.
|
||||||
|
|
||||||
Version 2 is completely incompatible to previous version.
|
Version 2 is completely incompatible to previous version.
|
||||||
|
|
||||||
Note:
|
Documentation : https://mdref.m6w6.name/http
|
||||||
. php-pecl-http1 provides API version 1
|
|
||||||
. php-pecl-http provides API version 2
|
|
||||||
|
|
||||||
Documentation : http://devel-m6w6.rhcloud.com/mdref/http
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Extended HTTP support developer files (header)
|
Summary: Extended HTTP support developer files (header)
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: php-pecl-http%{?_isa} = %{version}-%{release}
|
Requires: php-pecl-http%{?_isa} = %{version}-%{release}
|
||||||
Requires: php-devel%{?_isa} >= 5.3.0
|
Requires: php-devel%{?_isa} >= 5.3.0
|
||||||
%if "%{php_version}" > "5.6"
|
|
||||||
Obsoletes: php-pecl-http1-devel < 2
|
Obsoletes: php-pecl-http1-devel < 2
|
||||||
%else
|
|
||||||
Conflicts: php-pecl-http1-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
These are the files needed to compile programs using HTTP extension.
|
These are the files needed to compile programs using HTTP extension.
|
||||||
|
@ -145,15 +104,15 @@ These are the files needed to compile programs using HTTP extension.
|
||||||
%prep
|
%prep
|
||||||
%setup -c -q
|
%setup -c -q
|
||||||
|
|
||||||
mv %{proj_name}-%{version}%{?prever} NTS
|
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
|
||||||
cd NTS
|
|
||||||
|
|
||||||
cp %{SOURCE2} tests/helper/
|
mv %{proj_name}-%{upstream_version}%{?upstream_prever} NTS
|
||||||
cp %{SOURCE3} %{SOURCE4} tests/
|
cd NTS
|
||||||
|
sed -e '/WORDS_BIGENDIAN/s/if /ifdef /' -i src/php_http_etag.c
|
||||||
|
|
||||||
extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h)
|
extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h)
|
||||||
if test "x${extver}" != "x%{version}%{?prever}"; then
|
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:dev}"; then
|
||||||
: Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?prever}.
|
: Error: Upstream HTTP version is now ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:dev}.
|
||||||
: Update the pdover macro and rebuild.
|
: Update the pdover macro and rebuild.
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -173,10 +132,16 @@ peclconf() {
|
||||||
--with-http \
|
--with-http \
|
||||||
--with-http-zlib-dir=%{_prefix} \
|
--with-http-zlib-dir=%{_prefix} \
|
||||||
--with-http-libcurl-dir=%{_prefix} \
|
--with-http-libcurl-dir=%{_prefix} \
|
||||||
--with-http-libidn-dir=%{_prefix} \
|
--without-http-libidn-dir \
|
||||||
|
--without-http-libidn2-dir \
|
||||||
|
--without-http-libidnkit-dir \
|
||||||
|
--without-http-libidnkit2-dir \
|
||||||
|
--with-http-libicu-dir=%{_prefix} \
|
||||||
--with-http-libevent-dir=%{_prefix} \
|
--with-http-libevent-dir=%{_prefix} \
|
||||||
|
--with-http-libbrotli-dir=%{_prefix} \
|
||||||
--with-libdir=%{_lib} \
|
--with-libdir=%{_lib} \
|
||||||
--with-php-config=$1
|
--with-php-config=$1
|
||||||
|
grep IDNA config.h
|
||||||
}
|
}
|
||||||
cd NTS
|
cd NTS
|
||||||
%{_bindir}/phpize
|
%{_bindir}/phpize
|
||||||
|
@ -216,17 +181,16 @@ done
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if pkg-config libcurl --atleast-version=7.42
|
|
||||||
then
|
|
||||||
# Headers order issue with new libcurl
|
|
||||||
rm */tests/{bug69313,client020,client025}.phpt
|
|
||||||
fi
|
|
||||||
%if "%{php_version}" < "5.4"
|
|
||||||
# Known failed test with 5.3.3 (need investigations)
|
|
||||||
export REPORT_EXIT_STATUS=0
|
|
||||||
%else
|
|
||||||
export REPORT_EXIT_STATUS=1
|
export REPORT_EXIT_STATUS=1
|
||||||
%endif
|
export SKIP_ONLINE_TESTS=1
|
||||||
|
|
||||||
|
: ignore tests with erratic results
|
||||||
|
rm ?TS/tests/client021.phpt
|
||||||
|
rm ?TS/tests/client022.phpt
|
||||||
|
rm ?TS/tests/client027.phpt
|
||||||
|
# sometime on s390x
|
||||||
|
rm ?TS/tests/client016.phpt
|
||||||
|
rm ?TS/tests/client028.phpt
|
||||||
|
|
||||||
# Shared needed extensions
|
# Shared needed extensions
|
||||||
modules=""
|
modules=""
|
||||||
|
@ -245,7 +209,6 @@ done
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
: Upstream test suite NTS extension
|
: Upstream test suite NTS extension
|
||||||
cd NTS
|
cd NTS
|
||||||
SKIP_ONLINE_TESTS=1 \
|
|
||||||
TEST_PHP_EXECUTABLE=%{__php} \
|
TEST_PHP_EXECUTABLE=%{__php} \
|
||||||
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
|
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
|
||||||
NO_INTERACTION=1 \
|
NO_INTERACTION=1 \
|
||||||
|
@ -262,7 +225,6 @@ NO_INTERACTION=1 \
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
: Upstream test suite ZTS extension
|
: Upstream test suite ZTS extension
|
||||||
cd ../ZTS
|
cd ../ZTS
|
||||||
SKIP_ONLINE_TESTS=1 \
|
|
||||||
TEST_PHP_EXECUTABLE=%{__ztsphp} \
|
TEST_PHP_EXECUTABLE=%{__ztsphp} \
|
||||||
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
|
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
|
||||||
NO_INTERACTION=1 \
|
NO_INTERACTION=1 \
|
||||||
|
@ -271,18 +233,8 @@ NO_INTERACTION=1 \
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
%{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
if [ $1 -eq 0 ] ; then
|
|
||||||
%{pecl_uninstall} %{proj_name} >/dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{?_licensedir:%license NTS/LICENSE}
|
%license NTS/LICENSE
|
||||||
%doc %{pecl_docdir}/%{proj_name}
|
%doc %{pecl_docdir}/%{proj_name}
|
||||||
%config(noreplace) %{php_inidir}/%{ini_name}
|
%config(noreplace) %{php_inidir}/%{ini_name}
|
||||||
%{php_extdir}/%{pecl_name}.so
|
%{php_extdir}/%{pecl_name}.so
|
||||||
|
@ -303,6 +255,117 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 7 2019 Remi Collet <remi@remirepo.net> - 3.2.1-1
|
||||||
|
- update to 3.2.1
|
||||||
|
|
||||||
|
* Mon Feb 4 2019 Remi Collet <remi@remirepo.net> - 3.2.0-3
|
||||||
|
- ignore failed test with recent libcurl
|
||||||
|
reported as https://github.com/m6w6/ext-http/issues/84
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 11 2018 Remi Collet <remi@remirepo.net> - 3.2.0-2
|
||||||
|
- Rebuild for https://fedoraproject.org/wiki/Changes/php73
|
||||||
|
|
||||||
|
* Thu Jul 19 2018 Remi Collet <remi@remirepo.net> - 3.2.0-1
|
||||||
|
- update to 3.2.0 (php 7, stable)
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0~RC1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 3.2.0~RC1-4
|
||||||
|
- Rebuild for ICU 62
|
||||||
|
|
||||||
|
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 3.2.0~RC1-3
|
||||||
|
- Rebuild for ICU 61.1
|
||||||
|
|
||||||
|
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 3.2.0~RC1-2
|
||||||
|
- Rebuild for ICU 61.1
|
||||||
|
|
||||||
|
* Tue Apr 10 2018 Remi Collet <remi@remirepo.net> - 3.2.0~RC1-1
|
||||||
|
- update to 3.2.0RC1
|
||||||
|
- enable brotli compression support
|
||||||
|
|
||||||
|
* Thu Feb 15 2018 Remi Collet <remi@remirepo.net> - 3.1.1~RC1-5
|
||||||
|
- rebuild for libevent
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1~RC1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 29 2018 Remi Collet <remi@remirepo.net> - 3.1.1~RC1-3
|
||||||
|
- undefine _strict_symbol_defs_build
|
||||||
|
|
||||||
|
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 3.1.1~RC1-2
|
||||||
|
- Rebuild for ICU 60.1
|
||||||
|
|
||||||
|
* Tue Oct 03 2017 Remi Collet <remi@fedoraproject.org> - 3.1.1~RC1-1
|
||||||
|
- update to 3.1.1RC1
|
||||||
|
- rebuild for https://fedoraproject.org/wiki/Changes/php72
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 9 2017 Remi Collet <remi@remirepo.net> - 3.1.0-4
|
||||||
|
- drop dependency on libidn, only use libicu
|
||||||
|
|
||||||
|
* Fri Apr 28 2017 Remi Collet <remi@fedoraproject.org> - 3.1.0-3
|
||||||
|
- add missing BR on openssl-devel for new libcurl (FTBFS from Koschei)
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 12 2016 Remi Collet <remi@fedoraproject.org> - 3.1.0-1
|
||||||
|
- Update to 3.1.0 (php 7, stable)
|
||||||
|
|
||||||
|
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> - 3.0.1-2
|
||||||
|
- rebuild for https://fedoraproject.org/wiki/Changes/php71
|
||||||
|
|
||||||
|
* Mon Jun 27 2016 Remi Collet <remi@fedoraproject.org> - 3.0.1-1
|
||||||
|
- Update to 3.0.1 (php 7, stable)
|
||||||
|
|
||||||
|
* Sat Mar 26 2016 Remi Collet <remi@fedoraproject.org> - 2.5.6-2
|
||||||
|
- add upstream patch to skip a online test
|
||||||
|
fix FTBFS detected by Koschei
|
||||||
|
|
||||||
|
* Wed Mar 9 2016 Remi Collet <remi@fedoraproject.org> - 2.5.6-1
|
||||||
|
- Update to 2.5.6 (stable)
|
||||||
|
|
||||||
|
* Wed Feb 10 2016 Remi Collet <remi@fedoraproject.org> - 2.5.5-3
|
||||||
|
- drop scriptlets (replaced by file triggers in php-pear)
|
||||||
|
- cleanup
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 7 2015 Remi Collet <remi@fedoraproject.org> - 2.5.5-1
|
||||||
|
- Update to 2.5.5 (stable)
|
||||||
|
|
||||||
|
* Fri Sep 25 2015 Remi Collet <remi@fedoraproject.org> - 2.5.3-1
|
||||||
|
- Update to 2.5.3 (stable)
|
||||||
|
|
||||||
|
* Thu Sep 10 2015 Remi Collet <remi@fedoraproject.org> - 2.5.2-1
|
||||||
|
- Update to 2.5.2 (stable)
|
||||||
|
|
||||||
|
* Tue Jul 28 2015 Remi Collet <remi@fedoraproject.org> - 2.5.1-1
|
||||||
|
- Update to 2.5.1 (stable)
|
||||||
|
- raise dependency on raphf 1.1.0
|
||||||
|
|
||||||
|
* Wed Jul 15 2015 Remi Collet <remi@fedoraproject.org> - 2.5.0-1
|
||||||
|
- update to 2.5.0
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-0.2.RC1
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 22 2015 Remi Collet <remi@fedoraproject.org> - 2.5.0-0.1.RC1
|
||||||
|
- update to 2.5.0RC1 (beta)
|
||||||
|
|
||||||
* Wed Apr 08 2015 Remi Collet <remi@fedoraproject.org> - 2.4.3-1
|
* Wed Apr 08 2015 Remi Collet <remi@fedoraproject.org> - 2.4.3-1
|
||||||
- Update to 2.4.3
|
- Update to 2.4.3
|
||||||
- add dependencies on pecl/json_post and pecl/apfd (fedora < 22)
|
- add dependencies on pecl/json_post and pecl/apfd (fedora < 22)
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
--TEST--
|
|
||||||
querystring offset set
|
|
||||||
--SKIPIF--
|
|
||||||
<?php
|
|
||||||
include "skipif.inc";
|
|
||||||
?>
|
|
||||||
--FILE--
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo "Test\n";
|
|
||||||
|
|
||||||
$qs = new http\QueryString("foo=bar&bar=baz");
|
|
||||||
echo $qs,"\n";
|
|
||||||
$qs["foo"] = "baz";
|
|
||||||
echo $qs,"\n";
|
|
||||||
?>
|
|
||||||
===DONE===
|
|
||||||
--EXPECT--
|
|
||||||
Test
|
|
||||||
foo=bar&bar=baz
|
|
||||||
foo=baz&bar=baz
|
|
||||||
===DONE===
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
32be010a0e4b1125c2797fa6c28b8cab pecl_http-2.4.3.tgz
|
SHA512 (pecl_http-3.2.1.tgz) = e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
|
||||||
|
|
20
upload.inc
20
upload.inc
|
@ -1,20 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
include "server.inc";
|
|
||||||
|
|
||||||
serve(function($client) {
|
|
||||||
$request = new http\Message($client, false);
|
|
||||||
|
|
||||||
if ($request->getHeader("Expect") === "100-continue") {
|
|
||||||
$response = new http\Env\Response;
|
|
||||||
$response->setEnvRequest($request);
|
|
||||||
$response->setResponseCode(100);
|
|
||||||
$response->send($client);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* return the initial message as response body */
|
|
||||||
$response = new http\Env\Response;
|
|
||||||
/* avoid OOM with $response->getBody()->append($request); */
|
|
||||||
$request->toStream($response->getBody()->getResource());
|
|
||||||
$response->send($client);
|
|
||||||
});
|
|
Loading…
Reference in New Issue