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:
Simone Bordet 2019-12-19 18:08:06 +01:00
parent 133dbdf7fe
commit 9bbf8c5bfe
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ public class HttpTransportOverHTTP2 implements HttpTransport
}
else
{
if (hasContent || (lastContent && !isTunnel(request, response)))
if (hasContent || (lastContent && !isTunnel(request, metaData)))
{
if (lastContent)
{