1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-23 15:37:01 +00:00
Files
go-chasquid-smtp/internal
Alberto Bertogli cac1e161ac smtpsrv: Set connection deadline before the initial greeting
When handling a connection, today we only set a deadline after each
command received.

However, this does not cover our initial greeting, or the initial TLS
handshake (if the socket is TLS), so a connection can hang
indefininitely at that stage.

This patch fixes that by setting a deadline earlier, before we send or
receive anythong on the connection.
2019-03-31 12:13:09 +01:00
..
2019-02-10 12:46:15 +00:00
2019-02-10 12:46:15 +00:00
2019-02-10 12:46:15 +00:00
2019-02-10 12:46:15 +00:00
2018-03-30 22:35:08 +01:00
2018-06-04 00:04:57 +01:00
2019-02-10 12:46:15 +00:00
2019-02-10 12:46:15 +00:00
2018-06-04 00:06:23 +01:00