summaryrefslogtreecommitdiff
path: root/main/streams/streams.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fix reading stream filters never notified about EOFMichael Wallner2006-04-201-2/+2
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* fix #35781 (stream_filter_append() can cause segfault)Antony Dovgal2005-12-231-2/+2
|
* fix #35740 (memory leak when including a directory)Antony Dovgal2005-12-201-0/+4
|
* MFH: list_entry -> zend_rsrc_list_entryfoobar2005-12-051-2/+2
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Disabled search of recored separator outside of bufferDmitry Stogov2005-06-011-2/+2
|
* 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)
* 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
|
* 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.
* Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so).Ilia Alshanetsky2005-02-221-11/+10
|
* 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
* Fixed bug #30362 (stream_get_line() not handling end string correctly).Ilia Alshanetsky2004-10-111-1/+2
|
* Added stream_filter_remove() to cancel a stream filter.Sara Golemon2004-09-141-0/+9
| | | | | | | | | | 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-131-2/+2
|
* A little extra code to allow overriding plainfiles wrapper as wellSara Golemon2004-09-101-2/+25
|
* Add stream_wrapper_unregister()Sara Golemon2004-09-101-0/+17
| | | | | | | | | 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
|
* Looks like Sara forgot to change this too.Wez Furlong2004-07-131-1/+1
|
* Fix file_get_contents() bug...Wez Furlong2004-07-121-0/+2
|
* RIP: greedy ready problemsWez Furlong2004-07-101-1/+2
| | | | | | This allows people to use fread($fp, filesize($filename)) for regular files, but packet-based non-greedy reads for everything else.
* Fix for Bug #28964 fread "greedy" behaviourWez Furlong2004-06-291-0/+3
|
* BugFix#28868 (Part Two): This fixes thread unsafety in the userspaceSara Golemon2004-06-211-1/+1
| | | | | filters which relates to the fix just applied for userspace wrappers.
* BugFix#28868: Wrapper hash not thread-safe.Sara Golemon2004-06-211-3/+21
| | | | | | | | Userdefined wrappers were being registered into a global wrapper hash which can cross threads. Termination of once instance then has the potential to leave an active stream in another instance with no wrapper leading to segfault.
* Fix #25939 for good this time.Wez Furlong2004-05-271-1/+1
| | | | | # How could I miss this??
* This leaks when a stream opener proxy opens another stream.Sara Golemon2004-04-011-0/+3
|
* BugFix#27619Sara Golemon2004-03-311-0/+3
| | | | | | Filters not applied to pre-buffered stream data. (esp. http:// streams)
* add cast for qsort compare function.Wez Furlong2004-03-071-1/+1
| | | | | | Kinda ugly, but helps assert that we are doing the right thing as well as kill the warning there.
* Less magic pleaseWez Furlong2004-03-071-1/+4
|
* Cast the php_stream_dirent to a 'const char *' for estrndup() to avoid aJon Parise2004-03-011-1/+1
| | | | | compiler warning.
* Fix a bug in the persistent socket liveness checks and feof(); they wereWez Furlong2004-02-041-1/+2
| | | | | | | | | | | | | | | | | | using the default socket timeout of 60 seconds before returning the socket to the calling script. The reason they were using that value is that the same code is used for feof(), so the fix is allowing the caller to indicate the timeout value for liveness checks. A possible remaining issue now is that 0 second timeout[1] for pfsockopen is possibly too short; it's impossible to specify a sane value for all possible uses, so maybe we need a stream context or an .ini option to control this, or maybe use the timeout value that was passed to pfsockopen(). # [1] by timeout, I mean the time that PHP will wait for data on a # persistent socket before deciding if a new connection should be made; # NOT the timeout while waiting for a new connection to be established.
* 'Bug Fix': scandir, being a new function in PHP5 should have always been ↵Sara Golemon2004-01-281-0/+59
| | | | wrapper aware.
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Fix Win32 Build. mkdir/rmdir are macrosSara Golemon2003-12-131-4/+4
|
* Route mkdir()/rmdir() via wrapper ops.Sara Golemon2003-12-131-0/+30
| | | | | | Move current rmdir()/rmdir() code to plain_wrappers.c Implement mkdir()/rmdir() in ftp:// wrapper
* Be smarter about which systems should register unix transports.Wez Furlong2003-12-051-1/+1
| | | | | Fix skip conditions in these network tests
* Route php_stat() via streams/url_stat API (php_stream_stat_path).Sara Golemon2003-11-281-2/+33
| | | | | This enables fopen-wrappers support on stat() and related family calls.
* (sort of) MFB, feof fix for sockets.Wez Furlong2003-11-281-1/+7
|
* Fixed a memory leak.Ilia Alshanetsky2003-11-281-2/+2
|
* Fix for file:// wrapper parsing.Sara Golemon2003-11-231-1/+1
| | | | | (Cristiano Duarte <cunha17@uol.com.br>)
* - Always store the URI path in the streams structure, and expose it withDerick Rethans2003-11-031-17/+16
| | | | | stream_get_meta_data().
* A simpler patch to add file uri supportShane Caraveo2003-10-191-1/+7
|