Skip to content

Conversation

@ulmus-scott
Copy link
Contributor

The first attempt was reverted due to decoder timeouts (see #1234).

I have made more granular changes for bisecting if there is an issue. I also increased the log levels to make it easier to notice the PortChecker log messages; these should be lowered back to their prior values before merging. I should also fix the indent levels before merging.

@gigem @warpme Could you test this to see if it also causes the decoder timeout issue?

Checklist

@warpme
Copy link
Contributor

warpme commented Jan 7, 2026

Scott,
I put this code into tests.
Will report after some days of testing.
Stay tuned!

This should have been a separate commit to begin with.

Instead of having checkPort() modify the host parameter, call
resolveLinkLocal() explicitly to modify it.

This potentially modified parameter was only used after one call
to checkPort().

The call to resolveLinkLocal() should immediately return without
checking the port, using the cached scope or returning false,
since the st_dbStarted case can only be entered by fallthrough
and the previous case calls checkPort().
@ulmus-scott
Copy link
Contributor Author

ulmus-scott commented Jan 8, 2026

The new commit only effects link-local IPv6 addresses.

I'll need to reorder the commits and separate the change fully from the PortChecker::checkPort(): Call resolveLinkLocal() commit before merging. Also, change doxygen comment for MythContext::Impl::checkPort().

@warpme
Copy link
Contributor

warpme commented Jan 10, 2026

Scott, after week to daily usage this code looks good for me.

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