Forum

How to disable keepalive option

sfs
4 November 2008, 15:06
Hi,

Could you please let me know how to switch off the keepalive option in the webserver?

Thanks!
Hugo Leisink
4 November 2008, 16:03
Set MaxKeepAlive to zero:
Binding {
...
MaxKeepAlive = 0
}
sfs
19 December 2008, 17:24
Hi Hugo,

Even after setting the option, I get the below log in access.log file:

131.160.36.60|Fri 19 Dec 2008 14:53:52 +0000|200|1016||GET /cgi-bin/P11C/alexserv.exe?ID=5583&DB=hlr_2_1.alx&AC=image&FN=BL.gif HTTP/1.1|Accept: */*|Referer: http://131.160.36.60:9227/cgi-bin/P11C/alexserv.exe?AC=LINK&ID=5583&DB=hlr_2_1.alx&FN=alex.html|Accept-Language: en-US|UA-CPU: x86|Accept-Encoding: gzip, deflate|User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; InfoPath.1)|Host: 131.160.36.60|Connection: keep-alive

Pls let me know how I can disable this.

Thanks!
Hugo Leisink
20 December 2008, 02:39
If you have set the option as described, keep alive connections are off. What is in your logfile (i.o.w. what a client is sending in its HTTP request) has nothing to do with that.
This topic has been closed.