Re: [squid-users] Problems with javascript sites and authentication

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 8 Oct 2004 03:27:21 +0200 (CEST)

On Fri, 8 Oct 2004, Brad Larden wrote:

> TCP_DENIED/400 1533 USER-AGENT: Mozilla/4.0%20(Windows%20XP%205.1)%20Java/1.4.2_04%0d - NONE/- text/html
>
> There is nothing logged in cache.log.
>
> This message appeared after adding :-
> #define RELAXED_HTTP_PARSER 1
> to client_side.c and recompiling.
>
> The error prior to this was
>
> TCP_DENIED/400 1840 NONE error:unsupported-request-method - NONE/- text/html
>
> and in cache.log :-
>
> 2004/10/08 07:46:36| parseHttpRequest: Unsupported method 'User-Agent:'
> 2004/10/08 07:46:36| clientReadRequest: FD 22 Invalid Request

Your client sent a malformed request making Squid very confused..

> So, my question is, how do I fix this problem ?

Get the client fixed.

> Why is it only an issue when authentication is turned on under squid ?

Probably it is the authetication part in the client that is broken.

If in doubt use ethereal or similar sniffer tool to inspect the request
send by your client.

Regards
Henrik
Received on Thu Oct 07 2004 - 19:27:24 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:01 MST