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

New network connection #1547

Merged
merged 43 commits into from
Dec 28, 2024
Merged

New network connection #1547

merged 43 commits into from
Dec 28, 2024

Conversation

alexeykiselev
Copy link
Member

No description provided.

NetClient usage moved into Universal client.
Handshake proto updated to compatibility with Handshake interface from networking package.
Configuration option to set KeepAliveInterval added to networking.Config.
@alexeykiselev alexeykiselev added the enhancement New feature or request label Nov 25, 2024
alexeykiselev and others added 5 commits November 25, 2024 20:39
Implement 'io.Stringer' for 'Session' struct.
Data race happens because 'clientHandler' mock in 'TestSessionTimeoutOnHandshake' test
reads 'Session' structure at the same time as 'clientSession.Close' call.
itests/clients/net_client.go Outdated Show resolved Hide resolved
itests/clients/net_client.go Outdated Show resolved Hide resolved
itests/clients/net_client.go Outdated Show resolved Hide resolved
itests/clients/net_client.go Outdated Show resolved Hide resolved
itests/clients/net_client.go Outdated Show resolved Hide resolved
pkg/networking/session_test.go Outdated Show resolved Hide resolved
pkg/networking/session_test.go Outdated Show resolved Hide resolved
pkg/networking/session_test.go Outdated Show resolved Hide resolved
pkg/networking/session.go Show resolved Hide resolved
pkg/networking/session_test.go Show resolved Hide resolved
alexeykiselev and others added 14 commits December 6, 2024 14:30
…t's possible.

Replace random delay with constan to make test not blink.
Simplify assertion in test to make it stable.
Style fixed.
Added logs on handshake rejection to clarify the reason of rejections.
Added and used function to configure Session with list of Slog attributes.
Shutdown lock replaced with sync.Once.
Co-authored-by: Nikolay Eskov <[email protected]>
Fix data lock and data access order.
nickeskov
nickeskov previously approved these changes Dec 28, 2024
@alexeykiselev alexeykiselev merged commit 14ae6e5 into master Dec 28, 2024
15 of 16 checks passed
@alexeykiselev alexeykiselev deleted the new-network-connection branch December 28, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants