Have anyone looked through my changes? Basicly it's enhancements for keepalive 
when serving 401, 404 etc and triggering RequestDone after serving a 401. My 
server has been running for 1 week (served 23083567 requests on 9233427 
sockets) with this code and works well.

Regards Bjørnar

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjørnar Nielsen
Sent: 4. april 2008 12:57
To: ICS support mailing
Subject: [twsocket] Improvements in OverbyteIcsHttpSrv.pas



I've made som improvements on keepalive. The file can be downloaded here:

www.edialog24.no/download/OverbyteIcsHttpSrv.pas



Please look through the changes and comment.



I added new property FConnection (to define max requests pr connection, 
keepalivetime etc).

I added triggering of Httprequestdone also after answering 403 etc (not sure if 
this breaks anything)

I added keepalive string in the header also for 403 etc and closedelayed if not 
keepalive. This makes it easyer to call Answer403 etc from your own code and 
still get keepalive-stuff right without special handling.



Regards Bjørnar


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.5/1358 - Release Date: 03.04.2008 
18:36

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.5/1358 - Release Date: 03.04.2008 
18:36


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.9/1364 - Release Date: 07.04.2008 
18:38

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to