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

add timeout to readfull #10

Closed
wants to merge 1 commit into from
Closed

Conversation

nl5887
Copy link

@nl5887 nl5887 commented Jan 29, 2020

Currently go routines will leak, waiting indefinitely for connection to read. In case of Amazon ELB health checks, connections will be never closed, causing thousands of CLOSE_WAIT.

readfull would leak goroutines and open files
when (in case of aws load balancer health check)
no bytes were sent.
@andrewkroh
Copy link
Member

It looks like this was fixed via #15 which closes the client when the read fails.

@andrewkroh andrewkroh closed this Aug 14, 2022
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.

2 participants