From fc0f466afd020df7189eb10e7af9db0c32a621ee Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Thu, 8 Apr 2010 13:44:10 +0000 Subject: [PATCH] 297104 Improve handling of CONNECT method git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1490 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../src/main/java/org/eclipse/jetty/server/HttpConnection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java index 91d25509b12..037a6e3fb81 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java @@ -839,7 +839,8 @@ public class HttpConnection implements Connection switch (HttpMethods.CACHE.getOrdinal(method)) { case HttpMethods.CONNECT_ORDINAL: - _uri.parseConnect(uri.array(), uri.getIndex(), uri.length()); + // _uri.parseConnect(uri.array(), uri.getIndex(), uri.length()); + _uri.parse("http://"+uri+"/"); break; case HttpMethods.HEAD_ORDINAL: