summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kraemer <martin@apache.org>2001-04-26 11:21:38 +0000
committerMartin Kraemer <martin@apache.org>2001-04-26 11:21:38 +0000
commit56f7ece1a9a8eb5a3f78bc207393e74c9b1b7bf6 (patch)
tree3b7e3a4abdee93ce379129e6b85008f9c4e7681d
parenta529c242faf7cf37fe228022235f2569e12e7783 (diff)
downloadhttpd-56f7ece1a9a8eb5a3f78bc207393e74c9b1b7bf6.tar.gz
Make mod_tls compile. Fix supplied by Jean-Frederic Clere
Submitted by: Jean-Frederic Clere <JFrederic.Clere@fujitsu-siemens.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88939 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/tls/mod_tls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/tls/mod_tls.c b/modules/tls/mod_tls.c
index f8f78302ff..4ba98baaab 100644
--- a/modules/tls/mod_tls.c
+++ b/modules/tls/mod_tls.c
@@ -280,6 +280,7 @@ static apr_status_t tls_out_filter(ap_filter_t *f,apr_bucket_brigade *pbbIn)
{
TLSFilterCtx *pCtx=f->ctx;
apr_bucket *pbktIn;
+ apr_size_t zero = 0;
APR_BRIGADE_FOREACH(pbktIn,pbbIn) {
const char *data;
@@ -295,7 +296,7 @@ static apr_status_t tls_out_filter(ap_filter_t *f,apr_bucket_brigade *pbbIn)
ret=churn_output(pCtx);
if(ret != APR_SUCCESS)
return ret;
- ret=churn(pCtx,APR_NONBLOCK_READ);
+ ret=churn(pCtx,APR_NONBLOCK_READ,&zero);
if(ret != APR_SUCCESS)
if(ret == APR_EOF)
return APR_SUCCESS;
@@ -307,7 +308,7 @@ static apr_status_t tls_out_filter(ap_filter_t *f,apr_bucket_brigade *pbbIn)
if(APR_BUCKET_IS_FLUSH(pbktIn)) {
// assume that churn will flush (or already has) if there's output
- ret=churn(pCtx,APR_NONBLOCK_READ);
+ ret=churn(pCtx,APR_NONBLOCK_READ,&zero);
if(ret != APR_SUCCESS)
return ret;
continue;