diff options
author | Loïc Hoguin <[email protected]> | 2018-04-23 15:49:34 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-04-23 15:49:34 +0200 |
commit | 8b9a09c9fe670e95fe888009e3eb28439eab9ce0 (patch) | |
tree | a74be0d668124dd023b371a15b3abfa5f2bec3dd /src/cowboy_http2.erl | |
parent | 9af8b0d23a2887f9bae5e8f54bc2b055a0375efe (diff) | |
download | cowboy-8b9a09c9fe670e95fe888009e3eb28439eab9ce0.tar.gz cowboy-8b9a09c9fe670e95fe888009e3eb28439eab9ce0.tar.bz2 cowboy-8b9a09c9fe670e95fe888009e3eb28439eab9ce0.zip |
HTTP/2 informational responses don't end the stream
Diffstat (limited to 'src/cowboy_http2.erl')
-rw-r--r-- | src/cowboy_http2.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl index 82f4d2e..74ebe5e 100644 --- a/src/cowboy_http2.erl +++ b/src/cowboy_http2.erl @@ -534,7 +534,7 @@ commands(State, Stream, [{error_response, _, _, _}|Tail]) -> commands(State, Stream, Tail); %% Send an informational response. commands(State0, Stream=#stream{local=idle}, [{inform, StatusCode, Headers}|Tail]) -> - State = send_headers(State0, Stream, StatusCode, Headers, fin), + State = send_headers(State0, Stream, StatusCode, Headers, nofin), commands(State, Stream, Tail); %% Send response headers. %% |