]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: stop sending empty HTTP/3 UDP datagrams on Windows
authorJay Satiro <raysatiro@yahoo.com>
Tue, 7 Feb 2023 08:14:34 +0000 (03:14 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 13 Feb 2023 08:25:12 +0000 (03:25 -0500)
commitf438ce099b15d433c2bbd0e1ddc8ab17ef924d76
tree54c281dee2d7a415d0ea8658fada6ecafcaca772
parent7ce140ba97de1bf3e27299a72b0cc229c9e1364e
multi: stop sending empty HTTP/3 UDP datagrams on Windows

- Limit the 0-sized send procedure that is used to reset a SOCKET's
  FD_WRITE to TCP sockets only.

Prior to this change the reset was used on UDP sockets as well, but
unlike TCP sockets a 0-sized send actually sends out a datagram.

Assisted-by: Marc Hörsken
Ref: https://github.com/curl/curl/pull/9203

Fixes https://github.com/curl/curl/issues/9086
Closes https://github.com/curl/curl/pull/10430
lib/multi.c