diff options
author | Cliff Woolley <jwoolley@apache.org> | 2002-04-05 09:31:44 +0200 |
---|---|---|
committer | Cliff Woolley <jwoolley@apache.org> | 2002-04-05 09:31:44 +0200 |
commit | c1c583494ed5cdbd0540f4fd287ecb2e7cc30b85 (patch) | |
tree | 5f220f5ecf7357d4a65398764c01057c4ac1f82e /modules | |
parent | Get rid of overlay bogosity by copying the static string to the stack. (diff) | |
download | apache2-c1c583494ed5cdbd0540f4fd287ecb2e7cc30b85.tar.xz apache2-c1c583494ed5cdbd0540f4fd287ecb2e7cc30b85.zip |
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@94453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ssl/ssl_engine_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index da7a8a23a9..4b38f3dccd 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/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, \ |