2007-02-08 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 8 Feb 2007 00:29:42 +0000 (00:29 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 8 Feb 2007 00:29:42 +0000 (00:29 +0000)
commit0f5a46cd05caa6bccaf457b291f3f6072c578f23
tree009133e6583365d54585a88ed6436caa034285bc
parent3b3052805c8cb9a09b316f4ad6c28aba17a5000b
2007-02-08  Marcus Brinkmann  <marcus@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.
ChangeLog
src/file_list.c
src/ftp_listener.c
src/ftp_session.c
src/telnet_session.c