History log of /PHP-7.2/ext/standard/http_fopen_wrapper.c (Results 201 – 225 of 267)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 69094da0 20-Feb-2003 Ilia Alshanetsky

Revert accidental commit.


# 3bff5c04 20-Feb-2003 Ilia Alshanetsky

Fixed bug #22308 (optimized passthru, code is now ~40 times faster).


# a6ef609a 19-Feb-2003 Ilia Alshanetsky

Fixed bug #22283 (possible crash when opening relative URLs).


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


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


1234567891011