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

multi: stop sending empty HTTP/3 UDP datagrams on Windows #10430

Closed
wants to merge 1 commit into from

Conversation

jay
Copy link
Member

@jay jay commented Feb 7, 2023

  • 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 out a datagram.

Assisted-by: Marc Hörsken

Ref: #9203

Fixes #9086
Closes #xxxx


@mback2k will this affect activity checks on the extra user fd's that could possibly? be neither TCP nor UDP?

@jay jay added Windows Windows-specific HTTP/3 h3 or quic related labels Feb 7, 2023
lib/multi.c Outdated Show resolved Hide resolved
- 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 out a datagram.

Assisted-by: Marc Hörsken

Ref: curl#9203

Fixes curl#9086
Closes #xxxx
@jay jay closed this in f438ce0 Feb 13, 2023
@jay jay deleted the win_http3_udp_fix branch February 13, 2023 08:38
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
- 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: curl#9203

Fixes curl#9086
Closes curl#10430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTTP/3 h3 or quic related Windows Windows-specific
Development

Successfully merging this pull request may close these issues.

HTTP/3: Windows build sends lots of empty UDP datagrams
2 participants