oftpd/src (4 files)
cvs user marcus
cvs at cvs.gnupg.org
Thu Feb 8 01:29:42 CET 2007
Date: Thursday, February 8, 2007 @ 01:29:42
Author: marcus
Path: /cvs/wk/oftpd/src
Modified: file_list.c ftp_listener.c ftp_session.c telnet_session.c
2007-02-08 Marcus Brinkmann <marcus at g10code.de>
* src/telnet_session.c: Include <pthread.h>.
(process_data): Enable cancellation.
* src/ftp_session.c (netscape_hack): Likewise.
(send_readme, do_list, do_nlst): Use cancellation cleanup handler.
(set_pasv): Release socket_fd before invoking reply() in case of
failure.
(open_connection): Likewise.
(do_pasv): Close outstanding passive port before invoking reply().
(do_lpsv): Likewise.
(do_epsv): Likewise.
* src/file_list.c: Always include <pthread.h>.
(fdprintf): Bump buffer size to PATH_MAX + 3. Enable cancellation
while writing.
* src/ftp_listener.c (connection_handler): Do not use asynchronous
cancellation. Disable cancellation until further notice.
------------------+
file_list.c | 62 +++++++++++++++----
ftp_listener.c | 7 +-
ftp_session.c | 167 ++++++++++++++++++++++++++++-------------------------
telnet_session.c | 8 ++
4 files changed, 150 insertions(+), 94 deletions(-)
More information about the Gnupg-commits
mailing list