Merged branch 'jetty-9.4.x' into 'master'.

This commit is contained in:
Simone Bordet 2017-10-03 18:55:12 +02:00
commit 552250356b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ public class Request implements HttpServletRequest
public PushBuilder newPushBuilder()
{
if (!isPushSupported())
throw new IllegalStateException(String.format("%s,push=%b,channel=%s", this, isPush(), getHttpChannel()));
return null;
HttpFields fields = new HttpFields(getHttpFields().size()+5);