Skip to content

Conversation

@alexcrichton
Copy link
Contributor

@alexcrichton alexcrichton commented Sep 5, 2017

Previously an error in a TCP write might accidentally get covered up as the
write function didn't check for State::Error. This updates that logic to
propagate the error out to ensure if we see an error it goes upwards.

Closes tokio-rs/tokio-core#243

@alexcrichton alexcrichton force-pushed the windows-write-error branch 2 times, most recently from e9c0bb3 to d196831 Compare September 11, 2017 21:45
Previously an error in a TCP write might accidentally get covered up as the
`write` function didn't check for `State::Error`. This updates that logic to
propagate the error out to ensure if we see an error it goes upwards.
@alexcrichton alexcrichton merged commit 5b9d20c into tokio-rs:master Sep 13, 2017
@alexcrichton alexcrichton deleted the windows-write-error branch September 13, 2017 21:33
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