pkg / sftp

SFTP support for the go.crypto/ssh package
BSD 2-Clause "Simplified" License
1.52k stars 380 forks source link

request-server: don't return EOF if there is an unexpected error #392

Closed drakkan closed 3 years ago

drakkan commented 3 years ago

io.EOF means no error so convert to ErrUnexpectedEOF if we detect a transfer error

drakkan commented 3 years ago

Please add a test. Thank you

Done, thank you

drakkan commented 3 years ago

I cannot find anything else to even nitpick about.

Thank you!