Squid: ftp icon problem in 1.2b23

From: Carl Whitwell <carl.whitwell@dont-contact.us>
Date: Thu, 23 Jul 1998 12:26:23 +0100

I have compiled 1.2b23 and other than the usual hack to MemBuf.c,
it compiled ok.

The problem is that when viewing an ftp list the icons cannot be found.

squid.conf has them pointing at the correct place and looking at the
source for the ftp page we
get the usual
'http://stroud:3128/squid-internal-static/icons/anthony-tar.gif' which
should be fine
but it can't get them.

Trying the 'http://stroud:3128......' directly gives us


The requested URL could not be retrieved

While trying to process the request:

GET /squid-internal-static/icons/anthony-tar.gif HTTP/1.0
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/4.05 [en] (X11; I; SunOS 4.1.4 sun4m)
Host: stroud:3128
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8

The following error was encountered:

      Invalid Request

Some aspect of the HTTP Request is invalid. Possible problems:

      Missing or unknown request method (GET, POST)
      Missing URL
      Missing HTTP Identifier (HTTP/1.0)
      Request may be too large
      Content-Length missing for POST or PUT requests
      Illegal character in hostname; underscores are not allowed

Coincidentally I noticed a similar effect after applying Henrik
Nordström's 'Squid-1.2.beta22: Enchanced FTP listings' patch
in the last version.
I have swapped the host name for an IP address but we get the same
results (i.e.

Hope this is enough for someone to help, I can't spend any more time on


The MemBuf problem is that there is a construct

if (...)

On this machine our assert is a macro, and must be being replaced with
more than one line.
The compiler just falls over on an unexpected else, all we need is a set
of curly brackets [about line 253-ish].

if (...)
Received on Thu Jul 23 1998 - 04:27:00 MDT

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