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

(-)support/ab.c (+4 lines)
Lines 1506-1511 static void read_connection(struct connection * c) Link Here
1506
    int i;
1506
    int i;
1507
1507
1508
    r = sizeof(buffer);
1508
    r = sizeof(buffer);
1509
read_more:
1509
#ifdef USE_SSL
1510
#ifdef USE_SSL
1510
    if (c->ssl) {
1511
    if (c->ssl) {
1511
        status = SSL_read(c->ssl, buffer, r);
1512
        status = SSL_read(c->ssl, buffer, r);
Lines 1712-1717 static void read_connection(struct connection * c) Link Here
1712
        c->bread += r;
1713
        c->bread += r;
1713
        totalbread += r;
1714
        totalbread += r;
1714
    }
1715
    }
1716
    if (r == sizeof(buffer) && c->bread < c->length) {
1717
        goto read_more;
1718
    }
1715
1719
1716
    if (c->keepalive && (c->bread >= c->length)) {
1720
    if (c->keepalive && (c->bread >= c->length)) {
1717
        /* finished a keep-alive connection */
1721
        /* finished a keep-alive connection */

Return to bug 61301