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
This commit is contained in:
Greg Wilkins 2010-04-08 13:44:10 +00:00
parent b82adb9e79
commit fc0f466afd
1 changed files with 2 additions and 1 deletions

View File

@ -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: