summaryrefslogtreecommitdiff
path: root/main/streams
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5SVN Migration2003-02-2716-6118/+0
|
* Another big commit (tm).Wez Furlong2003-02-279-154/+1290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed various compiler warnings.Ilia Alshanetsky2003-02-251-7/+10
|
* Use native flock() whenever possible.Ilia Alshanetsky2003-02-251-1/+1
|
* Added locking to streams.Ilia Alshanetsky2003-02-251-0/+28
| | | | | | | Allow PHP to automatically release locks on files when terminating the stream. Fixed bugs in the handling of the 3rd optional parameter to flock().
* Removed unnecessary assertsMoriyoshi Koizumi2003-02-241-2/+0
|
* MFB: Bunch of streams related fixes.Wez Furlong2003-02-243-16/+27
|
* ws fixes + missing $Id$ tags, headers addedfoobar2003-02-1911-18/+34
|
* Fix incorrect TSRMLS_CC usage.Wez Furlong2003-02-181-8/+6
| | | | | Fix com_create_guid()
* Fix stream_filter_(ap|pre)pend to allow attaching on the read and/or write ↵Sara Golemon2003-02-181-0/+4
| | | | chains. Automagically decide what to do if noone tells us.
* TSRMLS!Wez Furlong2003-02-182-5/+5
|
* Implement new filter API, stage 1.Wez Furlong2003-02-188-176/+556
| | | | | | | | | | | | This breaks user-space filters (for the time being), and those weird convert.* filters in ext/standard/filters.c The filters stack has been separated into one chain for read and one chain for write. The user-space stream_filter_append() type functions currently only operate on the read chain. They need extending to work with the write chain too.
* Move some of the streams header into supplementary filesWez Furlong2003-02-174-0/+290
| | | | | | # Just when you thought you had learned your way around the streams code; # I like to keep you all on your toes!
* Move streams files around a bit, to ease maintenance.Wez Furlong2003-02-167-0/+4254
I will update the win32 .dsp in a moment.