[squid-users] How do I configure Keepalive-Timeout?

2008-10-24 Thread keisuke.hamanaka

Hello,I have a question.

I'd like to configure Keepalive-Timeout.
But I can't find Keepalive section in the squid.conf file.

Does persistent_request_timeoutTAG  mean Keepalive-timeout?

If so, Can I choose KeepAlive on or KeepAlive off  on each destination site?
And Can I choose KeepAlive on  or KeepAlive off  on clientside and 
serverside?





Re: [squid-users] How do I configure Keepalive-Timeout?

2008-10-24 Thread Amos Jeffries

[EMAIL PROTECTED] wrote:

Hello,I have a question.

I'd like to configure Keepalive-Timeout.
But I can't find Keepalive section in the squid.conf file.

Does persistent_request_timeoutTAG  mean Keepalive-timeout?

If so, Can I choose KeepAlive on or KeepAlive off  on each destination site?
And Can I choose KeepAlive on  or KeepAlive off  on clientside and 
serverside?



keepalive is determined by your browser or the web server per-site.

Squid only has these:
http://www.squid-cache.org/Versions/v3/3.1/cfgman/persistent_request_timeout.html
http://www.squid-cache.org/Versions/v3/3.1/cfgman/pconn_timeout.html

Amos
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE9


Re: [squid-users] How do I configure Keepalive-Timeout?

2008-10-24 Thread Henrik Nordstrom
On fre, 2008-10-24 at 16:52 +0900, [EMAIL PROTECTED] wrote:
 Hello,I have a question.
 
 I'd like to configure Keepalive-Timeout.
 But I can't find Keepalive section in the squid.conf file.
 
 Does persistent_request_timeoutTAG  mean Keepalive-timeout?

Yes. It sets the timeout for idle client connections. How long Squid
waits after the last received request before it closes the connection.

 If so, Can I choose KeepAlive on or KeepAlive off  on each destination 
 site?

No. It's global.

 And Can I choose KeepAlive on  or KeepAlive off  on clientside and 
 serverside?

Yes. Both the on/off and timeout is separate for client and server.

client-squid:

client_persistent_connections
persistent_request_timeout

squid-server:

server_persistent_connections
pconn_timeout


These sets the upper limit as enforced by Squid. Clients and servers
also has their own settings which may further limit persistent
connection lifetime or use.

Regards
Henrik


signature.asc
Description: This is a digitally signed message part