Mercurial > hg > orthanc
changeset 2578:174618206d2b
keep_alive_timeout_ms for civetweb
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 11 May 2018 08:55:34 +0200 |
parents | 4555a8ef2e88 |
children | 010577b52f5f |
files | Core/HttpServer/MongooseServer.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Fri May 11 08:37:32 2018 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Fri May 11 08:55:34 2018 +0200 @@ -969,6 +969,11 @@ // https://groups.google.com/d/msg/orthanc-users/CKueKX0pJ9E/_UCbl8T-VjIJ "enable_keep_alive", (keepAlive_ ? "yes" : "no"), +if ORTHANC_ENABLE_CIVETWEB == 1 + // https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md#enable_keep_alive-no + "keep_alive_timeout_ms", (keepAlive_ ? "500" : "0"), +#endif + // Set the SSL certificate, if any. This must be the last option. ssl_ ? "ssl_certificate" : NULL, certificate_.c_str(),