History log of /PHP-5.3/ext/standard/http_fopen_wrapper.c (Results 101 – 125 of 162)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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 ...


# f8eba6de 13-Feb-2003 Ilia Alshanetsky

Added 'x' mode for fopen() used on local files. This mode will create a new
file only if a file does not already exist (O_CREAT|O_EXCL).


# 1c3de808 13-Feb-2003 Wez Furlong

Avoid problems with chunk_size and auto_detect_line_endings.


# 3631b28f 07-Feb-2003 Sara Golemon

chunk_size should always be reduced to 1 while scanning response headers to avoid buffering the actual stream prior to any read calls.


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 71ab7dfc 03-Jan-2003 Ilia Alshanetsky

Fixed a memory leak that occurs if the location specified by redirect header
cannot be opened.


# c52cdad2 03-Jan-2003 Ilia Alshanetsky

Further fixes related to bug #21267.


# b506f5c8 31-Dec-2002 Sebastian Bergmann

Bump year.


# 88d26985 29-Dec-2002 Ilia Alshanetsky

Fixed bug #21267 (opening URLs that result in redirection to a relative
path was failing).


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3
# 49a99a98 05-Dec-2002 Marcus Boerger

-php_error -> php_error_docref
-removed some cases where emalloc result was tested


Revision tags: php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1, php-4.3.0pre2
# 3a8c49af 13-Oct-2002 Wez Furlong

Make PHP follow 301 correctly.
# There may be other cases that need handling properly; I'll have to spend
# some time investigating why we even need special cases now; it's got
# somethin

Make PHP follow 301 correctly.
# There may be other cases that need handling properly; I'll have to spend
# some time investigating why we even need special cases now; it's got
# something to do with Ilia's patch to fix memory leaks.

show more ...


Revision tags: RELEASE_1_0b1, php-4.3.0pre1, MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 76947703 28-Sep-2002 Wez Furlong

Rename streams functions to fit with naming conventions, adding aliases
for old functions where required.
Make use of recent changes to chunk size and timeout setting code.


# 4c2a9c09 26-Sep-2002 Wez Furlong

Remove an unused variable and a now-unused function.


# 3a67c677 26-Sep-2002 Wez Furlong

Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias

Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias for file_get_meta_data.

Fix Location header following which was broken in this commit:
http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h

show more ...


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


# 53b06238 14-Sep-2002 Jan Lehnardt

- fix typo in comment


Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3
# 40708850 07-Sep-2002 Ilia Alshanetsky

Added a check to ensure user_agent header is not sent if user_agent value
if blank.


# 3df412cf 07-Sep-2002 Wez Furlong

Fix a couple of bad pointer indirections (oops).
Lets stick to a single category of "http" for the "user_agent"
context override.


# ce686a63 07-Sep-2002 Sterling Hughes

commit the correct/up-to-date version


# 91df221a 07-Sep-2002 Sterling Hughes

@ Made the User-Agent that php's fopen wrappers send, configurable via
@ php.ini or via a stream context. (Sterling)

The stream context is untested, but it should/could work :) Either w

@ Made the User-Agent that php's fopen wrappers send, configurable via
@ php.ini or via a stream context. (Sterling)

The stream context is untested, but it should/could work :) Either way it
doesn't make the rest of the code bad. Wez -- please take a looksie for me
:)

show more ...


# 3c95ac6b 07-Sep-2002 Ilia Alshanetsky

Fixed a massive memory leak that occurs when an opened webpage returns
a non 200 return code.


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

NetWare related additions/modifications


Revision tags: php-4.2.3RC2, php-4.2.3RC1
# 3fe62cf0 11-Aug-2002 Wez Furlong

Missing word...


# bcef712a 11-Aug-2002 Wez Furlong

Properly implement TSRM parameters to the new log_error
function... (Thanks Marcus!)
Add a convenience macro for importing a stream from a zval.


# 5a21ab42 11-Aug-2002 Wez Furlong

Introduce an error stack for wrappers, to help prevent multiple errors
and warnings (some of which are bogus) when there are problems opening
streams.
Implement sanity check on the mode u

Introduce an error stack for wrappers, to help prevent multiple errors
and warnings (some of which are bogus) when there are problems opening
streams.
Implement sanity check on the mode used to open ftp and http connections.
This fixes Bug 12004.

show more ...


1234567