Skip to content

quiche: fix upload for bigger content-length#8421

Closed
jpmenil wants to merge 3 commits into
curl:masterfrom
jpmenil:fix/quiche-upload
Closed

quiche: fix upload for bigger content-length#8421
jpmenil wants to merge 3 commits into
curl:masterfrom
jpmenil:fix/quiche-upload

Conversation

@jpmenil
Copy link
Copy Markdown
Contributor

@jpmenil jpmenil commented Feb 9, 2022

When uploading files, we can hit the underlying stream capacity, which in this case will return QUICHE_H3_ERR_DONE (-1), and result in a failure to send data.

Let fix this by handling this return code.

Signed-off-by: Jean-Philippe Menil jpmenil@gmail.com

Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
@bagder bagder requested a review from ghedo February 9, 2022 22:33
@bagder bagder added the HTTP/3 h3 or quic related label Feb 9, 2022
Comment thread lib/vquic/quiche.c Outdated
Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
Comment thread lib/vquic/quiche.c Outdated
Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
@its0x08
Copy link
Copy Markdown

its0x08 commented Feb 23, 2022

Looks good!
I was waiting for this 😁
Thank you @jpmenil

@bagder bagder closed this in 145d080 Feb 24, 2022
@bagder
Copy link
Copy Markdown
Member

bagder commented Feb 24, 2022

Thanks!

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

Development

Successfully merging this pull request may close these issues.

4 participants