Descriptiongo.crypto/ssh: avoid recover() when handling invalid channel ids
This proposal removes the use of recover() to catch
invalid channel ids sent from the remote side. The
recover() unfortuntaly makes debugging harder as it
obscures other panic causes.
Another source of panic()s exists inside marshal.go,
which will be handled with in a later CL.
Patch Set 1 #Patch Set 2 : code review 6404046: go.crypto/ssh: check remote id is a valid channel #Patch Set 3 : diff -r 671a975c2b5f https://code.google.com/p/go.crypto #Patch Set 4 : diff -r 671a975c2b5f https://code.google.com/p/go.crypto #Patch Set 5 : diff -r 671a975c2b5f https://code.google.com/p/go.crypto #Patch Set 6 : diff -r 8738a06cfeef https://code.google.com/p/go.crypto #MessagesTotal messages: 4
|