Skip to content

fix: more tests and edge case fixes#5

Merged
murfffi merged 4 commits into
mainfrom
fix/tests_and_edge
May 22, 2026
Merged

fix: more tests and edge case fixes#5
murfffi merged 4 commits into
mainfrom
fix/tests_and_edge

Conversation

@murfffi

@murfffi murfffi commented May 19, 2026

Copy link
Copy Markdown
Owner

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request enhances the Do function to support TLS connections and improves error handling for closed connections, while refactoring tests to include UDP and client-side closure scenarios. Feedback suggests removing the SetReadDeadline call to avoid side effects on concurrent operations, expanding error checks to include net.ErrClosed, and ensuring server-side connections in tests are properly closed to prevent resource leaks.

Comment thread conncheck.go Outdated
Comment thread conncheck.go Outdated
Comment thread conncheck_test.go Outdated
murfffi and others added 3 commits May 22, 2026 19:31
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@murfffi murfffi merged commit d75c20c into main May 22, 2026
5 checks passed
@murfffi murfffi deleted the fix/tests_and_edge branch May 22, 2026 16:47
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