Re: [Twisted-Python] Hanging SFTP client operations on server disconnection

2017-02-15 Thread Glyph Lefkowitz
> On Feb 15, 2017, at 12:39 AM, Tristan Seligmann > wrote: > > On Wed, 15 Feb 2017 at 08:56 Glyph Lefkowitz > wrote: >> > >> PS: There is a stray release notes fragment in conch >> https://github.com/twisted/twisted/blob/trunk/src/twisted/conch/8791.feature >

Re: [Twisted-Python] Hanging SFTP client operations on server disconnection

2017-02-15 Thread Tristan Seligmann
On Wed, 15 Feb 2017 at 08:56 Glyph Lefkowitz wrote: > > PS: There is a stray release notes fragment in conch > > https://github.com/twisted/twisted/blob/trunk/src/twisted/conch/8791.feature > > > Oops! > > Wait; why do you say this is "stray"? > It appears to be in the wrong directory (should be

Re: [Twisted-Python] Hanging SFTP client operations on server disconnection

2017-02-14 Thread Glyph Lefkowitz
> On Feb 2, 2017, at 2:43 AM, Adi Roiban wrote: > > Hi, > > t.conch.ssh.filetransfer.FileTransferClient._sendRequest keeps a > mapping with active SFTP requests in self.openRequests > > The self.openRequests is only updated when the server is responding > for that request. > > They are not cl

[Twisted-Python] Hanging SFTP client operations on server disconnection

2017-02-02 Thread Adi Roiban
Hi, t.conch.ssh.filetransfer.FileTransferClient._sendRequest keeps a mapping with active SFTP requests in self.openRequests The self.openRequests is only updated when the server is responding for that request. They are not cleared/cancelled on connection lost. In the case in which the client se