]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
someone broke content length for FTP
authorwessels <>
Sun, 15 Mar 1998 06:29:20 +0000 (06:29 +0000)
committerwessels <>
Sun, 15 Mar 1998 06:29:20 +0000 (06:29 +0000)
src/ftp.cc

index 599a69cd5b5f1d45475d3d781f3cc133724dd6e2..61b430520e4423e44c3967c828c77068bd6527a4 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ftp.cc,v 1.204 1998/03/07 23:43:06 rousskov Exp $
+ * $Id: ftp.cc,v 1.205 1998/03/14 23:29:20 wessels Exp $
  *
  * DEBUG: section 9     File Transfer Protocol (FTP)
  * AUTHOR: Harvest Derived
@@ -932,6 +932,7 @@ ftpStart(request_t * request, StoreEntry * entry)
     ftpState->request = requestLink(request);
     ftpState->ctrl.fd = -1;
     ftpState->data.fd = -1;
+    ftpState->size = -1;
     EBIT_SET(ftpState->flags, FTP_PASV_SUPPORTED);
     EBIT_SET(ftpState->flags, FTP_REST_SUPPORTED);
     if (ftpState->request->method == METHOD_PUT)