Skip to content

Fix 9047 - #9091

Merged
sithlord48 merged 3 commits into
masterfrom
fix_9047
Oct 29, 2025
Merged

Fix 9047#9091
sithlord48 merged 3 commits into
masterfrom
fix_9047

Conversation

@sithlord48

@sithlord48 sithlord48 commented Oct 28, 2025

Copy link
Copy Markdown
Member

Fixes: #9047

  • Tell SSL to ignore EOF errors from openSSL. These happen when peer disconnects sometimes. Its only ever a close connection error.

  • Remove the RetryOnError option

    • Client will always act as if its on
    • Server will act as if its off.
    • Remove the related event to setting it.

Currently, RetryOnError is set false if the client disconnects and there is no way to change it without editing the config file manually

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wonderful PR! ❤️ ❤️ ❤️

I have been meaning to try SSL_OP_IGNORE_UNEXPECTED_EOF for a long time (time has not been on my side). I wondered if it was the right thing to do, but fixes the bug on macOS so I'm happy.

@sithlord48
sithlord48 enabled auto-merge (rebase) October 29, 2025 12:15
@sithlord48
sithlord48 merged commit f4ca17b into master Oct 29, 2025
30 checks passed
@sithlord48
sithlord48 deleted the fix_9047 branch October 29, 2025 12:33
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.

macOS client dies when server restarts (TLS unexpected eof while reading)

2 participants