Toralf Wittner 57cab3b7ce
secio: Use UnexpectedEof instead of BrokenPipe. (#1456)
Secio's handshake reports unexpected EOF errors in two places.
Presumably because `std::io::ErrorKind::UnexpectedEof` did not exist
when secio was first implemented, `ErrorKind::BrokenPipe` is used
for this error. Since we nowadays have `UnexpectedEof` at our disposal,
secio should use this more appropriate error kind.
2020-02-14 14:46:13 +01:00
..
2020-02-14 11:33:52 +01:00
2020-02-14 11:33:52 +01:00
2020-02-14 11:33:52 +01:00
2020-02-14 11:33:52 +01:00
2020-02-14 11:33:52 +01:00
2020-02-14 11:33:52 +01:00
2020-02-14 11:33:52 +01:00
2020-02-14 11:33:52 +01:00