Fixed merging
This commit is contained in:
parent
887bdbeace
commit
b799a28923
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ bool Httpd::start()
|
||||||
|
|
||||||
m_daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL,
|
m_daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL,
|
||||||
static_cast<uint16_t>(m_options->ccPort()), nullptr, nullptr, &Httpd::handler,
|
static_cast<uint16_t>(m_options->ccPort()), nullptr, nullptr, &Httpd::handler,
|
||||||
this, MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 10,
|
this, MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 25,
|
||||||
MHD_OPTION_HTTPS_MEM_KEY, m_keyPem.c_str(),
|
MHD_OPTION_HTTPS_MEM_KEY, m_keyPem.c_str(),
|
||||||
MHD_OPTION_HTTPS_MEM_CERT, m_certPem.c_str(),
|
MHD_OPTION_HTTPS_MEM_CERT, m_certPem.c_str(),
|
||||||
MHD_OPTION_END);
|
MHD_OPTION_END);
|
||||||
|
@ -66,7 +66,7 @@ bool Httpd::start()
|
||||||
# endif
|
# endif
|
||||||
m_daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, static_cast<uint16_t>(m_options->ccPort()), nullptr,
|
m_daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, static_cast<uint16_t>(m_options->ccPort()), nullptr,
|
||||||
nullptr, &Httpd::handler,
|
nullptr, &Httpd::handler,
|
||||||
this, MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 10, MHD_OPTION_END);
|
this, MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 25, MHD_OPTION_END);
|
||||||
# ifndef XMRIG_NO_TLS
|
# ifndef XMRIG_NO_TLS
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue