Descriptiongosshnew/ssh: in channel, separate mutexes for reading (flow
control window) and writing (sentClose, access to
writePacket).
With a shared mutex, packetWrite() will block holding the lock
if a key exchange is requested. This prevents the mux read
loop from making progress. This prevents us from receiving the
other side's kexInit packet, so the writer is never unblocked.
Patch Set 1 #Patch Set 2 : diff -r 9ee68e21b668 https://hanwen%40google.com@code.google.com/p/gosshnew/ #
Total comments: 2
Patch Set 3 : diff -r 9ee68e21b668 https://code.google.com/p/gosshnew #Patch Set 4 : diff -r 9ee68e21b668 https://code.google.com/p/gosshnew #MessagesTotal messages: 4
|