Arnaud Le Blanc
b512bab367
MFH: Fixed error conditions handling in stream_filter_append()
2009-01-08 17:03:42 +00:00
Sebastian Bergmann
ef49b9a8de
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:17:49 +00:00
Arnaud Le Blanc
930a8feb66
MFH: Avoids fclose() from complaining that stream_socket_pair() streams
...
have not been closed
2008-11-04 16:48:07 +00:00
Arnaud Le Blanc
c6aca784f9
MFH: Fixed bug #46024 (stream_select() doesn't return the correct number)
2008-11-04 00:43:06 +00:00
Felipe Pena
cc6e678224
- MFB: Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced)
2008-10-30 15:56:23 +00:00
Felipe Pena
94e5be1bdc
MFH:
...
- Fix the fix
- Improved test
2008-10-30 14:36:34 +00:00
Felipe Pena
756ab17389
- MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0")
2008-10-30 10:11:52 +00:00
Felipe Pena
d1eb03eec7
- MFH: Fixed bug #46388 (stream_notification_callback inside of object destroys object variables)
2008-10-26 13:48:16 +00:00
Antony Dovgal
990de890fa
MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
2008-07-23 11:25:50 +00:00
Felipe Pena
4ca3f3b99a
- MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen())
2008-07-22 14:11:25 +00:00
Hannes Magnusson
58be64ce2b
MFH: Fixed bug #44712 (stream_context_set_params segfaults on invalid
...
arguments).
2008-05-07 20:02:42 +00:00
Etienne Kneuss
c54c42dcf3
MFH: Fix protos
2008-05-04 21:19:18 +00:00
Ilia Alshanetsky
e002e2ec1c
MFB: Fixed bug #44028 (crash inside stream_socket_enable_crypto() when
...
enabling encryption without crypto type)
2008-02-03 16:15:30 +00:00
Sebastian Bergmann
d9f3a1305f
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:20:42 +00:00
Dmitry Stogov
1ea2e504e3
Fixed bug #43216 (stream_is_local() returns false on "file://")
2007-11-09 09:37:42 +00:00
Jani Taskinen
1be447eb95
MFH: Removed ending dots from error messages
2007-10-04 13:31:11 +00:00
Dmitry Stogov
539f67ed8f
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-09 17:27:24 +00:00
Dmitry Stogov
4de76f02ea
Fixed 64-bit support
2007-04-09 15:38:58 +00:00
Antony Dovgal
ebd7c13e8b
MFH: fix #40168
2007-01-19 14:50:11 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Antony Dovgal
6ac8ffdfea
MFH
2006-12-25 22:12:46 +00:00
Dmitry Stogov
03312cc0d9
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:58:58 +00:00
Sara Golemon
adf31588d2
MFH(r-1.96) Bugfix#38649 Optional param not initialized
2006-10-11 23:22:45 +00:00
Ilia Alshanetsky
8581c7328f
optimize zend_hash_init() with known hash table sizes.
2006-10-03 17:41:47 +00:00
Hannes Magnusson
281536e866
fix protos
2006-09-29 13:11:28 +00:00
Ilia Alshanetsky
f4a75d91d2
Fixed bug #38096 (large timeout values ignored on 32bit machines in
...
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:52:21 +00:00
Antony Dovgal
c2a38c607b
more z/Z fixes
2006-08-31 14:41:24 +00:00
Antony Dovgal
54dba635a3
rephrase the error message ( fixes #38106 )
2006-07-14 20:44:04 +00:00
Antony Dovgal
69d6fe45c8
it's usually good idea to initialize variables
...
especially if you rely on their values
2006-07-12 12:38:49 +00:00
Hannes Magnusson
ec420c3df8
Updated protos & vim folding
2006-06-26 18:48:56 +00:00
Hannes Magnusson
223d122cae
MFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings
2006-06-26 16:33:39 +00:00
Antony Dovgal
9ea8d8dbf6
MFH: fix typo
2006-04-19 08:43:29 +00:00
Antony Dovgal
7c42ddb8e0
fix #37077 (stream_socket_server() leaks when the port is not allowed)
2006-04-14 10:00:55 +00:00
Antony Dovgal
bace0def1e
fix spelling in error messages:
...
greater/less thEn -> greater/less thAn
2006-04-03 09:14:33 +00:00
Ilia Alshanetsky
6d494f9725
Fixed bug #35900 (stream_select() should warning when tv_sec is negative).
2006-02-23 18:28:08 +00:00
Antony Dovgal
b90d985a23
MFH: fix #36242 (Possible memory corruption in stream_select())
2006-02-01 10:31:57 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
c933634253
Fixed crash inside stream_get_line() when length parameter equals 0.
2005-07-05 19:24:07 +00:00
Ilia Alshanetsky
bcd33d5f18
Added offset parameter to the stream_copy_to_stream() function.
2005-06-17 23:29:20 +00:00
Sara Golemon
29ede46872
BugFix #31137 stream_filter_remove() segfaults when stream already closed
2005-03-29 04:02:03 +00:00
Ilia Alshanetsky
5bd7be94a4
Fixed compiler warning.
2005-03-13 17:03:55 +00:00
Marcus Boerger
4e390892b7
- Do not touch return_valu's refcount or is_ref
2005-03-11 01:52:24 +00:00
foobar
58c6ed3583
CS fix
2005-01-15 04:50:26 +00:00
Dmitry Stogov
9de934c210
Fixed SIGSEGV in ext/standard/tests/network/tcp4loop.phpt and ext/standard/tests/network/unixloop.phpt
2005-01-14 09:02:02 +00:00
Wez Furlong
c4bc5b7f33
Fix #31408 : memory leak in stream_socket_recvfrom
2005-01-04 15:30:45 +00:00
Wez Furlong
843807c647
When a socket is non-blocking, don't block ssl enabled sockets.
...
Allow for non-blocking negotiation when calling stream_socket_enable_crypto().
That function will return the foolowing values:
false - negotiation failed
0 - try again when more data is available (only for non-blocking sockets)
true - ssl was enabled
2004-12-25 02:02:56 +00:00
Wez Furlong
e1f3beaa13
really don't blow up
2004-12-23 19:39:22 +00:00
Wez Furlong
d3d757d95a
don't crash...
2004-12-23 05:56:50 +00:00
Wez Furlong
419bbffeef
Make it really build...
2004-12-13 13:52:01 +00:00