-
Notifications
You must be signed in to change notification settings - Fork 180
RUST-384 Close connection which was dropped during command execution #214
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
Conversation
Thanks for the PR! It looks like the rustfmt lint check failed; could you add the nightly version of rustfmt ( |
@saghm Reformatted and verified locally using check-rustfmt.sh script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! I just have a few very minor nitpicks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@patrickfreed I've pushed to the branch with the updates you suggested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @Lesiuk for your contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor typo, but otherwise looks good!
src/cmap/conn/mod.rs
Outdated
/// Whether or not a command is currently being run on this connection. This is set to `true` | ||
/// right before sending bytes to the server and set back to `false` once a full response has | ||
/// been read. | ||
commmand_executing: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: there's an extra 'm' in command
I just merged this; thanks again for identifying the bug and contributing the fix! |
Do you have an eta for next crate.io release? |
@bcortier-devolutions I agree it is very essential, also I found another one related to this that popped up when switching to master: #234 all in all I am right now forced to work with a pinned down version of the driver to be stable |
@extrawurst wow, thank you for the pointer on your PR. We're currently working with a pinned version too. |
No description provided.