aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_http2.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun_http2.erl')
-rw-r--r--src/gun_http2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl
index 037c193..8f0632b 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -510,7 +510,7 @@ headers_frame_connect(State=#http2_state{transport=Transport, opts=Opts, tunnel_
origin_host => DestHost,
origin_port => DestPort
},
- ReplyTo ! {gun_response, self(), RealStreamRef, nofin, Status, Headers},
+ ReplyTo ! {gun_response, self(), RealStreamRef, fin, Status, Headers},
EvHandlerState1 = EvHandler:response_headers(#{
stream_ref => RealStreamRef,
reply_to => ReplyTo,