ftp requests with ranges ?

From: Zarochentcev Alexander <[email protected]>
Date: Fri, 20 Nov 1998 13:16:39 +0300 (EET)

Date: Fri, 20 Nov 1998 13:12:12 +0300 (EET)
From: Zarochentcev Alexander <shuric@rogue.prbank.msk.su>
Reply-To: zam@prbank.msk.su
To: squid-users@ircache.net
Subject: ftp requests with ranges ?

My Squid 2.1-Release fails when receives 'ftp' requests with
ranges.

Wget report:
(ftp_proxy=http://localhost:3128/ wget --debug --cache=off -c \
ftp://rogue/pub/redhat-5.2/i386/ls-lR )

DEBUG output created by Wget 1.5.3 on linux-gnu.

parseurl ("ftp://rogue/pub/redhat-5.2/i386/ls-lR") -> host rogue -> opath pub/redhat-5.2/i386/ls-lR -> dir pub/redhat-5.2/i386 -> file ls-lR -> ndir pub/redhat-5.2/i386
parseurl ("http://localhost:3128/") -> host localhost -> port 3128 -> opath -> dir -> file -> ndir
--12:55:32-- ftp://rogue:21/pub/redhat-5.2/i386/ls-lR
           => `ls-lR'
Connecting to localhost:3128... Created fd 3.
connected!
---request begin---
GET ftp://rogue:21/pub/redhat-5.2/i386/ls-lR HTTP/1.0
User-Agent: Wget/1.5.3
Host: rogue:21
Accept: */*
Range: bytes=226325-
Pragma: no-cache

---request end---
Proxy request sent, awaiting response... HTTP/1.0 206 Partial Content
Server: Squid/2.1.RELEASE
Mime-Version: 1.0
Date: Fri, 20 Nov 1998 09:55:33 GMT
Content-Type: text/plain
Last-Modified: Thu, 19 Nov 1998 07:23:53 GMT
Content-Range: bytes 226325-226485/226486
Content-Length: 161
X-Cache: MISS from rogue.prbank.msk.su
Proxy-Connection: close

Length: 226,486 (161 to go) [text/plain]

          [ skipping 200K ]
  200K -> ,,,,,,,,,, ,,,,,,,,,, , [ 99%]

Closing fd 3
12:55:33 (0.00 B/s) - Connection closed at byte 226325. Retrying.

--12:55:33-- ftp://rogue:21/pub/redhat-5.2/i386/ls-lR
  (try: 2) => `ls-lR'
Connecting to localhost:3128... Created fd 3.
connected!
---request begin---
GET ftp://rogue:21/pub/redhat-5.2/i386/ls-lR HTTP/1.0
User-Agent: Wget/1.5.3
Host: rogue:21
Accept: */*
Range: bytes=226325-
Pragma: no-cache

---request end---
Proxy request sent, awaiting response... HTTP/1.0 206 Partial Content
Server: Squid/2.1.RELEASE
Mime-Version: 1.0
Date: Fri, 20 Nov 1998 09:55:33 GMT
Content-Type: text/plain
Last-Modified: Thu, 19 Nov 1998 07:23:53 GMT
Content-Range: bytes 226325-226485/226486
Content-Length: 161
X-Cache: MISS from rogue.prbank.msk.su
Proxy-Connection: close

Length: 226,486 (161 to go) [text/plain]

          [ skipping 200K ]
  200K -> ,,,,,,,,,, ,,,,,,,,,, , [ 99%]

Closing fd 3
12:55:33 (0.00 B/s) - Connection closed at byte 226325. Retrying.

I'll be pleased very much for any suggestions.

--
Alexander Zarochentcev
mailto:zam@prbank.msk.su
phone: +7 (095) 232-0050
--
... Linux is like a wigwam - no windows, no gates, apache inside!
Received on Fri Nov 20 1998 - 03:36:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:11 MST