Forum

TimeForRequest question

Dinkan
18 July 2013, 15:10
Hi,

I am porting my webserver from Lighty to Hiawatha
I have a question regarding the meaning of TimeForRequest configuration option
In my understanding TimeForRequest = 5, 30 means;
after a successful connection is established with a client; Hiawatha will timeout & close the connection if the first http/s request is NOT arrived in 3 seconds.
The timeout for following requests is 30 seconds. Is my understanding correct?

In Lightty I currently have
server.max-read-idle = 60 ( idle timeout for reading from a connection)
server.max-write-idle = 120 (idle timeout for writing out to the connection)
server.max-keep-alive-requests = 16 (maximum number of request within a keep-alive session )
server.max-keep-alive-idle = 5 ( maximum number of seconds until a idling keep-alive connection is droped)

How can I get similar configuration on Hiawatha?

Hiawatha version:
Operating System:
Hugo Leisink
18 July 2013, 16:42
after a successful connection is established with a client; Hiawatha will timeout & close the connection if the first http/s request is NOT arrived in 3 seconds.

With TimeForRequest = 5,30, that would be 5 seconds.

I have no idea of the meaning of the Lightty settings, but I think MaxKeepAlive will be like server.max-keep-alive-requests and TimeForRequest will be like server.max-keep-alive-idle. I don't understand the difference between server.max-keep-alive-ide and server.max-read-idle. You could also take a look at the SocketSendTimeout, maybe it's like the server.max-write-idle.
This topic has been closed.