]> granicus.if.org Git - apache/commit
http, mod_ssl: Introduce and return the 421 (Misdirected Request) status code
authorYann Ylavic <ylavic@apache.org>
Fri, 12 Jun 2015 11:33:22 +0000 (11:33 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 12 Jun 2015 11:33:22 +0000 (11:33 +0000)
commit33d6aaf455bf6f5c151b3cb320f68f93fcecf93c
tree5c767ce923e4adaa9a175103c75e11835c891244
parent488f6e0459423a293624cb605ecfdd43586a4e0a
http, mod_ssl: Introduce and return the 421 (Misdirected Request) status code
for clients requesting a hostname on a reused connection whose SNI (from the
TLS handshake) does not match.
PR 5802.

This allows HTTP/2 clients to fall back to a new connection as per:
https://tools.ietf.org/html/rfc7540#section-9.1.2

Proposed by: Stefan Eissing <stefan eissing.org>
Reviewed by: ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1685069 13f79535-47bb-0310-9956-ffa450edef68
include/httpd.h
modules/http/http_protocol.c
modules/ssl/ssl_engine_kernel.c