main: remove old comment
This commit is contained in:
@@ -81,7 +81,7 @@ int main(int argc, char** argv, char** envp) {
|
|||||||
|
|
||||||
auto endpoint = std::make_unique<Pistache::Http::Endpoint>(address);
|
auto endpoint = std::make_unique<Pistache::Http::Endpoint>(address);
|
||||||
auto opts = Pistache::Http::Endpoint::options().threads(threads).flags(Pistache::Tcp::Options::ReuseAddr | Pistache::Tcp::Options::ReusePort);
|
auto opts = Pistache::Http::Endpoint::options().threads(threads).flags(Pistache::Tcp::Options::ReuseAddr | Pistache::Tcp::Options::ReusePort);
|
||||||
opts.maxRequestSize(g_pConfig->m_config.max_request_size); // 150MB TODO: configurable
|
opts.maxRequestSize(g_pConfig->m_config.max_request_size);
|
||||||
endpoint->init(opts);
|
endpoint->init(opts);
|
||||||
auto handler = Pistache::Http::make_handler<CServerHandler>();
|
auto handler = Pistache::Http::make_handler<CServerHandler>();
|
||||||
handler->init();
|
handler->init();
|
||||||
|
|||||||
Reference in New Issue
Block a user