diff --git a/server_https.hpp b/server_https.hpp index 6fe0f6f..309a5dd 100644 --- a/server_https.hpp +++ b/server_https.hpp @@ -14,12 +14,12 @@ namespace SimpleWeb { std::string session_id_context; bool set_session_id_context=false; public: - DEPRECATED Server(unsigned short port, size_t num_threads, const std::string& cert_file, const std::string& private_key_file, + DEPRECATED Server(unsigned short port, size_t thread_pool_size, const std::string& cert_file, const std::string& private_key_file, long timeout_request=5, long timeout_content=300, const std::string& verify_file=std::string()) : Server(cert_file, private_key_file, verify_file) { config.port=port; - config.thread_pool_size=num_threads; + config.thread_pool_size=thread_pool_size; config.timeout_request=timeout_request; config.timeout_content=timeout_content; }