History log of /PHP-5.4/ext/standard/ftp_fopen_wrapper.c (Results 76 – 100 of 121)
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 ...


# e8823a20 25-Feb-2003 Ilia Alshanetsky

Fixed bug #22402 (opening of ftp for read/write could fail due to invalid
return code handling).
Solution suggested by jan@jancm.org


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


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 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
# ababfedb 25-Nov-2002 Stefan Esser

tmp_line was possible uninitialised, resulting in crap error messages.


# 693fd4a3 25-Nov-2002 Ilia Alshanetsky

Added a check to determine if the file can be retrieved or sent.
This check also prevents incorrect error reporting in the event the retrieval
or the sending of the file cannot be accomplishe

Added a check to determine if the file can be retrieved or sent.
This check also prevents incorrect error reporting in the event the retrieval
or the sending of the file cannot be accomplished.

show more ...


Revision tags: BEFORE_RENAMING, php-4.3.0RC1
# 9cc24bad 08-Nov-2002 Ilia Alshanetsky

Fixed compile warning when compiling without openssl support.


# 3bfb7162 05-Nov-2002 Marcus Boerger

silence
#when i get this code right tmp_line is not initialised, too.
#Therefore php_stream_wrapper_log_error() will be called with
#undefined value, will it?


Revision tags: php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1
# 87c0577a 04-Oct-2002 Stefan Esser

some broken ftp servers return 32bit port numbers.


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 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 ...


# 9c6f7446 21-Sep-2002 Derick Rethans

- Fix ZTS build


# 714eb806 12-Sep-2002 Stefan Esser

made new ssl activate function the default.


Revision tags: RELEASE_0_91
# cbf5e3ca 08-Sep-2002 Stefan Esser

Added possibility to reuse an old SSL session id.

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


# 2c6dca5a 08-Sep-2002 Shane Caraveo

someone missed code requiring ssl


# 8dbcb26f 08-Sep-2002 Stefan Esser

ftp(s) fopen() wrapper does no longer ignore the ip returned by PASV.


# 9fca868f 08-Sep-2002 Stefan Esser

Control connection gets closed in ssl mode now, too.


# ec4a3fa6 08-Sep-2002 Stefan Esser

Added EXPERIMENTAL ftps fopen wrapper.

For now this leaks the control connection stream because you cannot
close the control connection in ssl mode before you read the data.


Revision tags: 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, php-4.2.3RC1
# 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 ...


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, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0, 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
# b10b24d5 16-Apr-2002 Wez Furlong

Always initialize wrappers, regardless of PG(allow_url_fopen).
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
A

Always initialize wrappers, regardless of PG(allow_url_fopen).
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim

show more ...


Revision tags: php-4.2.0RC4, php-4.2.0RC3
# e1d0a147 10-Apr-2002 Wez Furlong

Implement stream context and status notification system.
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago


12345