Skip to content

fix sending of large requests - #11803

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:large-initial-send-fix
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:large-initial-send-fix

Conversation

@icing

@icing icing commented Sep 5, 2023

Copy link
Copy Markdown
Contributor
  • refs HTTP/2 and HTTP/2 upload handling fixes #11342 where errors with git https interactions were observed

  • problem was caused by 1st sends of size larger than 64KB which resulted in later retries of 64KB only

  • limit sending of 1st block to 64KB

  • adjust h2/h3 filters to cope with parsing the HTTP/1.1 formatted request in chunks

  • introducing Curl_nwrite() as companion to Curl_write() for the many cases where the sockindex is already known

- refs curl#11342 where errors with git https interactions
  were observed
- problem was caused by 1st sends of size larger than 64KB
  which resulted in later retries of 64KB only
- limit sending of 1st block to 64KB
- adjust h2/h3 filters to cope with parsing the HTTP/1.1
  formatted request in chunks

- introducing Curl_nwrite() as companion to Curl_write()
  for the many cases where the sockindex is already known
@github-actions github-actions Bot added the tests label Sep 5, 2023
@bagder bagder closed this in 2485547 Sep 5, 2023
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
- refs curl#11342 where errors with git https interactions
  were observed
- problem was caused by 1st sends of size larger than 64KB
  which resulted in later retries of 64KB only
- limit sending of 1st block to 64KB
- adjust h2/h3 filters to cope with parsing the HTTP/1.1
  formatted request in chunks

- introducing Curl_nwrite() as companion to Curl_write()
  for the many cases where the sockindex is already known

Fixes curl#11342 (again)
Closes curl#11803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants