You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2002/04/05 09:31:44 UTC
cvs commit: httpd-2.0/modules/ssl ssl_engine_io.c
jwoolley 02/04/04 23:31:44
Modified: modules/ssl ssl_engine_io.c
Log:
Get the HTTP-on-HTTPS hint to come through again. We're in AP_MODE_GETLINE
at this point, so the \r\n\r\n just confuses the http input filter.
One concern: this patch is only correct as long as we only ever call this
function while in AP_MODE_GETLINE. Ideally we would account for the mode
and return the newlines if not in GETLINE mode, but at the moment it doesn't
seem to matter.
Reviewed by: Doug MacEachern
Revision Changes Path
1.72 +1 -1 httpd-2.0/modules/ssl/ssl_engine_io.c
Index: ssl_engine_io.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_io.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -u -r1.71 -r1.72
--- ssl_engine_io.c 2 Apr 2002 17:30:08 -0000 1.71
+++ ssl_engine_io.c 5 Apr 2002 07:31:44 -0000 1.72
@@ -736,7 +736,7 @@
}
#define HTTP_ON_HTTPS_PORT \
- "GET /mod_ssl:error:HTTP-request HTTP/1.0\r\n\r\n"
+ "GET /mod_ssl:error:HTTP-request HTTP/1.0"
#define HTTP_ON_HTTPS_PORT_BUCKET(alloc) \
apr_bucket_immortal_create(HTTP_ON_HTTPS_PORT, \