Skip to content

Commit

Permalink
pyftpdlib kicks off the client after 300 seconds without, OS will tim…
Browse files Browse the repository at this point in the history
…e out the connection eventually
  • Loading branch information
Juan J. Martinez committed Oct 21, 2011
1 parent 5fb5dce commit 43f2214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ftpcloudfs/monkeypatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def close(self):
super(MyDTPHandler, self).close()

class MyFTPHandler(ftpserver.FTPHandler):
# don't kick off client in long time transactions
timeout = 0
dtp_handler = MyDTPHandler
authorizer = RackspaceCloudAuthorizer()

Expand Down

0 comments on commit 43f2214

Please sign in to comment.