Skip to content

Conversation

@maskit
Copy link
Member

@maskit maskit commented May 23, 2023

Similar to #9715 but this one is for H3 layer.

@maskit maskit added the HTTP/3 label May 23, 2023
@maskit maskit added this to the 10.0.0 milestone May 23, 2023
@maskit maskit self-assigned this May 23, 2023
Http3Transaction::state_stream_open(int event, Event *edata)
{
// TODO: should check recursive call?
if (this->_thread != this_ethread()) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Note for reviewers: This block was copied from H2 but thread mismatch should not happen. If it happens, we should fix the code that schedules events on a wrong thread.

void
HQTransaction::_unschedule_write_complete_event()
{
if (this->_read_complete_event) {
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't we be checking _write_complete_event?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. Thanks.

Copy link
Contributor

@brbzull0 brbzull0 left a comment

Choose a reason for hiding this comment

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

looks good to me. Thanks.

@maskit maskit merged commit 35d82f8 into apache:master May 31, 2023
@brbzull0 brbzull0 mentioned this pull request Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants