to ngx_configure_listening_sockets(), otherwise listen socket logs have no file
after first reload and this caused segfault if debug_connection was used;
the bug has been introduced in r2786
continue;
}
- ls[i].log = *ls[i].logp;
-
if (ls[i].inherited) {
/* TODO: close on exit */
ls = cycle->listening.elts;
for (i = 0; i < cycle->listening.nelts; i++) {
+ ls[i].log = *ls[i].logp;
+
if (ls[i].rcvbuf != -1) {
if (setsockopt(ls[i].fd, SOL_SOCKET, SO_RCVBUF,
(const void *) &ls[i].rcvbuf, sizeof(int))