Angus Robertson - Magenta Systems Ltd wrote: > Never really looked at KeepAlive. From the naming it sounds like a means > of keeping an idle connection open, but in practice seems to be > implemented as an idle timeout, and 10 seconds is very short for such a > timeout.
I don't think so. According to a short test it seems that the idle timeout is usually even lower. Having a look at the Apache 2.2 docs [1][2] this common HTTP server seems to use two different timeout values: "Timeout" (default 5 min) for various I/O requests "KeepAliveTimeout" (default 5 sec) for idle connections Is something similar possible with THttpServer? Unfortunately there is no state like "hcIdle" in THttpConnectionState and currently the client remains in "hcSendData" after the GET request has completed. Regards, Tobias Links: [1] http://httpd.apache.org/docs/2.2/mod/core.html#timeout [2] http://httpd.apache.org/docs/2.2/mod/core.html#keepalivetimeout -- 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