summaryrefslogtreecommitdiff
path: root/main/streams
Commit message (Collapse)AuthorAgeFilesLines
...
* compile before commit (gah!)Wez Furlong2005-07-181-1/+1
|
* Apparently our pipe detection code just above this isn't foolproof.Wez Furlong2005-07-181-0/+6
| | | | | Catch it here.
* - Fix problem with debug mode on selective machinesMarcus Boerger2005-07-171-2/+2
|
* Likely fix for bug #33140Ilia Alshanetsky2005-06-241-1/+7
|
* Fixed bug #31054 (safe_mode & open_basedir checks only check firstIlia Alshanetsky2005-06-201-8/+8
| | | | | include_path value).
* ZTS fix.Sebastian Bergmann2005-06-141-1/+1
|
* Added bindto socket context option.Ilia Alshanetsky2005-06-141-13/+34
|
* Don't crash when compiled with the zend memory manager disabled.Wez Furlong2005-06-061-3/+9
|
* Disabled search of recored separator outside of bufferDmitry Stogov2005-06-011-2/+2
|
* make it compile on Win32 (thanks to Sebastian for noticing)Antony Dovgal2005-05-241-1/+1
|
* Fixed bug #32810 (temporary files not using plain file wrapper).Ilia Alshanetsky2005-05-231-0/+1
|
* revert by Wez's requestAntony Dovgal2005-05-231-1/+1
|
* fix bug #32810 (fread after tmpfile() reads only 8192 bytes)Antony Dovgal2005-05-231-1/+2
|
* fix bugs #32742 (segmentation fault when the stream with a wrapper is not ↵Antony Dovgal2005-05-161-0/+15
| | | | | | | closed), #32171 (Userspace stream wrapper crashes PHP)
* fix inverted logic and thus Bug #27508Wez Furlong2005-05-111-1/+1
|
* Attempt to eliminate seek() prior to every write.Ilia Alshanetsky2005-04-291-1/+1
|
* revert the patch, the problem seems to be somewhere elseAntony Dovgal2005-04-111-4/+0
|
* Fold validation into an inlined function per Andi's suggestionSara Golemon2005-04-091-11/+20
|
* Bug #32614 - prevent from crahsing with segfault on solaris if fdopen() ↵Uwe Schindler2005-04-071-0/+3
| | | | fails - this fixes NOT the stdio-problem on solaris!
* Fixed bug #31363 (broken non-blocking flock()).Ilia Alshanetsky2005-04-061-1/+1
| | | | | # Patch by ian at snork dot net
* do not try to read after EOFAntony Dovgal2005-04-061-0/+4
|
* Fixed bug #30362 (stream_get_line() not reading data correctly).Ilia Alshanetsky2005-04-051-4/+10
|
* BugFix #32563Sara Golemon2005-04-041-2/+24
| | | | | | | | | | | | This could have been done in stream_wrapper_register() without introducing the slight performance hit on wrapper registration since anyone registering a wrapper in an extension should know better. The important thing is that since locate_wrapper makes the assumption that all schemes will be /^[a-z0-9+.-]+$/i Anything which registers them should make the same assumption as well.
* BugFix #31137 stream_filter_remove() segfaults when stream already closedSara Golemon2005-03-292-0/+8
|
* Silence a warning here on systems where off_t is a long long.Rasmus Lerdorf2005-03-171-1/+1
|
* - Fix commentAndi Gutmans2005-02-241-1/+1
|
* Increase maximum mmapable file size to 2mb from 1mb.Ilia Alshanetsky2005-02-231-1/+1
|
* Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so).Ilia Alshanetsky2005-02-221-11/+10
|
* add an open mode for the memory streams that allows the stream to takeWez Furlong2005-02-061-1/+1
| | | | | ownership of the passed-in buffer
* Fixed bug #29801 (Set limit on the size of mmapable data).Ilia Alshanetsky2004-11-151-1/+1
|
* add support for file://localhost/Rob Richards2004-11-111-13/+25
| | | | | support file:/// under windows again
* fix Win32 & Netware buildAntony Dovgal2004-10-281-0/+2
|
* fix bug #30388 (rename across filesystems loses ownership and permission info)Antony Dovgal2004-10-271-2/+25
|
* Fixed bug #30362 (stream_get_line() not handling end string correctly).Ilia Alshanetsky2004-10-111-1/+2
|
* Fix the return value check tooWez Furlong2004-10-111-1/+1
|
* check the correct flag for async connectWez Furlong2004-10-111-1/+1
|
* - Fixed bug #27183 (Userland stream wrapper segfaults on stream_write)Christian Stocker2004-10-081-3/+4
| | | | | Was applied to PHP 4 ages ago, but not to PHP 5 branch
* CLIB_STAT_PATCH check is redundant. So removing itAnantha Kesari H Y2004-09-231-1/+1
|
* Make new poll stuff work on win32 (and still be safe on unix)Wez Furlong2004-09-171-0/+3
|
* Fix for Bug #24189: possibly unsafe select(2) usage.Wez Furlong2004-09-171-45/+16
| | | | | | | | | | | | | | | | | | | | | | | | | We avoid the problem by using poll(2). On systems without poll(2) (older bsd-ish systems, and win32), we emulate poll(2) using select(2) and check for valid descriptors before attempting to access them via the descriptor sets. If an out-of-range descriptor is detected, an E_WARNING is raised suggesting that PHP should be recompiled with a larger FD_SETSIZE (and also with a suggested value). Most uses of select(2) in the source are to poll a single descriptor, so a couple of handy wrapper functions have been added to make this easier. A configure option --enable-fd-setsize has been added to both the unix and win32 builds; on unix we default to 16384 and on windows we default to 256. Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the highest numbered descriptor; 256 should be plenty for PHP scripts under windows (the default OS setting is 64). The win32 specific parts are untested; will do that now.
* Added stream_filter_remove() to cancel a stream filter.Sara Golemon2004-09-143-0/+93
| | | | | | | | | | Register filters as resources when instantiated by stream_filter_(ap|pre)pend(). Export php_stream_filter_flush() internal function to wind buffered data out of a particular filter until consumed by a later filter or sent to stream->readbuffer or stream->ops->write()
* Allocating hash tables should be done via macro, not directlySara Golemon2004-09-132-3/+3
|
* A little extra code to allow overriding plainfiles wrapper as wellSara Golemon2004-09-101-2/+25
|
* Add stream_wrapper_unregister()Sara Golemon2004-09-102-0/+73
| | | | | | | | | Disables a wrapper (user-defined or built-in) for the life of the request. Add stream_wrapper_restore() Restores the wrapper originally defined at the time the request started to the protocol name mentioned.
* Handle maxlen when stream can't be mmapedSara Golemon2004-09-081-0/+11
|
* fix bug #29723 (file_get_contents() fails with the file:// wrapper under Win32)Antony Dovgal2004-08-311-0/+4
|
* Using int when long should be used.Ilia Alshanetsky2004-08-221-1/+1
|
* Fix for #29256 from Dmitry, very slightly modifiedWez Furlong2004-08-101-2/+38
|
* zts fix...Wez Furlong2004-07-311-1/+1
|
* Misc sendto/recvfrom tweaks that have been pending here for a while...Wez Furlong2004-07-312-1/+18
|