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

Fix Issue #151: Bind not restarting when user uses CloseBind #152

Merged
merged 9 commits into from
Nov 28, 2024

Conversation

laduchesneau
Copy link
Collaborator

@laduchesneau laduchesneau commented Sep 4, 2024

When a pdu expires and the user returns true on closeBind, it should now call the close function with the proper state. This will allow OnClosed to be called and the bind to be restarted.

This also fixes the the transceiver context that is never closed.

@laduchesneau laduchesneau marked this pull request as ready for review September 4, 2024 17:12
@laduchesneau
Copy link
Collaborator Author

closing it for now, the error message doesnt match the close reason. There seems to be a race condition between the unbind start and the tcp disconnect. Ill reopen when I resolve this issue.

@laduchesneau laduchesneau reopened this Sep 6, 2024
Copy link
Owner

@linxGnu linxGnu left a comment

Choose a reason for hiding this comment

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

LGTM. Just a small comment.

I am sorry for replying late due to personal matter

@linxGnu
Copy link
Owner

linxGnu commented Nov 27, 2024

@laduchesneau Can I start the final review on the PR?

@linxGnu linxGnu changed the title fix issue #151: bind not restarting when user uses closeBind Fix issue #151: bind not restarting when user uses closeBind Nov 27, 2024
@laduchesneau
Copy link
Collaborator Author

Hi @linxGnu , yes.
Ive been running this version in production for almost 3 months now.

Copy link
Owner

@linxGnu linxGnu left a comment

Choose a reason for hiding this comment

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

Look awesome to me!!!! Thank you for the GREAT PR @laduchesneau !!!
Truly love to hear that you ran this version for months.

@linxGnu linxGnu merged commit c053651 into linxGnu:master Nov 28, 2024
1 check passed
@linxGnu linxGnu changed the title Fix issue #151: bind not restarting when user uses closeBind Fix Issue #151: Bind not restarting when user uses CloseBind Nov 28, 2024
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.

2 participants