forked from Graylog2/go-gelf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash when the server drops and does not return (Graylog2#19)
* Fix crash when the server drops and does not return This adds a new test that closes the server and continue to write to it. It uncovered a bug with an unhandled nil pointer. It also uncovered some issues in the reconnection logic that were fixed at the same time. * Change snake_case to camelCase * Refactor listenUntilCloseSignal to remove duplicated code * Fix timing issues in connection drop test
- Loading branch information
1 parent
ba920ad
commit 4143646
Showing
4 changed files
with
168 additions
and
37 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
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