aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_tls_proxy_http2_connect.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-09-21 13:23:02 +0200
committerLoïc Hoguin <[email protected]>2020-09-21 15:52:26 +0200
commit920afa71ac298032b376753594133c98bd36d04a (patch)
tree76e412079baf37f4c15ec6ebabcd06793b15d7c3 /src/gun_tls_proxy_http2_connect.erl
parent43df59e49b1ab92e3ca0a333ae403742b2ed7a5d (diff)
downloadgun-920afa71ac298032b376753594133c98bd36d04a.tar.gz
gun-920afa71ac298032b376753594133c98bd36d04a.tar.bz2
gun-920afa71ac298032b376753594133c98bd36d04a.zip
Fix compilation and Dialyzer warnings
Diffstat (limited to 'src/gun_tls_proxy_http2_connect.erl')
-rw-r--r--src/gun_tls_proxy_http2_connect.erl2
1 files changed, 1 insertions, 1 deletions
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.