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

socket recv buffering #10787

Closed
wants to merge 2 commits into from
Closed

socket recv buffering #10787

wants to merge 2 commits into from

Conversation

icing
Copy link
Contributor

@icing icing commented Mar 17, 2023

Adding socket recv buffering for most tcp cases

  • use bufq as recv buffer, also for Windows pre-receive handling
  • tweak bufq to properly handle some edge cases found

@icing
Copy link
Contributor Author

icing commented Apr 3, 2023

@jay: this touches on the pre-receive windows stuff. I'd like to hear your opinion on this!

- use bufq as recv buffer, also for Windows pre-receive handling
- catch small reads followed by larger ones in a single socket
  call. A common pattern on TLS connections.
@bagder
Copy link
Member

bagder commented Apr 13, 2023

Thanks!

bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
- use bufq as recv buffer, also for Windows pre-receive handling
- catch small reads followed by larger ones in a single socket
  call. A common pattern on TLS connections.

Closes curl#10787
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants