Skip to content

Conversation

@Bastian-Krause
Copy link
Member

@Bastian-Krause Bastian-Krause commented Dec 17, 2018

Raise a SerialException on socket errors. Use an empty string on peer
close just like the recv system call does. In that case return the last
data read.

Raise a SerialException on socket errors. Use an empty string on peer
close just like the recv system call does. In that case return the last
data read.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
@Bastian-Krause Bastian-Krause force-pushed the bst/rfc2217-connection-error branch from 32b4747 to abc5289 Compare December 18, 2018 14:50
@Bastian-Krause Bastian-Krause changed the title serial/rfc2217: raise SerialException on connection error serial/rfc2217: distinguish closed connection and socket error Dec 18, 2018
@Bastian-Krause
Copy link
Member Author

Force-pushed a more complete solution "distinguish closed connection and socket error".

Emantor pushed a commit that referenced this pull request Aug 5, 2022
Catch up to the main fork
@Bastian-Krause
Copy link
Member Author

I've lost the context of this PR and the issue I tried to fix seems not critical. Closing this.

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