[squid-users] Problem using HTTP/1.1

From: Kristo Kuusküll <kuuskyll@dont-contact.us>
Date: Tue, 11 Nov 2003 21:55:35 +0200

Hi,

Can't get Squid work with HTTP/1.1 to use Keep-Alive connections.

I make the following request to Squid using telnet:
....................
Escape character is '^]'.
GET /index.html HTTP/1.1
Host: www.xxx.xx
....................

The response is following:
....................
HTTP/1.0 200 OK
Date: Tue, 11 Nov 2003 16:48:42 GMT
Server: Apache
Content-Length: 215
Last-Modified: Fri, 31 Oct 2003 17:56:52 GMT
Accept-Ranges: bytes
Content-Type: text/html
Age: 38
X-Cache: HIT from cache
Connection: close
....................

How can i configure Squid to reply in HTTP/1.1 (and not to add "Connection:
close") so we can use Keep-Alive connections and speed
up our web pages? The HTTP/1.1 is also needed to make Big Admin
load-balancer more stable and speed
it up too.

Configuration:
--> Load Balancer --> n * (Squid-2.5.STABLE3 --> Apache 2.0.46) --> J2EE
cluster

Squid is in accelerator mode. Squid is listening on outer-interface:80 and
apache on localhost:80
persistent_request_timeout is 15 seconds (i have read, that if this
parameter is smaller than
10, the Keep-Alive does not work).
OS is Linux Red Hat 2.1 AS

Other relevant information:
Direct requests to Apache get response in HTTP/1.1 and i can send multiple
requests in
one connection.

Thanks,
Kristo.
Received on Tue Nov 11 2003 - 12:51:35 MST

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