aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http2.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-10-31 17:15:11 +0000
committerLoïc Hoguin <[email protected]>2017-10-31 17:15:11 +0000
commitad9ab51648d16181960f4a4eeb27ea6948d35739 (patch)
tree97b4e0afc94ff6d26e6051fb00893e61e05f24bb /src/cowboy_http2.erl
parent4e85ad76a0ce2584175d4aabbd3e9900bd405056 (diff)
downloadcowboy-ad9ab51648d16181960f4a4eeb27ea6948d35739.tar.gz
cowboy-ad9ab51648d16181960f4a4eeb27ea6948d35739.tar.bz2
cowboy-ad9ab51648d16181960f4a4eeb27ea6948d35739.zip
Add some todos
Diffstat (limited to 'src/cowboy_http2.erl')
-rw-r--r--src/cowboy_http2.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl
index 663d33a..21f0aeb 100644
--- a/src/cowboy_http2.erl
+++ b/src/cowboy_http2.erl
@@ -774,6 +774,7 @@ stream_req_init(State=#state{ref=Ref, peer=Peer, sock=Sock, cert=Cert},
_ ->
undefined
end,
+ %% @todo If this fails to parse we want to gracefully handle the crash.
{Host, Port} = cow_http_hd:parse_host(Authority),
{Path, Qs} = cow_http:parse_fullpath(PathWithQs),
Req = #{