mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix a broken test case in the rfc7540 suite
This commit is contained in:
parent
0246d9a4e6
commit
bec9a43d50
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ http_upgrade_reject_bad_http2_settings_header(Config) ->
|
||||||
"Connection: Upgrade, HTTP2-Settings\r\n"
|
"Connection: Upgrade, HTTP2-Settings\r\n"
|
||||||
"Upgrade: h2c\r\n"
|
"Upgrade: h2c\r\n"
|
||||||
%% We send a full SETTINGS frame on purpose.
|
%% We send a full SETTINGS frame on purpose.
|
||||||
"HTTP2-Settings: ", base64:encode(cow_http2:settings(#{})), "\r\n",
|
"HTTP2-Settings: ", base64:encode(iolist_to_binary(cow_http2:settings(#{}))), "\r\n",
|
||||||
"\r\n"]),
|
"\r\n"]),
|
||||||
{ok, <<"HTTP/1.1 400">>} = gen_tcp:recv(Socket, 12, 1000),
|
{ok, <<"HTTP/1.1 400">>} = gen_tcp:recv(Socket, 12, 1000),
|
||||||
ok.
|
ok.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue