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

Read failed with error 'use of closed network connection' #302

Closed
Prnyself opened this issue May 6, 2020 · 3 comments · Fixed by #305
Closed

Read failed with error 'use of closed network connection' #302

Prnyself opened this issue May 6, 2020 · 3 comments · Fixed by #305
Labels
bug Something isn't working

Comments

@Prnyself
Copy link
Member

Prnyself commented May 6, 2020

When copy files from local fs to qingstor, it will failed with error write tcp {ip1}->{ip2}: use of closed network connection if some files were not small and cost a few seconds.

@Prnyself Prnyself added the bug Something isn't working label May 6, 2020
@Xuanwo
Copy link
Contributor

Xuanwo commented May 6, 2020

Related to golang/go#11745

@Prnyself
Copy link
Member Author

Prnyself commented May 7, 2020

here is the code.

@Xuanwo Xuanwo linked a pull request May 7, 2020 that will close this issue
@Xuanwo
Copy link
Contributor

Xuanwo commented May 7, 2020

httpclient used to set read/write deadline separately which lead to connetion closed while writing (no read occur).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants