httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: httpd-proxy/module-2.0 proxy_ftp.c
Date Thu, 28 Jun 2001 07:04:21 GMT
orlikowski    01/06/28 00:04:20

  Modified:    module-2.0 proxy_ftp.c
  Log:
  ftp_getrc_msg is blocking for no good reason after the receive loop.
  Disable it till we figure out what's going on. ;(
  At least it works now.
  
  Revision  Changes    Path
  1.60      +7 -4      httpd-proxy/module-2.0/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_ftp.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- proxy_ftp.c	2001/05/23 15:13:02	1.59
  +++ proxy_ftp.c	2001/06/28 07:04:18	1.60
  @@ -1640,10 +1640,13 @@
       /* responses: 221, 500 */
       /*   221 Service closing control connection. */
       /*   500 Syntax error, command unrecognized. */
  -    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);
  -
  +    /* 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;
   }
  
  
  

Mime
View raw message