Overview
| Artifact ID: | 50c15621eeaf3b032e8184b9eb21dbfd9e981ca5e6276bc1f12bf29f26f3d570 |
|---|---|
| Ticket: | 6141c1518631072728c55b18a6ae4ebbf1a0a3a2
Transchan loses input data when written to |
| User & Date: | serhiy.storchaka on 2026-10-17 09:13:18 |
Changes
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
Still in 8.6, 9.0 and 9.1: WillWrite() (from [5af0d249de], for [2901998]) drops the buffered input and then seeks back, and a transform always has a seek proc, also over a socket, so the seek fails after the input is gone. Proposed fix in branch [/timeline?r=transform-write-keep-input|transform-write-keep-input], along the lines dgp suggested: discard the input only if the seek back succeeded, and make the transform seek fail early when the channel below cannot seek. Seekable channels behave as before. Test iortrans-bug-6141c15186. This is smaller than [/timeline?r=aku-tkt-6141c15186|aku-tkt-6141c15186], which was never finished.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"