- Timestamp:
- Sep 22, 2010, 2:05:48 AM (12 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, msva, proxy-ticket, upstream
- Children:
- 0fce7c2
- Parents:
- 41dd507
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_io.c
r41dd507 r7ce01c9 556 556 apr_bucket *bucket = APR_BRIGADE_FIRST(bb); 557 557 558 if (AP_BUCKET_IS_EOC(bucket) || APR_BUCKET_IS_EOS(bucket)) { 559 apr_bucket_brigade * tmpb; 560 561 if (APR_BUCKET_IS_EOS(bucket)) { 562 tmpb = bb; 563 } else { 564 tmpb = ctxt->output_bb; 565 } 566 558 if (AP_BUCKET_IS_EOC(bucket)) { 567 559 if (ctxt->session != NULL) { 568 560 do { … … 574 566 APR_BRIGADE_INSERT_TAIL(ctxt->output_bb, e); 575 567 576 if ((status = ap_pass_brigade(f->next, tmpb)) != APR_SUCCESS) {568 if ((status = ap_pass_brigade(f->next, ctxt->output_bb)) != APR_SUCCESS) { 577 569 apr_brigade_cleanup(ctxt->output_bb); 578 570 return status; … … 585 577 } 586 578 continue; 587 } else if (APR_BUCKET_IS_FLUSH(bucket) ) {579 } else if (APR_BUCKET_IS_FLUSH(bucket) || APR_BUCKET_IS_EOS(bucket)) { 588 580 589 581 apr_bucket_copy(bucket, &e);
Note: See TracChangeset
for help on using the changeset viewer.