davidgaleano/libwebsockets — comment on commit 75b2e8ffbd81e065e86720783838db560bb62520
File:  line 0
By davidgaleano:

Looking at the differences on the spec:

http://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=rfc6455

I can see additional status codes on section 7.4.1 which could be added to the library but I think they are more for giving extra helpful information of the reasons for closing than anything else. I'm not an expert, but it looks to me that you can just return status 1002 and it'd be fine.