extend/cowboy — pull request #330 by dergraf (2012-12-05 16:44:49+00:00)
Title: call websocket_terminate in case of a handshake error

solution that worked for us for issue https://github.com/extend/cowboy/issues/327