httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r600477 - /httpd/httpd/trunk/modules/ssl/ssl_engine_io.c
Date Mon, 03 Dec 2007 11:02:02 GMT
Author: jorton
Date: Mon Dec  3 03:01:51 2007
New Revision: 600477

URL: http://svn.apache.org/viewvc?rev=600477&view=rev
Log:
* modules/ssl/ssl_engine_io.c (ssl_io_input_add_filter,
  ssl_io_filter_init): Don't clear f->r here after adding connection
  filters since ap_add_*_filter now guarantee to do it internally.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_io.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_io.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_io.c?rev=600477&r1=600476&r2=600477&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_io.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_io.c Mon Dec  3 03:01:51 2007
@@ -1586,9 +1586,6 @@
     inctx = apr_palloc(c->pool, sizeof(*inctx));
 
     filter_ctx->pInputFilter = ap_add_input_filter(ssl_io_filter, inctx, r, c);
-    /* Immediately forget the request_rec pointer stored in the
-     * filter; it will go out of scope. */
-    filter_ctx->pInputFilter->r = NULL;
 
     filter_ctx->pbioRead = BIO_new(&bio_filter_in_method);
     filter_ctx->pbioRead->ptr = (void *)inctx;
@@ -1619,9 +1616,6 @@
     filter_ctx->nobuffer        = 0;
     filter_ctx->pOutputFilter   = ap_add_output_filter(ssl_io_filter,
                                                        filter_ctx, r, c);
-    /* Immediately forget the request_rec pointer stored in the
-     * filter; it will go out of scope. */
-    filter_ctx->pOutputFilter->r = NULL;
 
     filter_ctx->pbioWrite       = BIO_new(&bio_filter_out_method);
     filter_ctx->pbioWrite->ptr  = (void *)bio_filter_out_ctx_new(filter_ctx, c);



Mime
View raw message