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

HTTP/2 buffer/pausedata and outpu flush fix. #10529

Closed
wants to merge 2 commits into from

Conversation

icing
Copy link
Contributor

@icing icing commented Feb 15, 2023

  • do not process pending input data when copying pausedata to the caller
  • return CURLE_AGAIN if the output buffer could not be completely written out.

Refs #10525.

 * do not process pending input data when copying pausedata to the caller
 * return CURLE_AGAIN if the output buffer could not be completely written out.
@eworm-de
Copy link

eworm-de commented Feb 15, 2023

Your commit message has a typo. 😜

s/outpu/output/

@eworm-de
Copy link

With this change applied on top of 7.88.0 I can no longer reproduce this issue.
Thanks a lot for investigating and fixing!

@eworm-de
Copy link

The first commit still causes trouble... Will try with the second one tomorrow.

@bagder bagder closed this in 3103de2 Feb 16, 2023
bagder pushed a commit that referenced this pull request Feb 16, 2023
Ensure that on_frame_recv() stream end will trigger a read if there is
pending data. Without this it could happen that the pending data is
never consumed.

This combined with #10529 should fix
#10525

Ref: #10525
Closes #10530
@bagder
Copy link
Member

bagder commented Feb 16, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants