History log of /PHP-5.4/ext/standard/fsock.c (Results 26 – 50 of 136)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 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 ...


Revision tags: php-4.3.1
# 0a18a9d7 16-Feb-2003 Wez Furlong

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file de

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.

show more ...


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# ef9ba94c 09-Jan-2003 Ilia Alshanetsky

Fixed bug #21529 (memory corruption by fsockopen()).


# b506f5c8 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1, php-4.3.0pre2
# 2909e5c9 24-Oct-2002 Sascha Schumann

centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances


# 70b796b1 13-Oct-2002 Wez Furlong

(php_socket_errno) win32 errno compatible macro.
(php_socket_strerror) win32 compatible strerror replacement.
Add an E_NOTICE when a socket write fails.


Revision tags: RELEASE_1_0b1, php-4.3.0pre1, MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 696e0a23 25-Sep-2002 Wez Furlong

Implement persistent streams. (for pfsockopen).
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c


# 714eb806 12-Sep-2002 Stefan Esser

made new ssl activate function the default.


Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3
# 8b8f1e05 05-Sep-2002 Anantha Kesari H Y

NetWare related additions/modifications


Revision tags: php-4.2.3RC2
# 149ad05b 24-Aug-2002 Marcus Boerger

php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de


Revision tags: php-4.2.3RC1
# c20c3fc6 20-Aug-2002 Derick Rethans

- Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974)


Revision tags: dev
# a64eceef 22-Jul-2002 Jason Greene

Switch streams socket abstraction to use a timeval structure instead of an
integer to allow subsecond timeouts.

This supports the previous behavior of fsockopen()
Fixes bug #16261


Revision tags: php-4.2.2
# 99b495b2 13-Jul-2002 Sander Roobol

Fixed win32 build


# f0599327 13-Jul-2002 foobar

nuke unused variable warning


Revision tags: INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0
# c6a36d58 11-Jun-2002 Jason Greene

@Impelemented timeout functionality, and fixed error handling of fsockopen() on win32
Also fixed error handling on unix (micropatch)

Closes Bug #14740


Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2, php-4.2.1RC1, php-4.2.0
# 928bae9c 19-Apr-2002 Wez Furlong

Make scheme part decoding rfc2396 compliant.
Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2://
Tidy up old socket/network code/comments.


Revision tags: php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1
# 659a071e 20-Mar-2002 Wez Furlong

Streams are all tracked as resources now.
Add some logic that will help track down leaks
when debug is enabled.


# e3a884f5 18-Mar-2002 Wez Furlong

fix error message which appeared even if no ssl mode was selected


# c9d5e137 18-Mar-2002 Wez Furlong

TSRMLS related work on streams, as discussed with Zeev.
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make


# 436e339b 17-Mar-2002 Wez Furlong

Fix for Bug #16121: make unix socket names binary safe.
# Could be applied to 4.2 branch, but I don't have a working copy, and
# I don't think it's amazingly critical.


# 1d3ad85a 17-Mar-2002 Wez Furlong

fix win32 warning and ming leak


# 2be6527f 16-Mar-2002 Harald Radi

fixed TSRM build


# 5d0c53ee 16-Mar-2002 Wez Furlong

Fix some issues with gzFile and fsockopen.


# 52982c42 16-Mar-2002 Wez Furlong

This should help with some build problems/warnings under win32.
Someone still needs to add the streams.c file to the MSVC
project/workspace though (there are so many that I don't really know

This should help with some build problems/warnings under win32.
Someone still needs to add the streams.c file to the MSVC
project/workspace though (there are so many that I don't really know
what I am doing :-).

show more ...


123456