Skip to content

Commit

Permalink
dont log error when remote client drops connection on Windows (fix #427)
Browse files Browse the repository at this point in the history
  • Loading branch information
yrutschle committed Mar 13, 2024
1 parent 7ca567f commit 736b108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 736b108

Please sign in to comment.