Merged branch 'jetty-9.3.x' into 'master'.

This commit is contained in:
Simone Bordet 2016-03-25 18:34:23 +01:00
commit 3b5ed5a822
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public abstract class HttpConnection implements Connection
} }
// If we are HTTP 1.1, add the Host header // If we are HTTP 1.1, add the Host header
if (version.getVersion() > 10) if (version.getVersion() == 11)
{ {
if (!headers.containsKey(HttpHeader.HOST.asString())) if (!headers.containsKey(HttpHeader.HOST.asString()))
headers.put(getHttpDestination().getHostField()); headers.put(getHttpDestination().getHostField());