Clarified Request.isPushSupported().

Now isPushSupported() returns true only if the request is not
a synthentic request generated by a push.
This commit is contained in:
Simone Bordet 2016-02-15 20:55:03 +01:00
parent 26217a73c1
commit 261bea7bc7
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ public class Request implements HttpServletRequest
/* ------------------------------------------------------------ */
public boolean isPushSupported()
{
return getHttpChannel().getHttpTransport().isPushSupported();
return !isPush() && getHttpChannel().getHttpTransport().isPushSupported();
}
/* ------------------------------------------------------------ */