History log of /PHP-8.0/main/network.c (Results 151 – 175 of 239)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8e3f23e3 19-Feb-2003 foobar

ws fixes + missing $Id$ tags, headers added


# 4934744b 17-Feb-2003 Zeev Suraski

Win32 build improvements


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


# 77b98f86 13-Feb-2003 Wez Furlong

Potential fixes for #21809 and #22099.


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 2c5d4b8c 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0
# 90c47866 22-Dec-2002 Wez Furlong

A Simple fix for Bug #12360 (fsockopen timeout doesn't work).

Analysis:
On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would
attempt to connect to each possible a

A Simple fix for Bug #12360 (fsockopen timeout doesn't work).

Analysis:
On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would
attempt to connect to each possible address that matched the requested IP.

If the remote host:port combination are dropping packets this would cause the
first connection to timeout (after waiting for the full timeout duration).

PHP would then attempt the second address and wait the full duration again.

Solution:
If the first connection attempt times out, abort the connection loop.

show more ...


Revision tags: php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1
# f8486bc3 29-Oct-2002 Wez Furlong

Fix for #19508 by poleson@verio.net.


Revision tags: php-4.3.0pre2
# ec400b8d 19-Oct-2002 Ilia Alshanetsky

Silence compile warning, when compiling --with-openssl.


# 8ca0b28b 19-Oct-2002 Ilia Alshanetsky

Fixed a typo.


# 7de1f45a 18-Oct-2002 Wez Furlong

Revert my last bogus commit.
Change the comparison to something that is less likely to inspire me to
make the same mistake again...


# e0c02649 18-Oct-2002 Wez Furlong

Improve EOF detection. Fixes #19970.


# be560650 14-Oct-2002 Wez Furlong

Implement better SSL error handling.


# 0bcd2ccb 13-Oct-2002 Wez Furlong

A much better probable fix for #16114.


# bc0948bb 13-Oct-2002 Wez Furlong

Probable fix for #16114


# 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
# 077fe52d 05-Oct-2002 Wez Furlong

This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for use

This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for user streams - it still fails but that is due to an output
buffering bug.

show more ...


# a4ec211e 04-Oct-2002 Sascha Schumann

Add a few notes


# 9c5883bd 04-Oct-2002 Wez Furlong

replace dont_block with a flag.


# 4f7e6dad 04-Oct-2002 Sascha Schumann

Improve the general behaviour of stream_gets and fix its semantics
with regard to sockets. The behaviour should be aligned with PHP 4.2 now.
This has been verified to some degree.

If

Improve the general behaviour of stream_gets and fix its semantics
with regard to sockets. The behaviour should be aligned with PHP 4.2 now.
This has been verified to some degree.

If the underlying stream operations block when no new data is readable,
we need to take extra precautions.

If there is buffered data available, we check for a EOL. If it exists,
we pass the data immediately back to the caller. This saves a call
to the read implementation and will not block where blocking
is not necessary at all.

If the stream buffer contains more data than the caller requested,
we can also avoid that costly step and simply return that data.

show more ...


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 9509c209 28-Sep-2002 Wez Furlong

remove chunk size setting code (it's now in streams.c).
Move timeout setting code.


# 696e0a23 25-Sep-2002 Wez Furlong

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


# c74b9fac 23-Sep-2002 Wez Furlong

Implement a default_socket_timeout and auto_detect_line_endings ini options.
Also move user_agent from BG to FG.


# 4d8a07d5 23-Sep-2002 Wez Furlong

Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle

Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.

show more ...


# 714eb806 12-Sep-2002 Stefan Esser

made new ssl activate function the default.


Revision tags: RELEASE_0_91
# 1e09610f 09-Sep-2002 Anantha Kesari H Y

NetWare related changes/modifications


12345678910