Skip to content

fix: do not fail LOGIN command when receiving a NO response for another request - #142

Open
link2xt wants to merge 1 commit into
mainfrom
pzixel/login-tag
Open

fix: do not fail LOGIN command when receiving a NO response for another request#142
link2xt wants to merge 1 commit into
mainfrom
pzixel/login-tag

Conversation

@link2xt

@link2xt link2xt commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Normally the response should have been read by the time login command is sent, so this should not happen. This can still happen if the future reading the response was dropped or if the server is violating the standard and e.g. duplicates responses.

…er request

Normally the response should have been read by the time login command is sent,
so this should not happen. This can still happen if the future reading the response
was dropped or if the server is violating the standard and e.g. duplicates responses.
@link2xt

link2xt commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

I have extracted it from #141 for easier review. Best reviewed with "hide whitespace", it is basically a one-line change.

Consuming the response not intended for the LOGIN command is not necessarily better, but probably leads to errors that are easier to understand if the server is broken or there is a bug in the client e.g. dropping previous request future.

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