View | Details | Raw Unified | Return to bug 47586
Collapse All | Expand All

(-)mpm_winnt.c (-14 / +7 lines)
Lines 1452-1457 Link Here
1452
    apr_cpystrn(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir));
1452
    apr_cpystrn(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir));
1453
    if (!strcasecmp(signal_arg, "start")) {
1454
        apr_status_t rv = 0;
1455
        rv = mpm_service_start(ptemp, inst_argc, inst_argv);
1456
        apr_terminate();
1457
        exit (rv);
1458
    }
1459
1453
    return OK;
1460
    return OK;
1454
}
1461
}
Lines 1494-1513 Link Here
1494
        exit(0);
1501
        exit(0);
1495
    }
1502
    }
1496
    if (!strcasecmp(signal_arg, "start")) {
1497
        ap_listen_rec *lr;
1498
1499
        /* Close the listening sockets. */
1500
        for (lr = ap_listeners; lr; lr = lr->next) {
1501
            apr_socket_close(lr->sd);
1502
            lr->active = 0;
1503
        }
1504
        rv = mpm_service_start(ptemp, inst_argc, inst_argv);
1505
        apr_pool_destroy(s->process->pool);
1506
        apr_terminate();
1507
        exit (rv);
1508
    }
1509
1510
    if (!strcasecmp(signal_arg, "restart")) {
1503
    if (!strcasecmp(signal_arg, "restart")) {
1511
        mpm_signal_service(ptemp, 1);
1504
        mpm_signal_service(ptemp, 1);
1512
        apr_pool_destroy(s->process->pool);
1505
        apr_pool_destroy(s->process->pool);

Return to bug 47586