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

(-)jk_isapi_plugin.c (+12 lines)
Lines 1455-1466 Link Here
1455
1455
1456
    DWORD huge_buf_sz;
1456
    DWORD huge_buf_sz;
1457
1457
1458
    /* There have been several times where flags added to jk_ws_service_t have not had initialisers added here
1459
       resulting in seriously broken performance. Try to catch these so we can ensure it doesn't happen silently. */
1460
    if (sizeof(jk_ws_service_t) != 172) {
1461
        jk_log(logger, JK_LOG_WARNING, "Definition of jk_ws_service_t has changed (size is now %u). Please check that it is initialised correctly in init_ws_service.", sizeof(jk_ws_service_t));
1462
    }
1463
1458
    s->jvm_route = NULL;
1464
    s->jvm_route = NULL;
1459
1465
1460
    s->start_response = start_response;
1466
    s->start_response = start_response;
1461
    s->read = read;
1467
    s->read = read;
1462
    s->write = write;
1468
    s->write = write;
1469
1470
    /* Yes we do want to reuse AJP connections */
1471
    s->disable_reuse = JK_FALSE;
1472
1463
    s->flush = NULL;
1473
    s->flush = NULL;
1474
    s->flush_packets = JK_FALSE;
1475
    s->flush_header = JK_FALSE;
1464
1476
1465
    /* Clear RECO status */
1477
    /* Clear RECO status */
1466
    s->reco_status = RECO_NONE;
1478
    s->reco_status = RECO_NONE;

Return to bug 40965