TidHttpServer, keep alive handling #586
Replies: 3 comments
-
Currently, the keep-alive is infinite by default. If you set a I do have code written for a future release that will add new |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
You can use the
It would be easier to just handle that in your
Yes, that would be a good way to handle it for now, eg:
The new code I have written will handle all of this for you. If you'd like to see what that new code looks like so far, it is currently checked in to |
Beta Was this translation helpful? Give feedback.
-
Hello,
If we enable KeepAlive - for which period of time is the connection kept open, if no more requests coming across the connection? Is there a configurable timeout?
Other point is it possible to limit the number of requests in the connection? Let's say after opening of the connection, accept only five http requests, then close it. To force the client to reconnect.
Beta Was this translation helpful? Give feedback.
All reactions