/[Apache-SVN]
ViewVC logotype

Revision 290965


Jump to revision: Previous Next
Author: jorton
Date: Thu Sep 22 15:38:14 2005 UTC (18 years, 7 months ago)
Changed paths: 3
Log Message:
Implement a (bounded) buffer of request body data to provide a limited
but safe fix for the mod_ssl renegotiation-vs-requests-with-bodies
bug:

* modules/ssl/ssl_private.h (ssl_io_buffer_fill): Add prototype.

* modules/ssl/ssl_engine_io.c (ssl_io_buffer_fill,
ssl_io_filter_buffer): New functions.

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): If a
renegotiation is needed, and the request has a non-zero
content-length, or a t-e header (and 100-continue was not requested),
call ssl_io_buffer_fill to set aside the request body data if
possible, then proceed with the negotiation.

PR: 12355


Changed paths

Path Details
Directoryhttpd/httpd/trunk/modules/ssl/ssl_engine_io.c modified , text changed
Directoryhttpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c modified , text changed
Directoryhttpd/httpd/trunk/modules/ssl/ssl_private.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26