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

Channel complete close before reconnect #615

Merged
merged 4 commits into from
Jan 30, 2024

Conversation

ekoby
Copy link
Member

@ekoby ekoby commented Jan 30, 2024

No description provided.

@ekoby ekoby requested a review from a team as a code owner January 30, 2024 18:53
tlsuv_stream_nodelay(ch->connection, true);
ch->connection->data = ch;

if (ch->connection != NULL) {
Copy link
Member

Choose a reason for hiding this comment

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

ch->connection will be leaked at line 130

Copy link
Member Author

Choose a reason for hiding this comment

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

this is a leftover from debugging. this function should not be called when ch->connection != NULL

@ekoby ekoby merged commit 9297dce into main Jan 30, 2024
11 checks passed
@ekoby ekoby deleted the channel-complete-close-before-reconnect branch January 30, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants