Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore errors after a server shutdown. #37

Merged
merged 1 commit into from
Jun 22, 2018
Merged

Conversation

fujiwara
Copy link
Collaborator

When a listener shutdown, scanner.Err() of active connections return an error "use of closed network connection".

2018-06-22T05:07:27.255Z    WARN    go-katsubushi/app.go:275    error on scanning request: read tcp 127.0.0.1:11212->127.0.0.1:34972: use of closed network connection

When a listener shutdown, scanner.Err() of active connections return an error "use of closed network connection".

2018-06-22T05:07:27.255Z    WARN    go-katsubushi/app.go:275    error on scanning request: read tcp 127.0.0.1:11212->127.0.0.1:34972: use of closed network connection
@fujiwara fujiwara merged commit 3cda863 into master Jun 22, 2018
@fujiwara fujiwara deleted the shutdown-silently branch June 22, 2018 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant