Changes with Apache 2.0.45
+ *) Fix 64-bit problem in mod_ssl input logic.
+ [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
+
*) Fix potential memory leaks in mod_deflate on malformed data. PR 16046.
[Justin Erenkrantz]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/02/27 04:25:14 $]
+Last modified at [$Date: 2003/02/27 11:57:32 $]
Release:
+1: jim, wrowe, stoddard
-1:
- * Fix 64-bit breakage in mod_ssl.
- modules/ssl/ssl_engine_io.c r1.104
- +1: trawick, jim, stoddard
-
* Rewrite how proxy sends its request to allow input bodies to
morph the request bodies. Previously, if an input filter
changed the request body, the original C-L would be sent which
/*
* this is the function called by SSL_read()
*/
-static int bio_filter_in_read(BIO *bio, char *in, int inl)
+static int bio_filter_in_read(BIO *bio, char *in, int inlen)
{
+ apr_size_t inl = inlen;
bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)(bio->ptr);
apr_read_type_e block = inctx->block;
SSLConnRec *sslconn = myConnConfig(inctx->f->c);
inctx->rc = brigade_consume(inctx->bb, block, in, &inl);
if (inctx->rc == APR_SUCCESS) {
- return inl;
+ return (int)inl;
}
if (APR_STATUS_IS_EAGAIN(inctx->rc)
|| APR_STATUS_IS_EINTR(inctx->rc)) {
BIO_set_retry_read(bio);
- return inl;
+ return (int)inl;
}
/* Unexpected errors and APR_EOF clean out the brigade.
/* Provide the results of this read pass,
* without resetting the BIO retry_read flag
*/
- return inl;
+ return (int)inl;
}
return -1;