0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Test trailers bug when there are data frames in queue

This commit is contained in:
Tony Han 2019-12-23 21:00:35 +08:00 committed by Loïc Hoguin
parent e81cd6328b
commit 43f1754f33
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
2 changed files with 3 additions and 2 deletions

View file

@ -1068,7 +1068,7 @@ stream_trailers(Config) ->
stream_trailers_large(Config) ->
doc("Stream large body followed by trailer headers."),
{200, RespHeaders, <<0:800000>>, [
{200, RespHeaders, <<0:80000000>>, [
{<<"grpc-status">>, <<"0">>}
]} = do_trailers("/resp/stream_trailers/large", Config),
{_, <<"grpc-status">>} = lists:keyfind(<<"trailer">>, 1, RespHeaders),