HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

How to set timeouts???
http://havp.hege.li/forum/viewtopic.php?f=3&t=190
Page 1 of 1

Author:  arietmann [ 30 Nov 2006 18:44 ]
Post subject:  How to set timeouts???

Hi,

I'am maintaining a proxy-chain with 2 squids and one havp as a sandwich.

Loading a (special) site causes a server down message from havp not a connect_timeout message from the first squid.

Connecting my client directly to the first squid I will receive this connect_timeout message.

Witin squid there is a connect_timeout parameter which specifies how long squid will wait for replies from the remote web-server.

I searched something equal within havp but found no matches.

Is there a way within the config file to controle this setting or is it hardcoded. If it is hardcoded, does anyone knows the value?

I like to change the squid setting, so that squids timeout is lower than havps and squid takes precendence over havp (for that special case).

This is required to generate the right messages for the clients.

Thanks a lot,

Andreas

Author:  hege [ 30 Nov 2006 18:47 ]
Post subject: 

Hi, it is hardcoded in default.h(.in). For initial connection, and waiting for data.

//CONNTIMEOUT in seconds
#define CONNTIMEOUT 60

//RECVTIMEOUT in seconds
#define RECVTIMEOUT 120

//SENDTIMEOUT in seconds
#define SENDTIMEOUT 120

Author:  arietmann [ 30 Nov 2006 19:39 ]
Post subject: 

Hi,

thanks a lot for the quick reply.

It does not fixed my problem but helps me much for troubleshooting.

Andreas

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/