mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
ftpd: update docs, point to Twisted ticket for the proposed patch
This commit is contained in:
parent
0d0e0ba2fb
commit
ad45511156
@ -145,10 +145,11 @@ library that is frequently installed as /usr/lib/libcryptopp.a, to avoid
|
||||
problems with non-alphanumerics in filenames).
|
||||
|
||||
The FTP server requires code in Twisted that enables asynchronous closing of
|
||||
file-upload operations. This code was not in the Twisted-8.1.0 release, and
|
||||
has not been committed to SVN trunk as of r24943. So it may be necessary to
|
||||
apply the following patch. The Tahoe node refuse to start the FTP server if
|
||||
it detects that this patch has not been applied.
|
||||
file-upload operations. This code was not in the Twisted-8.2.0 release, and
|
||||
has not been committed to SVN trunk as of r27213 (see
|
||||
http://twistedmatrix.com/trac/ticket/3462 for details). So it may be
|
||||
necessary to apply the following patch. The Tahoe node will refuse to start
|
||||
the FTP server if it detects that this patch has not been applied.
|
||||
|
||||
Index: twisted/protocols/ftp.py
|
||||
===================================================================
|
||||
|
@ -289,7 +289,8 @@ class FTPServer(service.MultiService):
|
||||
service.MultiService.__init__(self)
|
||||
|
||||
# make sure we're using a patched Twisted that uses IWriteFile.close:
|
||||
# see docs/frontends/ftp.txt for details.
|
||||
# see docs/frontends/FTP-and-SFTP.txt and
|
||||
# http://twistedmatrix.com/trac/ticket/3462 for details.
|
||||
assert "close" in ftp.IWriteFile.names(), "your twisted is lacking"
|
||||
|
||||
r = Dispatcher(client)
|
||||
|
Loading…
Reference in New Issue
Block a user