On 9/8/2026 12:38 PM, Sven Harazim via fpc-pascal wrote:
After a server-timeout the client stream is corrupted.
It reproduces. A stub server that answers the first request later than the
client's `IOTimeout` is enough - no debugger and no genuinely slow server
needed. Same result in every run on aarch64-win64 and aarch64-linux, trunk
`695611fdb3`, where `fphttpclient.pp` is byte-identical to current `main`
(last changed in `99148c28`). So I could not confirm that it is
Windows-specific.

Cool, thank you for the comprehensive research. Yes, I do not state it is Windows-specific. It's just that I work on Windows and observed it on Windows - because didn't test on other OS.

The same client compiled in Delphi with Delphi's HTTP client on Windows doesn't have this issue.

Thanks
Ondrej

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to