Merge a413b36fcf
into 05b7929019
This commit is contained in:
commit
2a2ad5ad35
|
@ -2066,6 +2066,7 @@ int start_listen(HttpServer *sv, struct ev_loop *loop, Sessions *sessions,
|
||||||
if (!acceptor) {
|
if (!acceptor) {
|
||||||
acceptor = std::make_shared<AcceptHandler>(sv, sessions, config);
|
acceptor = std::make_shared<AcceptHandler>(sv, sessions, config);
|
||||||
}
|
}
|
||||||
|
// coverity[leaked_storage]
|
||||||
new ListenEventHandler(sessions, fd, acceptor);
|
new ListenEventHandler(sessions, fd, acceptor);
|
||||||
|
|
||||||
if (config->verbose) {
|
if (config->verbose) {
|
||||||
|
|
Loading…
Reference in New Issue