ninenines / gun

HTTP/1.1, HTTP/2, Websocket client (and more) for Erlang/OTP.
ISC License
891 stars 232 forks source link

host header in Ws upgrade fixed #196

Closed SergeTupchiy closed 5 years ago

SergeTupchiy commented 5 years ago

used already_implemented host_header/3 func, when adding host header in ws upgrade, without it ws upgrade failed if Host was of ip4_address() type: {0..255, 0..255, 0..255, 0..255}

essen commented 5 years ago

Merged, thanks!