Issue #592
This commit is contained in:
parent
be1726e251
commit
6ca387afc2
|
@ -127,7 +127,7 @@ public class HttpChannelOverHttp extends HttpChannel implements HttpParser.Reque
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case HOST:
|
case HOST:
|
||||||
if (!(field instanceof HostPortHttpField))
|
if (!(field instanceof HostPortHttpField) && value!=null && !value.isEmpty())
|
||||||
field = new HostPortHttpField(value);
|
field = new HostPortHttpField(value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue