Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top