On Wed, Jul 28, 1999, Matthias Loepfe wrote:

> I check you patch and found out that it works except in the case where you
> use apache as a proxy with https.
> 
> To fix the problem just check 'actx to be NULL' in the function
> 'ssl_io_suck_read'.

You mean the following fixes your remaining problem, right?

Index: ssl_engine_io.c
===================================================================
RCS file: /e/modssl/cvs/mod_ssl/pkg.apache/src/modules/ssl/ssl_engine_io.c,v
retrieving revision 1.24
diff -u -r1.24 ssl_engine_io.c
--- ssl_engine_io.c 1999/07/28 13:09:00 1.24
+++ ssl_engine_io.c 1999/07/29 08:33:51
@@ -241,11 +241,12 @@
 {
     ap_ctx *actx;
     struct ssl_io_suck_st *ss;
-    request_rec *r;
+    request_rec *r = NULL;
     int rv;
 
     actx = (ap_ctx *)SSL_get_app_data2(ssl);
-    r    = (request_rec *)ap_ctx_get(actx, "ssl::request_rec");
+    if (actx != NULL)
+        r = (request_rec *)ap_ctx_get(actx, "ssl::request_rec");
 
     rv = -1;
     if (r != NULL) {
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to