-
Notifications
You must be signed in to change notification settings - Fork 321
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
Handling EPIPE during write #430
Comments
@milgner Yes, the read_end, write_end = IO.pipe
read_end.close
write_end.write("content") # Errno::EPIPE: Broken pipe I think it would be appropriate to raise a @milgner It would be great if you could open a PR for this, as it confused me as well recently. I only knew what happened because I'm familiar with the |
I already opened a PR – #436 😛 |
Nice! I was afk for the weekend, thank you for the quick patch! 👍 |
While trying to send a request, something happens (still investigating the source of the problem, it might be the server dropping the connection), resulting in a
EPIPE
error.Would I be correct in assuming that this best be caught in the request writer? If so, I can prepare a PR to that effect.
Of course I'm open to other suggestions :)
The text was updated successfully, but these errors were encountered: