History log of /PHP-7.1/ext/standard/http_fopen_wrapper.c (Results 51 – 75 of 258)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29
# 5a06ac88 13-Aug-2014 Dmitry Stogov

cleanup (use zend_string* instead of char*)


# 417ed16d 07-Aug-2014 Dmitry Stogov

Make stream->context indirect trough zend_resource (stream->ctx->ptr).
Fixed ext/standard/tests/streams/bug61115.phpt


Revision tags: php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31
# b4c2bd22 15-Jul-2014 Dmitry Stogov

Fixed compilation on Windows


# 236365a0 14-Jul-2014 Anatol Belski

fix C89 compat


# f3bf887e 12-Jul-2014 Daniel Lowrey

Bug #67609: TLS connections fail behind HTTP proxy


Revision tags: php-5.4.31RC1, php-5.5.15RC1
# 6bf24f4d 04-Jul-2014 Dmitry Stogov

Removed EG(active_symbol_table) and use corresponding value from EG(current_execute_data)


Revision tags: php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1
# b51f82f2 13-Jun-2014 Adam Harvey

Follow 308 Permanent Redirect responses.

Fixes bug #67430 (http:// wrapper doesn't follow 308 redirects).


Revision tags: php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4
# ccd9dab4 29-May-2014 Nikita Popov

Fix $http_response_header creation


Revision tags: php-5.4.29, php-5.5.13, php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2, php-5.5.12, php-5.4.28
# dd419d24 25-Apr-2014 Nikita Popov

Replace more convert_to_* calls


# 7652a977 18-Apr-2014 Dmitry Stogov

Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of zend_hash_move_forward() and family.


Revision tags: php-5.4.28RC1, php-5.5.12RC1, php-5.6.0beta1, php-5.4.27
# 6b2ed577 01-Apr-2014 Dmitry Stogov

Avoid unnecessry reallocations


Revision tags: php-5.5.11
# 887189ca 26-Mar-2014 Dmitry Stogov

Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing


Revision tags: php-5.5.11RC1, php-5.4.27RC1
# aa5f5530 17-Mar-2014 Dmitry Stogov

Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*


Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3
# 93428dc6 24-Feb-2014 Xinchen Hui

Refactor base64 to returning zend_string


Revision tags: php-5.4.26RC1, php-5.5.10RC1
# 43b03c74 18-Feb-2014 Xinchen Hui

Refacting smart_str


# 40e053e7 13-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.6.0alpha2, php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


Revision tags: php-5.4.24RC1, php-5.5.8RC1
# c8359811 18-Dec-2013 Kalle Sommer Nielsen

Kill a TSRMLS_FETCH() in php_stream_context_set() by passing TSRMLS_CC to it

# For mysqlnd: Relevant PHP_API_VERSION are put in place for cross version compatibility


# d14670cc 18-Dec-2013 Kalle Sommer Nielsen

Eliminate another TSRMLS_FETCH() in i_zend_is_true()

# Affected extensions have all been updated, ext/opcache and ext/zip
# both have macros for cross version compatibility


Revision tags: php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1
# 18b04b48 01-Oct-2013 Michael Wallner

Fixed bug #61548


Revision tags: php-5.5.4, php-5.4.20
# 8983a38d 11-Sep-2013 Adam Harvey

Request non-keep-alive connections by default in HTTP 1.1 requests.

As noted in FR #65634, at present we don't send a Connection request header
when the protocol version is set to 1.1, w

Request non-keep-alive connections by default in HTTP 1.1 requests.

As noted in FR #65634, at present we don't send a Connection request header
when the protocol version is set to 1.1, which means that RFC-compliant Web
servers should respond with keep-alive connections. Since there's no way of
reusing the HTTP connection at present, this simply means that PHP will appear
to hang until the remote server hits its connection timeout, which may be quite
some time.

This commit sends a "Connection: close" header by default when HTTP 1.1 (or
later) is requested by the user via the context options. It can be overridden
by specifying a Connection header in the context options. It isn't possible to
disable sending of the Connection header, but given "Connection: keep-alive" is
the same as the default HTTP 1.1 behaviour, I don't see this as a significant
issue — users who want to opt in for that still can.

As a note, although I've removed an efree(protocol_version), this doesn't
result in a memory leak: protocol_version is freed in the out: block at the end
of the function anyway, and there are no returns between the removed efree()
and the later call. Yes, I ran the tests with valgrind to check that. ☺

Implements FR #65634 (HTTP wrapper is very slow with protocol_version 1.1).

show more ...


Revision tags: php-5.5.4RC1, php-5.4.20RC1, php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2
# 92d27ccb 30-Jul-2013 Andrey Hristov

Constify streams API and a few other calls down the rabbit hole.
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.


Revision tags: php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17, php-5.5.0, php-5.3.27RC1, php-5.4.17RC1, php-5.5.0RC3, php-5.3.26, php-5.4.16, php-5.5.0RC2, php-5.3.26RC1, php-5.4.16RC1, php-5.5.0RC1, php-5.3.25, php-5.4.15, php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1, php-5.4.14, php-5.3.24, php-5.5.0beta3, php-5.3.24RC1, php-5.4.14RC1, php-5.5.0beta2, php-5.5.0beta1
# 1d4fcdff 15-Mar-2013 Sergey Akbarov

Fix bug #64433: does not follow redirects for non-3xx response codes


1234567891011