[php-src] PR #26034: ext/standard: Remove unused state from the "consumed" stream filter
| From: | ArtUkrainskiy | Date: | Wed, 02 Dec 2026 15:20:59 +0000 |
| Subject: | [php-src] PR #26034: ext/standard: Remove unused state from the "consumed" stream filter | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41371@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/26034
Author: ArtUkrainskiy
Follow-up to #25966. With the seek gone, the filter's offset and byte count aren't used.
This removes them along with the
php_stream_tell() call and the allocation that held
them, with its destructor.
consumed_filter_seek() stays and returns SUCCESS, so a read stream can
still seek to the start. Other positions are still refused. The new test pins that and passes on
master without this change too.
Filter, stream and file tests pass. Filter and stream tests also pass with ASan and ZTS.