Minor SocketServer<WSS> constructor cleanup
This commit is contained in:
parent
8c8ef391f8
commit
ec5eda1521
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue