Michael Wallner [Wed, 18 Feb 2015 09:33:35 +0000 (10:33 +0100)]
Merge branch 'master' into phpng
Conflicts:
package.xml
php_http_client_curl.c
php_http_env.c
php_http_env_response.c
php_http_header_parser.c
php_http_message.c
php_http_message_body.c
php_http_message_parser.c
php_http_misc.c
php_http_strlist.c
php_http_url.h
tests/info.phpt
Michael Wallner [Wed, 18 Feb 2015 07:30:23 +0000 (08:30 +0100)]
hashtable==zend_array now
Michael Wallner [Tue, 17 Feb 2015 21:20:54 +0000 (22:20 +0100)]
administrativa
Michael Wallner [Tue, 17 Feb 2015 21:20:23 +0000 (22:20 +0100)]
fix build with old libcurl
Michael Wallner [Tue, 17 Feb 2015 19:36:38 +0000 (20:36 +0100)]
remove dead code
Michael Wallner [Tue, 17 Feb 2015 19:21:43 +0000 (20:21 +0100)]
remove strlist api
Michael Wallner [Tue, 17 Feb 2015 19:21:24 +0000 (20:21 +0100)]
hoppala; removed actually living code
Michael Wallner [Tue, 17 Feb 2015 14:09:21 +0000 (15:09 +0100)]
remove dead code
Michael Wallner [Tue, 17 Feb 2015 14:08:50 +0000 (15:08 +0100)]
don't generate stat based etags for temp/mem streams
Michael Wallner [Tue, 17 Feb 2015 13:30:38 +0000 (14:30 +0100)]
test header parser errors and streaming
Michael Wallner [Tue, 17 Feb 2015 13:02:55 +0000 (14:02 +0100)]
test 4-byte sequences
Michael Wallner [Tue, 17 Feb 2015 13:02:45 +0000 (14:02 +0100)]
better error message
Michael Wallner [Tue, 17 Feb 2015 10:43:07 +0000 (11:43 +0100)]
(gcov) tests fixup
Michael Wallner [Tue, 17 Feb 2015 10:19:12 +0000 (11:19 +0100)]
better errors from the headers parser
Michael Wallner [Mon, 16 Feb 2015 19:24:41 +0000 (20:24 +0100)]
let the header parser fail more accurately
Michael Wallner [Mon, 16 Feb 2015 18:43:06 +0000 (19:43 +0100)]
add http\Header\Parser::stream()
Michael Wallner [Mon, 16 Feb 2015 17:41:55 +0000 (18:41 +0100)]
typo
Michael Wallner [Mon, 16 Feb 2015 17:38:56 +0000 (18:38 +0100)]
fix the stream message parser
* it could not handle a single header line without EOL
* it failed with intermediary data > 4096 bytes
Michael Wallner [Mon, 16 Feb 2015 17:00:55 +0000 (18:00 +0100)]
ignore disconnect exceptions
Michael Wallner [Mon, 16 Feb 2015 12:34:32 +0000 (13:34 +0100)]
test++
Michael Wallner [Mon, 16 Feb 2015 12:13:48 +0000 (13:13 +0100)]
fix ::toStream() in ZTS
Michael Wallner [Mon, 16 Feb 2015 09:25:52 +0000 (10:25 +0100)]
gitignore
Michael Wallner [Sun, 15 Feb 2015 19:35:39 +0000 (20:35 +0100)]
add missing constant
Michael Wallner [Sun, 15 Feb 2015 19:22:09 +0000 (20:22 +0100)]
changelog
Michael Wallner [Sun, 15 Feb 2015 13:54:12 +0000 (14:54 +0100)]
expose header parser
Michael Wallner [Sun, 15 Feb 2015 09:28:44 +0000 (10:28 +0100)]
fix test with non-openssl
Michael Wallner [Sun, 15 Feb 2015 08:59:21 +0000 (09:59 +0100)]
fix build without libevent2 and TLS_AUTH_SRP support
Michael Wallner [Fri, 13 Feb 2015 17:19:29 +0000 (18:19 +0100)]
wording and typos
Michael Wallner [Fri, 13 Feb 2015 14:18:28 +0000 (15:18 +0100)]
administrativa
Michael Wallner [Fri, 13 Feb 2015 12:15:39 +0000 (13:15 +0100)]
use the chunked_encode stream filter
Michael Wallner [Fri, 13 Feb 2015 11:40:55 +0000 (12:40 +0100)]
buffer headers instead of single-writes
Michael Wallner [Fri, 13 Feb 2015 10:21:06 +0000 (11:21 +0100)]
partially replace the loop with a duff device
Michael Wallner [Fri, 13 Feb 2015 08:50:40 +0000 (09:50 +0100)]
fix Content-Range messages; remove superfluous Content-Lenght:0 header
Michael Wallner [Thu, 12 Feb 2015 22:09:35 +0000 (23:09 +0100)]
add test
Michael Wallner [Thu, 12 Feb 2015 21:51:44 +0000 (22:51 +0100)]
content range has precendence; fix bug to detect max length
Michael Wallner [Thu, 12 Feb 2015 21:44:31 +0000 (22:44 +0100)]
tests++
Michael Wallner [Thu, 12 Feb 2015 21:44:11 +0000 (22:44 +0100)]
rename info tests
Michael Wallner [Thu, 12 Feb 2015 18:21:46 +0000 (19:21 +0100)]
http2 test
Michael Wallner [Thu, 12 Feb 2015 12:21:50 +0000 (13:21 +0100)]
add http\Client::getAvailable{Options,Configuration}()
Michael Wallner [Thu, 12 Feb 2015 10:14:31 +0000 (11:14 +0100)]
don't create persistent easy handles for non-persistent multi handles
Michael Wallner [Thu, 12 Feb 2015 10:14:04 +0000 (11:14 +0100)]
yep, moved there. ugh
Michael Wallner [Thu, 12 Feb 2015 10:13:37 +0000 (11:13 +0100)]
moved
Michael Wallner [Thu, 12 Feb 2015 10:12:42 +0000 (11:12 +0100)]
reorder
Michael Wallner [Wed, 11 Feb 2015 15:11:46 +0000 (16:11 +0100)]
reduce count of online tests
Michael Wallner [Wed, 11 Feb 2015 11:12:26 +0000 (12:12 +0100)]
add pipelining test
Michael Wallner [Wed, 11 Feb 2015 09:42:34 +0000 (10:42 +0100)]
no Content-Length on CONNECT responses
Michael Wallner [Wed, 11 Feb 2015 09:42:25 +0000 (10:42 +0100)]
typo
Michael Wallner [Tue, 10 Feb 2015 16:38:50 +0000 (17:38 +0100)]
implement curl multi options through http\Client::configure()
- add http\Client::configure()
* options:
* bool(use_eventloop)
* bool(pipelining)
* int(maxconnects)
* int(max_total_connections)
* int(max_host_connections)
* int(max_pipeling_length)
* int(chunk_length_penalty_size)
* int(content_length_penalty_size)
* array(pipelining_site_bl)
* array(pipelining_server_bl)
- deprecate http\Client::enablePipelining()
- deprecate http\Client::enableEvents()
Michael Wallner [Mon, 9 Feb 2015 10:44:12 +0000 (11:44 +0100)]
fix leak
Michael Wallner [Mon, 9 Feb 2015 09:48:58 +0000 (10:48 +0100)]
fix leaks dues to upmerges
Michael Wallner [Mon, 9 Feb 2015 09:48:40 +0000 (10:48 +0100)]
fix retval
Michael Wallner [Mon, 9 Feb 2015 09:48:25 +0000 (10:48 +0100)]
TSRMLS--
Michael Wallner [Mon, 9 Feb 2015 08:25:24 +0000 (09:25 +0100)]
don't release twice
Michael Wallner [Mon, 9 Feb 2015 08:24:09 +0000 (09:24 +0100)]
copy driver name
Michael Wallner [Sun, 8 Feb 2015 15:23:13 +0000 (16:23 +0100)]
Merge branch 'master' into phpng
Conflicts:
php_http_client.c
php_http_client.h
php_http_client_curl.c
php_http_env_response.c
php_http_info.c
php_http_message.c
php_http_object.c
php_http_object.h
php_http_url.c
php_http_url.h
Michael Wallner [Sat, 7 Feb 2015 11:30:04 +0000 (12:30 +0100)]
Merge branch 'R_2_2'
Michael Wallner [Sat, 7 Feb 2015 11:29:47 +0000 (12:29 +0100)]
back to dev
Michael Wallner [Sat, 7 Feb 2015 11:25:56 +0000 (12:25 +0100)]
fix assertion
Michael Wallner [Sat, 7 Feb 2015 11:20:10 +0000 (12:20 +0100)]
Fixed Bug #69000 (http\Url breaks down with very long URL query strings)
Michael Wallner [Fri, 6 Feb 2015 14:32:57 +0000 (15:32 +0100)]
optimize frequent method calls
Michael Wallner [Fri, 6 Feb 2015 11:21:03 +0000 (12:21 +0100)]
remove cookies from transfer-info
it's only in netscape format and awfully slow anyway
Michael Wallner [Fri, 6 Feb 2015 11:13:19 +0000 (12:13 +0100)]
reduce cost of parsing http start line
Michael Wallner [Fri, 6 Feb 2015 11:00:40 +0000 (12:00 +0100)]
unix_socket_path request option
Michael Wallner [Thu, 5 Feb 2015 16:03:19 +0000 (17:03 +0100)]
switch from the deprecated ioctl to the seek function
Michael Wallner [Thu, 5 Feb 2015 15:26:43 +0000 (16:26 +0100)]
add test
Michael Wallner [Thu, 5 Feb 2015 15:26:19 +0000 (16:26 +0100)]
ensure options are applied before the headers are set
Michael Wallner [Thu, 5 Feb 2015 15:25:27 +0000 (16:25 +0100)]
since we use the curl write handler we can use curl's decoder
Michael Wallner [Thu, 5 Feb 2015 14:49:33 +0000 (15:49 +0100)]
verifystatus SSL request option support (OCSP)
Michael Wallner [Thu, 5 Feb 2015 14:22:17 +0000 (15:22 +0100)]
tlsauth SSL request option support
Michael Wallner [Thu, 5 Feb 2015 12:03:02 +0000 (13:03 +0100)]
implement restrictions on TE
Michael Wallner [Thu, 5 Feb 2015 10:18:19 +0000 (11:18 +0100)]
CURLOPT_PROXYHEADER support; default chunked encoding for stream
responses
Michael Wallner [Thu, 5 Feb 2015 10:17:16 +0000 (11:17 +0100)]
use url authority parser for CONNECT messages
Michael Wallner [Thu, 5 Feb 2015 10:16:25 +0000 (11:16 +0100)]
add authority parsing
Michael Wallner [Wed, 4 Feb 2015 14:10:53 +0000 (15:10 +0100)]
add CURLOPT_PINNEDPUBLICKEY
Michael Wallner [Wed, 4 Feb 2015 14:05:19 +0000 (15:05 +0100)]
administrativa
Michael Wallner [Wed, 4 Feb 2015 10:54:36 +0000 (11:54 +0100)]
update expectations how history requests look like
Michael Wallner [Wed, 4 Feb 2015 09:06:38 +0000 (10:06 +0100)]
fix curl compile checks
Michael Wallner [Wed, 4 Feb 2015 09:06:34 +0000 (10:06 +0100)]
check for HTTP2 support
Michael Wallner [Tue, 3 Feb 2015 19:09:38 +0000 (20:09 +0100)]
update response headers
Michael Wallner [Tue, 3 Feb 2015 14:35:15 +0000 (15:35 +0100)]
POC for HTTP2 support
Michael Wallner [Tue, 27 Jan 2015 04:19:47 +0000 (05:19 +0100)]
zend_string updates
Michael Wallner [Tue, 27 Jan 2015 03:35:58 +0000 (04:35 +0100)]
back to dev
Michael Wallner [Tue, 27 Jan 2015 03:27:56 +0000 (04:27 +0100)]
2.2.0
Michael Wallner [Thu, 22 Jan 2015 14:51:39 +0000 (15:51 +0100)]
simplify
Michael Wallner [Thu, 22 Jan 2015 14:51:26 +0000 (15:51 +0100)]
the leak is actually from zend_list
Michael Wallner [Thu, 22 Jan 2015 13:12:40 +0000 (14:12 +0100)]
fix message object reversion
Michael Wallner [Thu, 22 Jan 2015 11:52:50 +0000 (12:52 +0100)]
fix handling of indirect zvals of properties hashtables
Michael Wallner [Thu, 22 Jan 2015 10:08:12 +0000 (11:08 +0100)]
zend_read_property API update
Michael Wallner [Thu, 22 Jan 2015 08:56:18 +0000 (09:56 +0100)]
addref
Michael Wallner [Thu, 22 Jan 2015 08:52:14 +0000 (09:52 +0100)]
ext/standard API updates
Michael Wallner [Thu, 22 Jan 2015 08:34:35 +0000 (09:34 +0100)]
simplify
Michael Wallner [Wed, 21 Jan 2015 23:05:49 +0000 (00:05 +0100)]
fix env request
Michael Wallner [Wed, 21 Jan 2015 22:28:50 +0000 (23:28 +0100)]
fix env response
Michael Wallner [Wed, 21 Jan 2015 21:31:41 +0000 (22:31 +0100)]
fix env response cookies
Michael Wallner [Wed, 21 Jan 2015 20:56:56 +0000 (21:56 +0100)]
fix cainfo default configuration; fix array_merge
Michael Wallner [Wed, 21 Jan 2015 20:18:36 +0000 (21:18 +0100)]
fix poperty read handler and propro usage
Michael Wallner [Wed, 21 Jan 2015 16:10:29 +0000 (17:10 +0100)]
fix read_property handler (return_value lives on stack of zend_read_property)
Michael Wallner [Wed, 21 Jan 2015 16:09:48 +0000 (17:09 +0100)]
check string options for NULL
Michael Wallner [Wed, 21 Jan 2015 16:09:23 +0000 (17:09 +0100)]
more checks
Michael Wallner [Tue, 20 Jan 2015 14:16:56 +0000 (15:16 +0100)]
missing int->size_t