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

Set contextCall.err if missed session params #410

Merged
merged 2 commits into from
May 16, 2023

Conversation

smallhive
Copy link
Contributor

@smallhive smallhive commented May 11, 2023

close #221

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

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

Seems to be OK. Can we have a test for it?

@smallhive
Copy link
Contributor Author

Pushed test as separate commit

client/errors.go Outdated Show resolved Hide resolved
@smallhive smallhive force-pushed the 221-handle-protocol-violation-errors-in-client branch 2 times, most recently from 854da33 to f082067 Compare May 12, 2023 09:59
Copy link
Contributor

@cthulhu-rider cthulhu-rider left a comment

Choose a reason for hiding this comment

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

LGTM now, lets resolve minor moments and merge

client/session_test.go Outdated Show resolved Hide resolved
client/errors.go Outdated Show resolved Hide resolved
client/api.go Outdated Show resolved Hide resolved
client/session_test.go Outdated Show resolved Hide resolved
client/errors.go Show resolved Hide resolved
client/session_test.go Outdated Show resolved Hide resolved
@smallhive smallhive force-pushed the 221-handle-protocol-violation-errors-in-client branch from f082067 to 4f82f25 Compare May 15, 2023 03:39
Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
@smallhive smallhive force-pushed the 221-handle-protocol-violation-errors-in-client branch from 4f82f25 to 162a15a Compare May 15, 2023 03:45
@roman-khimov roman-khimov merged commit fec2f06 into master May 16, 2023
@roman-khimov roman-khimov deleted the 221-handle-protocol-violation-errors-in-client branch May 16, 2023 09:29
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.

Handle protocol violation errors in Client
4 participants