diff options
author | Loïc Hoguin <[email protected]> | 2016-03-13 11:14:58 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-03-13 11:17:56 +0100 |
commit | b5d5d674b160433f9ddf18e5b034cceb8f2bdab4 (patch) | |
tree | dc1eb2897b6ece1e3e51e9d9595b130483179a00 /src/cow_http_hd.erl | |
parent | ff6b7e8f4e0ee31dcc817eedb890d0fe6d182b5c (diff) | |
download | cowlib-b5d5d674b160433f9ddf18e5b034cceb8f2bdab4.tar.gz cowlib-b5d5d674b160433f9ddf18e5b034cceb8f2bdab4.tar.bz2 cowlib-b5d5d674b160433f9ddf18e5b034cceb8f2bdab4.zip |
Parse the settings payload directly in cow_http_hd:parse_http2_settings/1
Diffstat (limited to 'src/cow_http_hd.erl')
-rw-r--r-- | src/cow_http_hd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl index 64d28fb..eaf18b5 100644 --- a/src/cow_http_hd.erl +++ b/src/cow_http_hd.erl @@ -1887,7 +1887,7 @@ horse_parse_host_ipv6_v4() -> -spec parse_http2_settings(binary()) -> binary(). parse_http2_settings(HTTP2Settings) -> - base64:decode(HTTP2Settings). + cow_http2:parse_settings_payload(base64:decode(HTTP2Settings)). %% @doc Parse the If-Match header. |