You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drain inbound traffic before closing to avoid TCP RST data loss
Half-close with CloseWrite() and drain with io.Copy before conn.Close()
so late peer packets don't trigger RST. Also fix a pre-existing data
race in Ping() where s.pingId was read outside pingLock.
Signed-off-by: Andreas Erz <andreas.erz@sap.com>
0 commit comments