-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: gracefully handle closed sockets and EOF (#2374)
Connections that are terminated by just closing the socket could cause log spamming, as these turn into `Socket closed` exceptions and/or `EOFException`s in PGAdapter. This change handles those cases gracefully by just terminating the connection in the regular way, as if the connection received an `X` (Terminate) message. Fixes #2106
- Loading branch information
Showing
2 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters