History log of /PHP-5.6/ext/openssl/xp_ssl.c (Results 151 – 169 of 169)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: PRE_NEW_VM_GEN_PATCH
# 7387db43 29-Sep-2004 Anantha Kesari H Y

Included select.h for NetWare


Revision tags: php-5.0.2, php-4.3.9
# 99e290f8 17-Sep-2004 Wez Furlong

Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using se

Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.

show more ...


Revision tags: php-5.0.2RC1, php-4.3.9RC3
# 0bc0ccce 10-Sep-2004 Wez Furlong

Fix Bug #29296: add explicit sslv2 and sslv3 transports


Revision tags: PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1, php-5.0.0RC4, php-5.0.0, php-4.3.8, php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1
# ad99c124 23-May-2004 Wez Furlong

Finally a fix for #23220: IIS does not cleanly close SSL connections.
Also enable the safe and recommended bug work around options in the SSL
context.


Revision tags: RELEASE_0_1_1, php-5.0.0RC2
# e9920ede 21-Apr-2004 Wez Furlong

Fix bug #28096 - stream_socket_accept() on an SSL server socket doesn't
enable SSL on the accepted socket.

- Add cipher list context option
- Add helpful hint about why SSL server so

Fix bug #28096 - stream_socket_accept() on an SSL server socket doesn't
enable SSL on the accepted socket.

- Add cipher list context option
- Add helpful hint about why SSL server socket fails with mysterious
error (eg: you need an SSL certificate for most ciphers).

show more ...


Revision tags: php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1, php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0, php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2, RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# dbeb4158 08-Jan-2004 Andi Gutmans

- A belated happy holidays and PHP 5


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1
# 22142c39 03-Dec-2003 Ilia Alshanetsky

Fixed compiler warning due to unused variables.


# 6d86bb9e 28-Nov-2003 Wez Furlong

(sort of) MFB, feof fix for sockets.


# eaf0942c 27-Nov-2003 Wez Furlong

Port liveness and SSL CA validation from 4.3 branch.
Make stream_select() work on ssl-enabled sockets again.


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3
# e087da60 08-Oct-2003 Wez Furlong

And this EOF flag...


Revision tags: BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7
# ad93053e 21-Sep-2003 Wez Furlong

Merge remaining code from 4.3 to fix #22238 in HEAD.


Revision tags: php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2, php-5.0.0b1, php-4.3.3RC1
# 6e274302 15-Jun-2003 Edin Kadribasic

Win32 build fixes for openssl


# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# a8711474 05-Apr-2003 Sara Golemon

Debug watches probably don't belong in CVS.


# 267db80b 18-Mar-2003 Wez Furlong

avoid unsigned issues.


Revision tags: php-4.3.2RC1
# 1b53a2d1 28-Feb-2003 Wez Furlong

New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
. stream_socket_server() - Creates a server socket.
. stream_socket_accept() - Accept

New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
. stream_socket_server() - Creates a server socket.
. stream_socket_accept() - Accept a client connection.
. stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.

show more ...


# 08b5f6b2 28-Feb-2003 foobar

- No need to include the ssl headers elsewhere but in ext/openssl
# ext/ftp doesn't use streams yet so it needs to include them.


# 57eabeea 27-Feb-2003 Ilia Alshanetsky

fixed compiler warnings.


# fd61f690 27-Feb-2003 Wez Furlong

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extension

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.

show more ...


1234567