Subject: CVS commit: basesrc/libexec/ftpd
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 01/21/2002 13:25:21
Module Name:	basesrc
Committed By:	lukem
Date:		Mon Jan 21 11:25:21 UTC 2002

Modified Files:
	basesrc/libexec/ftpd: ftpd.c version.h

Log Message:
in closedataconn(), only close the passive data fd if the main data
descriptor was set by dataconn().  this fixes a problem for clients (such
as lynx and netscape) that only sent PASV/EPSV after a transfer (RETR, LIST,
STOR) started and returned 150.  certain command sequences could return 550
(etc) before setting up the dataconn(), and would run into this bug. netbsd's
ftp didn't hit this bug because it always sends PASV/EPSV before a new
transfer command.


To generate a diff of this commit:
cvs rdiff -r1.135 -r1.136 basesrc/libexec/ftpd/ftpd.c
cvs rdiff -r1.38 -r1.39 basesrc/libexec/ftpd/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.