Closed jfacorro closed 6 years ago
Thanks. I'm guilty of not having double checked Websocket compression with OTP 20.1. :-)
It's probably worth opening a bug on bugs.erlang.org FYI.
I opened issue ERL-494 in bugs.erlang.org.
Thank you for all your work!
zlib:set_controlling_process/2
was added in OTP 20.1.3.
This should be fixed in most recent Cowlib (2.0.1) and Cowboy (master).
The call to
erlang:port_connect/2
here fails withbadarg
for OTP 20.1.1. This makes thecowboy_websocket
to return a 400 here, but without any hint of what the problem is (in this case a 500 might be more appropriate?).I pinged the author of the change in
zilb
here, because I couldn't find a workaround to the current situation.