Comment 3 for bug 43731

Revision history for this message
Robey Pointer (robey) wrote : corrected patch

Ah, found out what the problem was and was a simple fix. Since the loopback socket version is just handling sftp requests inline, and transports are never "closed", we can't wait around for the socket to be closed. So I just spin it off into a new thread each time.

With this patch, I can comment out the connection cache, and the unit tests still pass -- except for one which is trying to verify that the connection cache is working. :)