Skip to content

Conversation

robertc2000
Copy link
Collaborator

No description provided.

@robertc2000 robertc2000 requested review from cpq and scaprile August 15, 2023 14:31
@robertc2000 robertc2000 force-pushed the tcp-closure branch 3 times, most recently from b19a044 to 4e9073c Compare August 17, 2023 09:23
}

// Clear
usleep(1000000); // Waiting until all connections finally close
Copy link
Collaborator

Choose a reason for hiding this comment

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

How can this happen without us calling the manager ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We call the manager before in the fetch function when we initiate the TCP closure and start the timeout for the connection to be deleted. Therefore, before calling the manager at the end we have to wait this maximum amount of time until we are sure all the connections are freed.

@robertc2000 robertc2000 merged commit 3ea5f8d into master Aug 18, 2023
@robertc2000 robertc2000 deleted the tcp-closure branch August 22, 2023 06:13
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.

3 participants