fixed refactor uri issue
This commit is contained in:
parent
467773dbdf
commit
d6f841bb87
|
@ -153,7 +153,7 @@ public class Parser
|
|||
catch (Throwable x)
|
||||
{
|
||||
LOG.debug(x);
|
||||
notifyConnectionFailure(ErrorCode.PROTOCOL_ERROR, "parser_error");
|
||||
notifyConnectionFailure(ErrorCode.PROTOCOL_ERROR, "parser_error: "+x);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -251,6 +251,7 @@ public class Parser
|
|||
@Override
|
||||
public void onConnectionFailure(int error, String reason)
|
||||
{
|
||||
LOG.warn("onConnectionFailure {},{}",error,reason);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -189,9 +189,11 @@ public class HpackDecoder
|
|||
break;
|
||||
|
||||
case ":path":
|
||||
// TODO is this needed
|
||||
/*
|
||||
if (indexed)
|
||||
field = new StaticValueHttpField(header,name,value,new HttpURI(value));
|
||||
else
|
||||
else*/
|
||||
field = new HttpField(header,name,value);
|
||||
break;
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ public class MetaDataBuilder
|
|||
break;
|
||||
|
||||
default:
|
||||
throw new IllegalArgumentException();
|
||||
throw new IllegalArgumentException(field.getName());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue