comparison Core/HttpServer/MongooseServer.cpp @ 2579:010577b52f5f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 May 2018 09:32:15 +0200
parents 174618206d2b
children 2f3007bf0708 40c7926b75f8
comparison
equal deleted inserted replaced
2578:174618206d2b 2579:010577b52f5f
967 967
968 // Optimization reported by Chris Hafey 968 // Optimization reported by Chris Hafey
969 // https://groups.google.com/d/msg/orthanc-users/CKueKX0pJ9E/_UCbl8T-VjIJ 969 // https://groups.google.com/d/msg/orthanc-users/CKueKX0pJ9E/_UCbl8T-VjIJ
970 "enable_keep_alive", (keepAlive_ ? "yes" : "no"), 970 "enable_keep_alive", (keepAlive_ ? "yes" : "no"),
971 971
972 if ORTHANC_ENABLE_CIVETWEB == 1 972 #if ORTHANC_ENABLE_CIVETWEB == 1
973 // https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md#enable_keep_alive-no 973 // https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md#enable_keep_alive-no
974 "keep_alive_timeout_ms", (keepAlive_ ? "500" : "0"), 974 "keep_alive_timeout_ms", (keepAlive_ ? "500" : "0"),
975 #endif 975 #endif
976 976
977 // Set the SSL certificate, if any. This must be the last option. 977 // Set the SSL certificate, if any. This must be the last option.