This commit is contained in:
Greg Wilkins 2016-10-05 15:58:23 +11:00
parent be1726e251
commit 6ca387afc2
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class HttpChannelOverHttp extends HttpChannel implements HttpParser.Reque
break;
case HOST:
if (!(field instanceof HostPortHttpField))
if (!(field instanceof HostPortHttpField) && value!=null && !value.isEmpty())
field = new HostPortHttpField(value);
break;