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

(-)include/httpd.h (+3 lines)
Lines 1217-1222 Link Here
1217
    /** The minimum level of filter type to allow setaside buckets */
1217
    /** The minimum level of filter type to allow setaside buckets */
1218
    int async_filter;
1218
    int async_filter;
1219
1220
    /** Did we already see a request? Used by the scoreboard. */
1221
    unsigned short request_seen;
1219
};
1222
};
1220
struct conn_slave_rec {
1223
struct conn_slave_rec {
(-)server/scoreboard.c (-2 / +3 lines)
Lines 499-506 Link Here
499
        }
499
        }
500
        else if (r) {
500
        else if (r) {
501
            copy_request(ws->request, sizeof(ws->request), r);
501
            copy_request(ws->request, sizeof(ws->request), r);
502
            r->connection->request_seen = 1;
502
        }
503
        }
503
        else if (c) {
504
        else if (c && !c->request_seen) {
504
            ws->request[0]='\0';
505
            ws->request[0]='\0';
505
        }
506
        }
Lines 527-533 Link Here
527
                apr_cpystrn(ws->vhost, s->server_hostname, sizeof(ws->vhost));
528
                apr_cpystrn(ws->vhost, s->server_hostname, sizeof(ws->vhost));
528
            }
529
            }
529
        }
530
        }
530
        else if (c) {
531
        else if (c && !c->request_seen) {
531
            ws->vhost[0]='\0';
532
            ws->vhost[0]='\0';
532
        }
533
        }

Return to bug 59333