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

(-)ab.c.org (-2 / +3 lines)
Lines 642-647 Link Here
642
#endif
642
#endif
643
            e = apr_socket_send(c->aprsock, request + c->rwrote, &l);
643
            e = apr_socket_send(c->aprsock, request + c->rwrote, &l);
644
644
645
        totalposted += l;
646
645
        /*
647
        /*
646
         * Bail early on the most common case
648
         * Bail early on the most common case
647
         */
649
         */
Lines 656-669 Link Here
656
                epipe++;
658
                epipe++;
657
                printf("Send request failed!\n");
659
                printf("Send request failed!\n");
658
                close_connection(c);
660
                close_connection(c);
661
                return;
659
            }
662
            }
660
            return;
661
        }
663
        }
662
        c->rwrote += l;
664
        c->rwrote += l;
663
        c->rwrite -= l;
665
        c->rwrite -= l;
664
    } while (1);
666
    } while (1);
665
667
666
    totalposted += c->rwrite;
667
    c->state = STATE_READ;
668
    c->state = STATE_READ;
668
    c->endwrite = apr_time_now();
669
    c->endwrite = apr_time_now();
669
    {
670
    {

Return to bug 38861