aboutsummaryrefslogtreecommitdiffstats
path: root/test/tunnel_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/tunnel_SUITE.erl')
-rw-r--r--test/tunnel_SUITE.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/tunnel_SUITE.erl b/test/tunnel_SUITE.erl
index 6cc50f8..e5fad34 100644
--- a/test/tunnel_SUITE.erl
+++ b/test/tunnel_SUITE.erl
@@ -886,8 +886,7 @@ do_proxy2(State=#st{proxy2=Type, proxy2_pid=Proxy2Pid, proxy2_port=Port}, ConnPi
Protocol
end]
}),
- %% @todo _IsFin is 'fin' for HTTP and 'nofin' for HTTP/2...
- {response, _IsFin, 200, _} = gun:await(ConnPid, StreamRef1),
+ {response, fin, 200, _} = gun:await(ConnPid, StreamRef1),
{up, Protocol} = gun:await(ConnPid, StreamRef1),
do_handshake_completed(Protocol, Proxy2Pid),
StreamRef1.
@@ -908,8 +907,7 @@ do_origin(#st{origin=Type, origin_port=Port}, ConnPid, StreamRef1) ->
transport => Transport,
protocols => [Protocol]
}, [], #{tunnel => StreamRef1}),
- %% @todo _IsFin is 'fin' for HTTP and 'nofin' for HTTP/2...
- {response, _IsFin, 200, _} = gun:await(ConnPid, StreamRef2),
+ {response, fin, 200, _} = gun:await(ConnPid, StreamRef2),
{up, Protocol} = gun:await(ConnPid, StreamRef2),
StreamRef2.