Tk Library Source Code

View Ticket
Login
Ticket UUID: 3357765
Title: Many commands assume a socket is established, may not be so.
Type: Bug Version: None
Submitter: rkeene Created on: 2011-07-07 15:48:07
Subsystem: ftpd Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2011-08-10 03:18:55
Resolution: Accepted Closed By: andreas_kupries
    Closed on: 2011-08-09 20:18:55
Description:
When using PASV the client may not connect to the server until after the command that needs the data connection is issued.  Currently Fs commands are just given the sock handle of "" when this happens.

The FTP RFC indicates that it is acceptable for the client not to have connected to the port described by the result of the PASV command until after a command that needs it is issued.
User Comments: andreas_kupries added on 2011-08-10 03:18:55:

allow_comments - 1

Accepted into CVS head, with modifications. (Put the common checking code into a procedure, calling it at all the modified places).

rkeene added on 2011-07-07 22:54:47:

File Added - 417397: ftpd1.2.5-bug3357765.diff

Attachments: