diff options
| -rw-r--r-- | include/mod_gnutls.h.in | 5 | ||||
| -rw-r--r-- | src/gnutls_io.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/mod_gnutls.h.in b/include/mod_gnutls.h.in index 7d39a72..0b6c66c 100644 --- a/include/mod_gnutls.h.in +++ b/include/mod_gnutls.h.in | |||
| @@ -146,6 +146,11 @@ typedef struct | |||
| 146 | /** Functions in gnutls_io.c **/ | 146 | /** Functions in gnutls_io.c **/ |
| 147 | 147 | ||
| 148 | /** | 148 | /** |
| 149 | * write_flush will flush data | ||
| 150 | */ | ||
| 151 | static ssize_t write_flush(mgs_handle_t * ctxt); | ||
| 152 | |||
| 153 | /** | ||
| 149 | * mgs_filter_input will filter the input data | 154 | * mgs_filter_input will filter the input data |
| 150 | * by decrypting it using GnuTLS and passes it cleartext. | 155 | * by decrypting it using GnuTLS and passes it cleartext. |
| 151 | * | 156 | * |
diff --git a/src/gnutls_io.c b/src/gnutls_io.c index a434eb5..debdf5a 100644 --- a/src/gnutls_io.c +++ b/src/gnutls_io.c | |||
| @@ -561,7 +561,7 @@ apr_status_t mgs_filter_output(ap_filter_t * f, apr_bucket_brigade * bb) | |||
| 561 | while (!APR_BRIGADE_EMPTY(bb)) { | 561 | while (!APR_BRIGADE_EMPTY(bb)) { |
| 562 | apr_bucket *bucket = APR_BRIGADE_FIRST(bb); | 562 | apr_bucket *bucket = APR_BRIGADE_FIRST(bb); |
| 563 | 563 | ||
| 564 | if (AP_BUCKET_IS_EOS(bucket)) { | 564 | if (APR_BUCKET_IS_EOS(bucket)) { |
| 565 | return ap_pass_brigade(f->next, bb); | 565 | return ap_pass_brigade(f->next, bb); |
| 566 | } else if (APR_BUCKET_IS_FLUSH(bucket)) { | 566 | } else if (APR_BUCKET_IS_FLUSH(bucket)) { |
| 567 | /* Try Flush */ | 567 | /* Try Flush */ |
