-
Notifications
You must be signed in to change notification settings - Fork 8k
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
write: broken pipe #2644
Comments
Any update here? |
I am using a nice-recovery yet this broken pipe still manages to trigger a panic that crashes the service.
|
i have the same problem, how to fix it?
Environment
|
I ended up putting this in my handler: defer func() {
if r := recover(); r != nil {
log.Errorf("Recovered from panic: %v", r)
}
}() it doesn't really fix it but at least it's a bit cleaner... |
anyone sloved this problem ? i mean , i got the same problem,and i do not known how to fix it . gin: v1.7.7 |
Hi @XieWeiXie! The issue has been fixed by #2150 PR. Please, upgrade |
Description
Access too fast
2021/02/20 22:22:29 write tcp 127.0.0.1:8080->127.0.0.1:54110: write: broken pipe
How to reproduce
Expectations
chrome Access too fast
http://127.0.0.1:9000
Actual result
none
Environment
The text was updated successfully, but these errors were encountered: