diff options
author | Sara Golemon <pollita@php.net> | 2004-03-31 23:48:59 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2004-03-31 23:48:59 +0000 |
commit | 72616e6eae1e6005698b9acff6cbcaa8538ac009 (patch) | |
tree | 270996c2a8e8107a48171da9a79eaeb5b79cc666 /main/streams/streams.c | |
parent | 29273ca7a96ccdd44c8aa2a9831222597079ac76 (diff) | |
download | php-git-72616e6eae1e6005698b9acff6cbcaa8538ac009.tar.gz |
BugFix#27619
Filters not applied to pre-buffered stream data.
(esp. http:// streams)
Diffstat (limited to 'main/streams/streams.c')
-rwxr-xr-x | main/streams/streams.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index af5caa93a7..fd67eea27d 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -216,6 +216,9 @@ PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, const memset(ret, 0, sizeof(php_stream)); + ret->readfilters.stream = ret; + ret->writefilters.stream = ret; + #if STREAM_DEBUG fprintf(stderr, "stream_alloc: %s:%p persistent=%s\n", ops->label, ret, persistent_id); #endif |