Commit Graph

359 Commits

Author SHA1 Message Date
Stanislav Malyshev
201388e5ab fix proto 2007-08-16 23:53:40 +00:00
Dmitry Stogov
11c5577116 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:27 +00:00
Dmitry Stogov
9343c54040 Fixed bug #41984 (Hangs on large SoapClient requests) 2007-07-24 14:25:07 +00:00
Jani Taskinen
562a0629e4 - Fix compile warnings 2007-07-21 01:41:55 +00:00
Jani Taskinen
97abf9d5dc - Fixed bugs #36796, #36918, #41371 (stream_set_blocking() does not work) 2007-07-17 13:27:38 +00:00
Dmitry Stogov
eb5dab85c9 Unicode support 2007-07-11 15:17:59 +00:00
Dmitry Stogov
922f3d5512 Fixed wrong warning 2007-07-11 14:32:54 +00:00
Sascha Schumann
ad31680f34 - fix concurrent reader/writer use case
(we read, while the other process writes -> if we don't try
   read we won't notice that the file has been growing.)
2007-07-10 20:13:29 +00:00
Dmitry Stogov
f766275b7a Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented - STREAM_IS_URL, that
  means that userstream wrapper is remote (URL). By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-03 10:22:55 +00:00
Ilia Alshanetsky
e844eaedbb MFB 2007-05-29 21:06:04 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Scott MacVicar
b0856d961f Fixed bug #41390 (Clarify error message with invalid protocol scheme syntax) 2007-05-15 13:01:47 +00:00
Dmitry Stogov
0ddb071abb Fixed bug #41304 (compress.zlib temp files left) 2007-05-08 12:08:41 +00:00
Dmitry Stogov
2918cda494 Fixed crash on win32 in case of negative size 2007-04-18 14:23:35 +00:00
Dmitry Stogov
98423baf13 Fixed crash 2007-04-18 13:53:32 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Dmitry Stogov
8610b4f6cf Fixed 64-bit support 2007-04-09 15:39:16 +00:00
Sara Golemon
98e832d29e Fix handling over overridden file:// wrapper 2007-03-06 20:04:05 +00:00
Marcus Boerger
bf8ea04c13 - Missed to add [ to meta char check 2007-03-03 23:56:43 +00:00
Marcus Boerger
c7faeb736a - Allow to retrieve flags with php_glob_stream_get_count()
- Detect meta chars in pathand switch to append mode so that path can
  actually changes for each entry
2007-03-03 23:41:10 +00:00
Marcus Boerger
ce1d14eae8 - Allow to get number of entries of a glob stream 2007-03-03 23:04:57 +00:00
Marcus Boerger
3f5e89cf31 - Provide access to pattern used in glob 2007-03-03 21:38:25 +00:00
Marcus Boerger
0c52e058b0 - php_stream_is() requires php_glob_stream_ops to be public
- little bit of additional whitespace
2007-03-03 20:56:45 +00:00
Marcus Boerger
01220f548f - Add glob stream wrapper 2007-03-03 20:41:12 +00:00
Marcus Boerger
ff3a914147 -A stream wrapper might only allow directory access 2007-03-03 18:59:53 +00:00
Sara Golemon
3b00d29d5a Add retry for interrupted reads and graceful handling for failed retries 2007-02-23 23:08:40 +00:00
Marcus Boerger
bbfce40c49 - Fix logic 2007-02-22 23:25:36 +00:00
Antony Dovgal
30dacafa72 implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper 2007-02-21 21:56:45 +00:00
Antony Dovgal
be4b75b136 improve php_userstreamop_seek()
check for errors in stream_seek() and return correct status
2007-02-13 19:50:13 +00:00
Andi Gutmans
7b6523c8e6 - Make sure to be ANSI C compliant 2007-02-05 05:15:49 +00:00
Marcus Boerger
67206a2cbf - Fix mem/temp stream exports and readonlyissue 2007-02-03 14:45:54 +00:00
Marcus Boerger
93918c7a7c - Add option support for temp/memory stream (adds ftruncate support) 2007-01-27 15:17:23 +00:00
Sara Golemon
cc1b19cf0e Expand allow_url_fopen/allow_url_include functionality 2007-01-24 21:43:47 +00:00
Nuno Lopes
22fbaf2d6c MFB: use only 2 bits 2007-01-18 16:06:28 +00:00
Marcus Boerger
1c60406349 - Add more unicode stuff 2007-01-16 20:36:04 +00:00
Marcus Boerger
99bd9f758a - Help streams debugging 2007-01-15 22:19:33 +00:00
Antony Dovgal
902e6583d9 add trailing '\0' to stream hashes 2007-01-15 17:06:52 +00:00
Antony Dovgal
3868c1533e include \0 to the hash
it does matter because we use these strings in phpinfo()
2007-01-15 14:59:40 +00:00
Marcus Boerger
25095070cf - Use relay to aid debugging 2007-01-14 19:13:34 +00:00
Marcus Boerger
672eae9c90 - Fix readonly mode to 'rb' 2007-01-14 19:09:55 +00:00
Sara Golemon
53333166fc Add convenience function for openeing files with unicode names 2007-01-10 22:43:17 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
1ed6591f8a Fixed heap overflow 2006-12-25 13:11:48 +00:00
Antony Dovgal
b07ab323ad apply correct fix (aka "oops!") 2006-12-21 01:18:14 +00:00
Antony Dovgal
7a6b75e8ac don't leak on error 2006-12-21 01:07:52 +00:00
Antony Dovgal
50791bce76 fix potential leak 2006-12-21 00:46:51 +00:00
Dmitry Stogov
938f3d6efa Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:59:26 +00:00
Antony Dovgal
9ed4f515d1 fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:10:49 +00:00
Antony Dovgal
8373efc9b9 fix #39551 (Segfault with stream_bucket_new in user filter)
also fixes several segfaults and leaks
add test
2006-11-21 15:47:44 +00:00
Hannes Magnusson
9da991dd50 MFB: Fix ftruncate() with negative size 2006-11-16 16:08:09 +00:00