Re: [squid-users] Unsupported method in request '_'

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 14 Aug 2009 01:56:14 +1200

donovan jeffrey j wrote:
> Greetings
>
> I'm seeing this error in cache.log
>
> 2009/08/13 09:31:30| clientParseRequestMethod: Unsupported method in
> request '_'
>
> I thought i compiled with enable underscores. So im not sure what is
> causing this error. Im seeing it in 3.0 stable 18 &16

--enable-underscores affects whether URLs which violate HTTP standards
and contain _ in the domain name are accepted and passed around.

METHOD being an underscore may mean some random binary byte was received
at the start of the request. We replace them in the log with underscores
to prevent bad things happening when the logs are viewed.

>
> root# squid -v
> Squid Cache: Version 3.0.STABLE18
> configure options: '--enable-async-io' '--enable-icmp'
> '--enable-delay-pools' '--disable-htcp' '--enable-ssl'
> '--enable-ipfw-transparent' '--enable-snmp' '--enable-underscores'
> '--enable-basic-auth-helpers=NCSA,LDAP'
>
> thanks.
>

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
   Current Beta Squid 3.1.0.13
Received on Thu Aug 13 2009 - 13:56:29 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 13 2009 - 12:00:03 MDT