<i>Transchan loses input data when written to</i> status still Open with 4 other changes
by
.
D 2026-10-17T09:13:18.323
J foundin 8.6.18,\s9.0.5,\s9.1.0
J icomment Still\sin\s8.6,\s9.0\sand\s9.1:\sWillWrite()\s(from\s[5af0d249de],\sfor\s[2901998])\sdrops\sthe\sbuffered\sinput\sand\sthen\sseeks\sback,\sand\sa\stransform\salways\shas\sa\sseek\sproc,\salso\sover\sa\ssocket,\sso\sthe\sseek\sfails\safter\sthe\sinput\sis\sgone.\nProposed\sfix\sin\sbranch\s[/timeline?r=transform-write-keep-input|transform-write-keep-input],\salong\sthe\slines\sdgp\ssuggested:\sdiscard\sthe\sinput\sonly\sif\sthe\sseek\sback\ssucceeded,\sand\smake\sthe\stransform\sseek\sfail\searly\swhen\sthe\schannel\sbelow\scannot\sseek.\sSeekable\schannels\sbehave\sas\sbefore.\sTest\siortrans-bug-6141c15186.\sThis\sis\ssmaller\sthan\s[/timeline?r=aku-tkt-6141c15186|aku-tkt-6141c15186],\swhich\swas\snever\sfinished.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 6141c1518631072728c55b18a6ae4ebbf1a0a3a2
U serhiy.storchaka
Z e1d49429435de5bf9c351fef9d5aeb25