Commit b7a1d7b6 authored by Amos Latteier's avatar Amos Latteier

Fixed a medusa bug in passive mode FTP. Bug reported by Daren Sefcik.

parent c20e44ca
......@@ -8,7 +8,7 @@
# If you are interested in using this software in a commercial context,
# or in purchasing support, please contact the author.
RCS_ID = '$Id: ftp_server.py,v 1.2 1999/04/09 00:37:33 amos Exp $'
RCS_ID = '$Id: ftp_server.py,v 1.3 1999/04/22 22:36:38 amos Exp $'
# An extensible, configurable, asynchronous FTP server.
#
......@@ -294,7 +294,7 @@ class ftp_channel (asynchat.async_chat):
self.passive_acceptor = None
else:
# we're still waiting for a connect to the PASV port.
cdc = recv_channel (self, fd)
cdc = recv_channel (self, None, fd)
else:
# not in PASV mode.
ip, port = self.client_addr
......
......@@ -8,7 +8,7 @@
# If you are interested in using this software in a commercial context,
# or in purchasing support, please contact the author.
RCS_ID = '$Id: ftp_server.py,v 1.2 1999/04/09 00:37:33 amos Exp $'
RCS_ID = '$Id: ftp_server.py,v 1.3 1999/04/22 22:36:38 amos Exp $'
# An extensible, configurable, asynchronous FTP server.
#
......@@ -294,7 +294,7 @@ class ftp_channel (asynchat.async_chat):
self.passive_acceptor = None
else:
# we're still waiting for a connect to the PASV port.
cdc = recv_channel (self, fd)
cdc = recv_channel (self, None, fd)
else:
# not in PASV mode.
ip, port = self.client_addr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment