Here is a patch to add necessary status code, and avoid checking failure when building response.
Based on branch stable-2.2

Thanks!


On Fri, Jul 26, 2019 at 2:06 PM Nala Ginrut <nalaginrut@gmail.com> wrote:
Hi folks!
The current response builder will reject status code less than 600:
-------------------------------code-------------------------
 ((not (and (non-negative-integer? code) (< code 600)))
  (bad-response "Bad code: ~a" code))
---------------------------------------------------------------

However, Websocket specific status code is larger than 1000.
This breaks Artanis Websocket handler to return 500, so that the client has no way to detect the actual problem.

Is there any plan to support it?
Or maybe someone is just waiting for a patch? ;-)

Best regards.