This commit is contained in:
parent
131cd37328
commit
79dca558d2
7 changed files with 33 additions and 29 deletions
|
|
@ -11,7 +11,7 @@ namespace SimpleWeb {
|
|||
class Server<HTTPS> : public ServerBase<HTTPS> {
|
||||
public:
|
||||
Server(unsigned short port, size_t num_threads, const std::string& cert_file, const std::string& private_key_file,
|
||||
size_t timeout_request=5, size_t timeout_content=300,
|
||||
long timeout_request=5, long timeout_content=300,
|
||||
const std::string& verify_file=std::string()) :
|
||||
ServerBase<HTTPS>::ServerBase(port, num_threads, timeout_request, timeout_content),
|
||||
context(boost::asio::ssl::context::sslv23) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue