nghttpx: Discard iaddrs early
This commit is contained in:
parent
10a84f3e3d
commit
5b9cacc2d7
|
@ -1245,6 +1245,7 @@ int event_loop() {
|
|||
redirect_stderr_to_errorlog();
|
||||
}
|
||||
|
||||
{
|
||||
auto iaddrs = get_inherited_addr_from_env(config);
|
||||
|
||||
if (create_acceptor_socket(config, iaddrs) != 0) {
|
||||
|
@ -1252,6 +1253,7 @@ int event_loop() {
|
|||
}
|
||||
|
||||
close_unused_inherited_addr(iaddrs);
|
||||
}
|
||||
|
||||
auto loop = ev_default_loop(config->ev_loop_flags);
|
||||
|
||||
|
|
Loading…
Reference in New Issue