comparison 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
comparison
equal deleted inserted replaced
1109:2e3bfa9a82b7 1110:becde5351e47
783 { 783 {
784 port += "s"; 784 port += "s";
785 } 785 }
786 786
787 const char *options[] = { 787 const char *options[] = {
788 // Set the TCP port for the HTTP server
788 "listening_ports", port.c_str(), 789 "listening_ports", port.c_str(),
790
791 // Optimization reported by Chris Hafey
792 // https://groups.google.com/d/msg/orthanc-users/CKueKX0pJ9E/_UCbl8T-VjIJ
793 // "enable_keep_alive", "yes",
794
795 // Set the SSL certificate, if any. This must be the last option.
789 ssl_ ? "ssl_certificate" : NULL, 796 ssl_ ? "ssl_certificate" : NULL,
790 certificate_.c_str(), 797 certificate_.c_str(),
791 NULL 798 NULL
792 }; 799 };
793 800