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

Don't delete QUIC stream until both read and write complete #11196

Merged
merged 2 commits into from Apr 1, 2024

Conversation

maskit
Copy link
Member

@maskit maskit commented Mar 28, 2024

This is for #11170.

Looks like it happens when write_compete happens before read_complete, and there was a FIXME comment about it. This PR fixes it.

@maskit maskit added the HTTP/3 label Mar 28, 2024
@maskit maskit added this to the 10.1.0 milestone Mar 28, 2024
@maskit maskit self-assigned this Mar 28, 2024
{
this->_handle_uni_stream_on_read_ready(event, vio);

QUICStreamVCAdapter *adapter = static_cast<QUICStreamVCAdapter *>(vio->vc_server);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it make sense to check for adapter != nullptr or maybe an assert?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's already checked in Http3App::main_event_handler.

@maskit maskit merged commit b27449b into apache:master Apr 1, 2024
15 checks passed
@cmcfarlen cmcfarlen modified the milestones: 10.1.0, 10.0.0 Apr 2, 2024
@cmcfarlen
Copy link
Contributor

Cherry-picked to v10.0.x

cmcfarlen pushed a commit that referenced this pull request Apr 2, 2024
* Don't use reference for stream id

* Don't delete QUIC stream until both read and write complete

(cherry picked from commit b27449b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: picked-10.0.0
Development

Successfully merging this pull request may close these issues.

None yet

3 participants