Skip to content

Conversation

@maskit
Copy link
Member

@maskit maskit commented Jan 31, 2023

No description provided.

@maskit maskit added the QUIC label Jan 31, 2023
@maskit maskit added this to the 10.0.0 milestone Jan 31, 2023
@maskit maskit requested a review from bryancall January 31, 2023 20:39
@maskit maskit self-assigned this Jan 31, 2023
@maskit maskit force-pushed the cleanup_h3_txn_deletion branch from a1bab3f to 9a3b1b6 Compare February 1, 2023 03:40
@maskit maskit changed the base branch from 10-Dev to master February 1, 2023 19:35
@maskit maskit force-pushed the cleanup_h3_txn_deletion branch from 9a3b1b6 to da68d2c Compare February 3, 2023 23:41
HQTransaction *t = this->_transaction_list.head;
while (t) {
ink_assert(t);
auto x = t;
Copy link
Member Author

Choose a reason for hiding this comment

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

I realized we can't simply do t->link.next because it's already deleted.

@maskit maskit force-pushed the cleanup_h3_txn_deletion branch from f94a563 to eb5ffd8 Compare February 7, 2023 23:12
delete t;
}
// Transactions should be deleted first before HQSesson gets deleted.
ink_assert(this->_transaction_list.head);
Copy link
Member Author

Choose a reason for hiding this comment

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

We originally had cleanup code here, but I realized that deleting a transaction modifies the transaction list. I removed the cleanup code since it was just a safety net.

@brbzull0
Copy link
Contributor

brbzull0 commented Apr 3, 2023

[approve ci]

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.

I don't see any issues with this change. Looks good to me. Thanks.

@maskit maskit merged commit d03d0dc into apache:master Apr 7, 2023
@maskit maskit mentioned this pull request May 16, 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