| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
semantick changes).
|
|
|
|
| |
This avoids flushing in readonly mode upon close
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Squashed commit of the following:
commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200
Use the new 'ZSTR' macros in the rest of the code.
Does not change anything to the generated code (thanks to compat macros) but cleaner.
commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200
Improve zend_string API
Add missing methods
|
| |
|
|
|
|
|
|
| |
Identifier named `PHP_STREAM_FREE_KEEP_RSRC` but use `PHP_STREAM_KEEP_RSRC`
Reference Line 131
|
| |
|
| |
|
| |
|
|
|
|
| |
zend_string_extend() and zend_string_truncate()
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 13acb7ec653c543c56437ed417c3889fbf54f608.
With the added capability to negotiate application layer protocols
via the TLS ALPN extension userland needs a method to access the
negotiated protocol on a given stream. The reverted commit added
a new stream_socket_crypto_info() function for this purpose.
This original approach was discarded in favor of using the
already-existing stream_get_meta_data() API which specifically
exists for just such purposes and requires the addition of no new
functions.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
* PHP-5.6:
Fixed bug (#69195 Inconsistent stream crypto values across versions)
Conflicts:
ext/standard/http_fopen_wrapper.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PHP 5.6.0 altered the semantics of the following constants:
- STREAM_CRYPTO_METHOD_SSLv23_CLIENT
- STREAM_CRYPTO_METHOD_SSLv23_SERVER
- STREAM_CRYPTO_METHOD_TLS_CLIENT
- STREAM_CRYPTO_METHOD_TLS_SERVER
Instead of representing the SSLv23_*() handshake methods the v23
constants were changed to allow only SSLv2 or SSLv3 connections.
Likewise, the TLS methods were modified from using only the TLSv1
handshake to allowing TLS1,1.1, and 1.2. This created a situation
in which users upgrading from previous versions faced a potential
security degradation if they did not update code to use different
constants. In the interest of compatibility across PHP versions
the original semantics have been restored with the following
caveat:
**IMPORTANT**
The SSLv23 client/server methods will no longer negotiate the use
of the insecure SSLv2 or SSLv3 protocols by default. Users wishing
to allow these protocols must explicitly add them to the method
bitmask via the appropriate flags.
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* PHP-5.6:
Fix stream_select() issue with OpenSSL buffer
Conflicts:
main/streams/streams.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure data from OpenSSL internal buffer has been
transfered to PHP stream buffer before a select()
emulation operation is performed
Addresses bug #65137
https://bugs.php.net/bug.php?id=65137
Conflicts:
ext/openssl/xp_ssl.c
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
main/streams/memory.c
|
| | |
| | |
| | |
| | | |
main/streams/memory.c
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* pull-request/1142:
Fixed wrong parameter type of php_stream_mmap_range()
|
| | | |
| | | |
| | | |
| | | |
| | | | |
There are several warings about this.
The mode type should be php_stream_mmap_access_t but not php_stream_mmap_operate_t
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* tls-alpn:
Improve test to target specific issue
Misc updates/cleanup
Add TLS ALPN extension support in crypto client/server streams
Add stream_socket_crypto_info() function
Update for compatibility with newer openssl libs
|
| | | | | |
|
| |/ / /
|/| | | |
|
|/ / /
| | |
| | |
| | | |
reallocations and improve string reuse.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* pull-request/1032:
do_fstat changes
|
| | | |
| | | |
| | | |
| | | | |
Check return values of 'do_fstat' function in all places.
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-5.6:
fix group name handling
Conflicts:
main/streams/plain_wrapper.c
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | | |
* PHP-5.5:
fix group name handling
|
| | | | |
|
| |_|/
|/| | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
Conflicts:
NEWS
main/streams/filter.c
|
| |\ \
| | |/
| | |
| | |
| | | |
Conflicts:
NEWS
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|