Skip to content

Conversation

@zeyus
Copy link
Contributor

@zeyus zeyus commented Jan 27, 2026

This fix prevents request_next_packet() being called when there is an asio::error::operation_aborted or asio::error::shut_down.

previously, this would always return true even if the error was one of the above because of the or/||

There are also additional checks in the TCP/UDP server and stream outlet to (hopefully) more gracefully handle socket closure.

may address #199
I have experienced a segfault when switching networks on Windows and MacOS (I am primarily using Linux now but I haven't tried disconnecting an interface to see if it reproduces)

@zeyus zeyus mentioned this pull request Jan 27, 2026
@zeyus zeyus changed the title Fix logic check for UDP error Fix logic check for UDP error, handle socket close Jan 27, 2026
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.

1 participant