]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
When receiving http on https, send the error response with http 1.0
authorRainer Jung <rjung@apache.org>
Fri, 15 Feb 2013 15:50:37 +0000 (15:50 +0000)
committerRainer Jung <rjung@apache.org>
Fri, 15 Feb 2013 15:50:37 +0000 (15:50 +0000)
commitad100835c46c05d89c150df7e161c6550b0fec97
treeae88ba2897bf891f83e10aac6556b18da38efc3c
parent78c928c1c658a35f09290295adaf84500ac981f8
When receiving http on https, send the error response with http 1.0
It is important that we send a proper error status, or search engines
may index the error message.

Remove the link in the speaking-http-on-https error message.
With SNI, the link will usually be wrong. So better send no link at all.

PR: 50823

Backport of r1328325 and r1328326 from trunk resp.
r1334346 from 2.4.x.

Submitted by: sf
Backported by: rjung
Reviewed by: wrowe, rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1446642 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
STATUS
modules/ssl/ssl_engine_io.c
modules/ssl/ssl_engine_kernel.c
modules/ssl/ssl_private.h