From: Cliff Woolley Date: Fri, 5 Apr 2002 07:31:44 +0000 (+0000) Subject: Get the HTTP-on-HTTPS hint to come through again. We're in AP_MODE_GETLINE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4a00bccb5a648536c15652a4c775ee46fe09e0c;p=thirdparty%2Fapache%2Fhttpd.git 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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94453 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index da7a8a23a92..4b38f3dccd5 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -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, \