diff options
Diffstat (limited to 'src/cowboy_spdy.erl')
-rw-r--r-- | src/cowboy_spdy.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_spdy.erl b/src/cowboy_spdy.erl index cc4d867..32d65df 100644 --- a/src/cowboy_spdy.erl +++ b/src/cowboy_spdy.erl @@ -474,7 +474,7 @@ request_init(Parent, StreamID, Peer, #special_headers{method=Method, path=Path, version=Version, host=Host}) -> Version2 = parse_version(Version), - {Host2, Port} = cowboy_protocol:parse_host(Host, <<>>), + {Host2, Port} = cowboy_protocol:parse_host(Host, false, <<>>), {Path2, Query} = parse_path(Path, <<>>), Req = cowboy_req:new({Parent, StreamID}, ?MODULE, Peer, Method, Path2, Query, Version2, Headers, |