dont log error when remote client drops connection on Windows (fix #427)

This commit is contained in:
Yves Rűtschlé 2024-03-13 16:58:09 +01:00
parent 7ca567fcd9
commit 736b108a75
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,9 @@ vNEXT:
Introduce autoconf to adapt to landlock presence.
Close connexion without error message if remote
client forcefully closes connexion, for Windows.
v2.0.1:
Fix resolve_on_forward setting, which would crash
sslh reliably.

View File

@ -482,6 +482,7 @@ int fd2fd(struct queue *target_q, struct queue *from_q)
return FD_NODATA;
case ECONNRESET:
case ENOTSOCK:
case EPIPE:
return FD_CNXCLOSED;
}