What's the difference between Broken Pipe and Connection reset by peer?
Asked Answered
F

1

7

During my daily job, I need to keep connecting to sever through SSH, and I usually got two different kinds of errors, the first one is "Broken Pipe" while the second one is "Connection reset by peer".

I'm wondering what's the difference between these two set of errors?

Facing answered 15/10, 2012 at 6:32 Comment(0)
O
6

There isn't one really. Both indicate that the connection is broken. 'Broken pipe' is a Unix thing, doesn't happen on Windows as far as I know, and possibly it only occurs on write, where 'connection reset' can occur on both read and write.

Oliver answered 15/10, 2012 at 6:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.