From 920afa71ac298032b376753594133c98bd36d04a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 21 Sep 2020 13:23:02 +0200 Subject: Fix compilation and Dialyzer warnings --- src/gun_tls_proxy_http2_connect.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gun_tls_proxy_http2_connect.erl') diff --git a/src/gun_tls_proxy_http2_connect.erl b/src/gun_tls_proxy_http2_connect.erl index 70b4824..97cbcd7 100644 --- a/src/gun_tls_proxy_http2_connect.erl +++ b/src/gun_tls_proxy_http2_connect.erl @@ -50,7 +50,7 @@ connect(_, _, _, _) -> error(not_implemented). -spec send(socket(), iodata()) -> ok. -send(S=#{gun_pid := GunPid, reply_to := ReplyTo, stream_ref := DataStreamRef, +send(#{gun_pid := GunPid, reply_to := ReplyTo, stream_ref := DataStreamRef, handle_continue_stream_ref := StreamRef}, Data) -> GunPid ! {handle_continue, StreamRef, {data, ReplyTo, DataStreamRef, nofin, Data}}, ok. -- cgit v1.2.3