-
Notifications
You must be signed in to change notification settings - Fork 388
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
reads and writes crashing with EAGAIN #165
Comments
This patch appears to fix it...
|
What I don't understand is why you have a loop in WdtSocket::writeInternal at all. It is calling writeWithAbortCheck which to the best of my understanding is doing the same loop and handling the same errors... |
I mean I understand that I'm basically setting an infinite timeout on the socket (by ignoring the check in WdtSocket::ioWithAbortCheck - but I'm setting the timeout to read and write timeouts to 20s... so they shouldn't really ever be hit. |
I have an issue where we get errors when sending large files over long fast links.
I instrumented the code (so I could see what the errno was) and got
which is telling me that the write should be "try again"... but WDT just crashes out.
Lines like
are not protected against EAGAIN...
Why? Is their something in the design that is meant to handle this?
Why aren't the error messages spitting out the errno and string version? eg.
Thanks.
The text was updated successfully, but these errors were encountered: