Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multi: fix slow write/upload performance on Windows
Reset FD_WRITE by sending zero bytes which is permissible and will be treated by implementations as successful send. Without this we won't be notified in case a socket is still writable if we already received such a notification and did not send any data afterwards on the socket. This would lead to waiting forever on a writable socket being writable again. Assisted-by: Tommy Odom Assisted-by: Jay Satiro Tested-by: Tommy Odom Tested-by: tmkk on github Bug: curl#6146 Part of curl#6245
- Loading branch information
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters