]> granicus.if.org Git - apache/commitdiff
Get the HTTP-on-HTTPS hint to come through again. We're in AP_MODE_GETLINE
authorCliff Woolley <jwoolley@apache.org>
Fri, 5 Apr 2002 07:31:44 +0000 (07:31 +0000)
committerCliff Woolley <jwoolley@apache.org>
Fri, 5 Apr 2002 07:31:44 +0000 (07:31 +0000)
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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94453 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index da7a8a23a92623940f21e9ee5c7052e878f582c9..4b38f3dccd573ca2fe41ae3dca8e245da727aade 100644 (file)
@@ -736,7 +736,7 @@ static apr_status_t ssl_io_input_getline(ssl_io_input_ctx_t *ctx,
 }
 
 #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, \