History log of /php-src/main/network.c (Results 176 – 200 of 261)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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

# cbf5e3ca 08-Sep-2002 Stefan Esser

Added possibility to reuse an old SSL session id.

Ugly but needed for f.e.: debians ftpd-ssl

Revision tags: php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2
# e8b50bc8 25-Aug-2002 Sebastian Bergmann

Fix ZTS build.

# a1f7bb12 25-Aug-2002 Marcus Boerger

use php_error_docref()

1234567891011