Squid closing the connection on long HTTP GET requests

25,426

Second, check if the Website uses SPDY. Squid is not capable of SPDY right now, but both Browsers are. I have seen strange side effects on SPDY-Sites with Squid, like broken connections (after few minutes), pages that load only on the second refresh hit and sites that only loaded 70% of the content. Try to disable SPDY in the pptions (of the browser(s)).

Share:
25,426
Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin over 1 year

    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