summaryrefslogtreecommitdiff
path: root/main/streams
Commit message (Collapse)AuthorAgeFilesLines
* MFH (r.163) Handle maxlen when stream can't be mmapedSara Golemon2004-09-081-0/+11
|
* MFH: fix bug #29723 (file_get_contents() fails with the file:// wrapper ↵Antony Dovgal2004-08-311-0/+4
| | | | under Win32)
* MFH: Using int when long should be used.Ilia Alshanetsky2004-08-221-1/+1
|
* MFH: Fix for #29256Wez Furlong2004-08-101-2/+38
|
* MFH: zts fixWez Furlong2004-07-311-1/+1
|
* MFH: streams fixesWez Furlong2004-07-313-97/+140
|
* 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-213-4/+29
| | | | | filters which relates to the fix just applied for userspace wrappers.
* BugFix#28868: Wrapper hash not thread-safe.Sara Golemon2004-06-212-6/+23
| | | | | | | | 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??
* Fix silly mistake.Wez Furlong2004-05-262-4/+4
| | | | | Thanks Antony :)
* *sigh*, obviously, we need this to be able to use sapi_module.nameWez Furlong2004-05-251-0/+1
|
* DEBUG -> PHP_DEBUGWez Furlong2004-05-251-1/+1
|
* check if it matches... not if it doesn't...Wez Furlong2004-05-251-1/+1
|
* In debug mode, under CLI don't close stderr.Wez Furlong2004-05-251-0/+9
| | | | | | | | This is so that we can see any error reports. # for extra paranoia, could limit this check to happen only after the script is # finished running.
* Bugfix #28300 Userspace stream/filter names don't need to be lowercased.Sara Golemon2004-05-061-1/+0
|
* BugFix#28287 stream_*_register() not calling __autoload().Sara Golemon2004-05-051-1/+1
|
* Fixed bug #19749 (shouldn't mmap() files larger than memory_limit)Wez Furlong2004-04-211-1/+5
|
* Only wind filters when appending to the read chain.Sara Golemon2004-04-011-1/+1
|
* This leaks when a stream opener proxy opens another stream.Sara Golemon2004-04-011-0/+3
|
* BugFix#27619Sara Golemon2004-03-313-4/+83
| | | | | | Filters not applied to pre-buffered stream data. (esp. http:// streams)
* Provide a meaningful error message when registration failsSara Golemon2004-03-171-2/+9
|
* Fixed bug #27498 (bogus safe_mode error on nonexistent directories forIlia Alshanetsky2004-03-161-1/+1
| | | | | chdir() and opendir() functions).
* More wordsize fixesArd Biesheuvel2004-03-082-6/+6
|
* 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.
* Connect feof() call to user-space stream feof() method.Wez Furlong2004-03-071-13/+29
| | | | | Fixes Bug #27417 and #27508
* 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.
* Must addref the resource when we make a new zval reference to it that will ↵Sara Golemon2004-03-011-1/+1
| | | | be exported to userspace.
* EXTERN_C wrapping for PHPAPI prototypesHartmut Holzgraefe2004-02-205-1/+22
| | | | | (Zend and main should now be ok)
* Fix a bug in the persistent socket liveness checks and feof(); they wereWez Furlong2004-02-043-4/+11
| | | | | | | | | | | | | | | | | | 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.
* Fix segfault for scripts like this:Wez Furlong2004-01-271-1/+5
| | | | | | | | | | | <?php pfsockopen("foo"); pfsockopen("foo"); ?> Where the transport fails to connect (since args are bogus); the problem was that the persistent stream entry was not correctly freed.
* Removed unused variable.Ilia Alshanetsky2004-01-271-1/+0
|
* stream_lock() method added to userspace streams wrapperHartmut Holzgraefe2004-01-211-2/+53
|
* Fixed bug #26974 (rename() doesn't check the destination fileIlia Alshanetsky2004-01-211-2/+3
| | | | | against safe_mode/open_basedir).
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-087-14/+14
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-089-18/+18
|
* MFB fix for #25597Wez Furlong2003-12-201-1/+1
|
* Fixed compiler warnings.Ilia Alshanetsky2003-12-141-1/+1
|
* Export STREAM_MKDIR_RECURSIVE constantSara Golemon2003-12-131-0/+1
|
* Fix Win32 Build. mkdir/rmdir are macrosSara Golemon2003-12-131-4/+4
|
* Route mkdir()/rmdir() via wrapper ops.Sara Golemon2003-12-133-2/+258
| | | | | | Move current rmdir()/rmdir() code to plain_wrappers.c Implement mkdir()/rmdir() in ftp:// wrapper
* Route rename() via wrapper ops.Sara Golemon2003-12-122-2/+117
| | | | | | | Move current rename() code to main/streams/plain_wrapper.c Implement ftp/rename() Implement userstreams/rename()
* Be smarter about which systems should register unix transports.Wez Furlong2003-12-051-1/+1
| | | | | Fix skip conditions in these network tests
* Register url_stat flag constants in userspaceSara Golemon2003-12-021-0/+3
|
* Populate userstream objects with context propertySara Golemon2003-12-021-3/+36
|