mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
05560b67bc
stream_get-line repeatedly calls php_stream_fill_read_buffer until enough data is accumulated in buffer. However, when stream contains filters attached to it, then each call to fill buffer essentially resets buffer read/write pointers and new data is written over old. This causes stream_get_line to skip parts of data from stream This patch fixes such behavior, so fill buffer call will append. |
||
---|---|---|
.. | ||
cast.c | ||
filter.c | ||
glob_wrapper.c | ||
memory.c | ||
mmap.c | ||
php_stream_context.h | ||
php_stream_filter_api.h | ||
php_stream_glob_wrapper.h | ||
php_stream_mmap.h | ||
php_stream_plain_wrapper.h | ||
php_stream_transport.h | ||
php_stream_userspace.h | ||
php_streams_int.h | ||
plain_wrapper.c | ||
streams.c | ||
transports.c | ||
userspace.c | ||
xp_socket.c |