extend/cowboy — pull request #218 by asabil (2012-05-07 18:01:22+00:00)
Title: Check for errors when calling Transport:send in the websocket protocol

In some situations, the underlying socket might become "half-open" in
which case the websocket will stay in a waiting state indefinitely. The
detection of this state requires checking for errors when calling send.