Fixed WebSocketOverHTTP2Test.
HttpTransportOverHTTP2 needs to pass a non-null response metadata to check if it's a tunnel. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
133dbdf7fe
commit
9bbf8c5bfe
|
@ -177,7 +177,7 @@ public class HttpTransportOverHTTP2 implements HttpTransport
|
|||
}
|
||||
else
|
||||
{
|
||||
if (hasContent || (lastContent && !isTunnel(request, response)))
|
||||
if (hasContent || (lastContent && !isTunnel(request, metaData)))
|
||||
{
|
||||
if (lastContent)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue