Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.cpp @ 1110:becde5351e47
preparing to update mongoose
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 01 Sep 2014 11:11:00 +0200 |
parents | f21f7783f934 |
children | a119f9ae3640 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Thu Aug 07 13:54:16 2014 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Mon Sep 01 11:11:00 2014 +0200 @@ -785,7 +785,14 @@ } const char *options[] = { + // Set the TCP port for the HTTP server "listening_ports", port.c_str(), + + // Optimization reported by Chris Hafey + // https://groups.google.com/d/msg/orthanc-users/CKueKX0pJ9E/_UCbl8T-VjIJ + // "enable_keep_alive", "yes", + + // Set the SSL certificate, if any. This must be the last option. ssl_ ? "ssl_certificate" : NULL, certificate_.c_str(), NULL