mod_proxy changes for httpd 2.0.18-dev
+ *) Remove result code check for FTP QUIT command. Some servers send
+ nothing at all back in response to QUIT.
+ [Chuck Murcko <chuck@topsail.org>]
+
*) Reverse previous patch since the core reverted.
[Chuck Murcko <chuck@topsail.org>]
ap_pass_brigade(origin->output_filters, bb);
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r->server,
"proxy: FTP: QUIT");
- /* responses: 221, 500 */
- /* 221 Service closing control connection. */
- /* 500 Syntax error, command unrecognized. */
- /* FIXME
- * Using ftp_getrc_msg is blocking here (in fact, anywhere after the
- * while loop in section VI). Disabling for now, to get things working.
- * i = ftp_getrc_msg(origin, cbb, buffer, sizeof(buffer));
- * ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r->server,
- * "proxy: FTP: %d %s", i, buffer);
- */
+
apr_brigade_destroy(bb);
return OK;
}