Re: [squid-users] Squid doubles a request

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 30 Apr 2003 10:34:57 +0200

On Wednesday 30 April 2003 08.10, Matthias Teege wrote:
> Moin,
>
> i have a problem with my squid (2.4.10) and a cgi script on my
> webserver. The scripts ask for input and use the POST method for
> that. If I dont use my proxy, all works great but if the proxy
> between my browser and the webserver the script didnt work.

There is no 2.4.10 version of Squid.

What does Squid log in access.log? Preferably with log_mime_hdrs
enabled.

> After some research I found somthing mysterious in the webservers
> log. The script has two functions (edit and save) and I tested it
> in this order. But in the servers log there are «edit» twice and
> if I press edit again then there is «save». So it looks like that
> squid doubles the edit part for any reason.

As this is a POST request I would think your browser retries the
request for some reason. Probably the first request fails to return
anything or takes too long time.

> The problem occurs with different browser but only if I use my
> proxy. I think it is a missconfiguration of the proxy but I dont
> know where to start. So I'm happy for any hint.

I would actually think it is a problem with the script called,
disliking something in the request, but only a detailed investigation
of the traffic can tell for sure.

Hint: ngrep is a good tool for investigating the details of the
traffic. See also RFC2616 (HTTP/1.1).

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Apr 30 2003 - 02:46:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:36 MST