Descriptionssh: fix flaky TestInvalidServerMessage
When shutting down the test, we sometimes see EOF on the server's side
of the connection and sometimes ECONNRESET. In the latter case, based
on timing, it was possible that the server loop would hit Errorf during
shutdown and cause the test to fail.
Patch Set 1 #Patch Set 2 : diff -r bd78e6211ff8 https://agl%40golang.org@code.google.com/p/go.crypto/ #Patch Set 3 : diff -r bd78e6211ff8 https://agl%40golang.org@code.google.com/p/go.crypto/ #Patch Set 4 : diff -r b0c630abc33d https://agl%40golang.org@code.google.com/p/go.crypto/ #MessagesTotal messages: 3
|