the_Foundation [master]

Socket: Handling error while sending

=> Jaakko Keränen

Tue Nov 2 18:53:30 2021 +0200

If the peer closes the socket while we were still sending, it was possible that anything that the peer received was not read at all.

Now we keep reading (and failing to send) until the peer's response has been fully read.

 src/platform/posix/socket.c | 55 ++++++++++++++++++++++++---------------------
 1 file changed, 29 insertions(+), 26 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent 5bdba1a | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/the_Foundation/master/commits/9554ca7
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
26.001548 milliseconds
Gemini-to-HTML Time
0.505311 milliseconds

This content has been proxied by September (ba2dc).