Files
zftpd/include/platform
seregonwar 09b7cbff2a fix(console): survive an aborted download instead of dying on SIGPIPE
The PS4 entry point never ignored SIGPIPE (the shared handler is compiled out
there), so a browser cancelling a download killed the payload with signal 13.
Ignore SIGPIPE on PS4 like PS5 and POSIX do, and set SO_NOSIGPIPE on the HTTP
listener and client sockets (FTP sockets follow through pal_socket_configure)
so a vanished peer only breaks its own connection.  test_http_server aborts a
streamed download mid-flight and checks the server keeps answering.
2026-09-30 17:50:57 +02:00
..