[squid-users] Problem with special post request

From: Manfred Pusch <manfred@dont-contact.us>
Date: Tue, 25 May 2004 17:58:36 +0200

Hello;

I have 2 squid boxes proxy 1 and proxy 2.
Proxy 1 forwards all requests for internet urls to proxy 2.
Both of the proxys running fedora core 1 linux on x86 servers.
Proxy 1 is compiled without async io, proxy 2 is compiled with async io.
On proxy 1 i get this request once a second:

POST http://s0009:1741/CSCOnm/servlet/com.cisco.nm.cmf.servlet.LwmsMainServlet HTTP/1.0
Via: 1.0 xxxxxxxxxxx.xxxxx.xxx:8080 (squid/2.5.STABLE5), 1.0 M01P3, 1.0 M01P5
Content-Length: 317
Content-Type: application/x-www-form-urlencoded
User-Agent: Java1.2.2
Host: s0009:1741
usingGZIP: false
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
X-Forwarded-For: 10.254.2.74
Cache-Control: max-age=604800
Proxy-Connection: Keep-Alive

lwmsRequest=
"<?xml version="1.0"?>
<lwmsOperation TYPE="pollMailboxes">
  <poll NAME="cisco.mgmt.cmf.events.ltGateway.allSubjects" LAST_ID="0" REG_TIME="1083155571174" FILTER="*" />
  <poll NAME="cisco.mgmt.cmf.events.ltGateway.control" LAST_ID="0" REG_TIME="1083155571158" FILTER="*" />
</lwmsOperation>
"

Proxy 1 forwards this request to proxy 2, proxy 2 can not resolve the hostname and returns the DNS_Fail error page.
The problem is that the next request sent over this file descriptor from proxy 1 to proxy 2 has parsing problems.
We tried to debug this problem and found that the request after this post is read from the filedescriptor with a too high offset.
So squid can not parse the http request and returns an invalid request error.

Could anyone out there help me with this problem?

Greetings

Manfred
Received on Tue May 25 2004 - 09:58:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:02 MDT