When running a database query on a specific external site we use, Squid seems to cut off the connection after a consistent period of time (just over a minute).

The query is submitted through a standard web form is that uses GET to query their database.

Firefox 3 just displays a blank page. Internet Explorer throws a 'Page Cannot Be Displayed' error (tested in v6 and v8).

When we perform the same query on the same machine, but bypass the Squid proxy, it works fine. The query takes about two and a half minutes to complete.

There are a few timeout settings in Squid, but I honestly don't know what one to be looking at.

Any possible solutions would be much appreciated.

Cheers

link|improve this question
feedback

migrated from stackoverflow.com Nov 22 '09 at 22:45

This question came from our site for professional and enthusiast programmers.

2 Answers

I found no obvious defaults that would cause this behavior. Are you overriding any timeout defaults in your configuration? Have you looked at timeout settings in Squid Configuration Manual?

link|improve this answer
feedback

Do you have connect_timeout defined in your squid.conf file? If not, you can set it higher than the default 1 minute.

connect_timeout 5 minutes
link|improve this answer
feedback

Your Answer

 
or
required, but never shown