Re: Support Websocket status code

2019-08-07 Thread Nala Ginrut
hi Mark! Yes you're right, the status code should be encoded in close-frame, not HTTP response. Sorry for the wrong patch. ;-) Best regards. On Wed, Aug 7, 2019 at 2:52 PM Mark H Weaver wrote: > Hi, > > Nala Ginrut writes: > > > Hi folks! > > The current response builder will reject status co

Re: Support Websocket status code

2019-08-06 Thread Mark H Weaver
Hi, Nala Ginrut writes: > 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)) > ---

Re: Support Websocket status code

2019-07-28 Thread Nala Ginrut
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 wrote: > Hi folks! > The current response builder will reject status code less than 600: > ---

Support Websocket status code

2019-07-25 Thread Nala Ginrut
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)) --- H