allinurl / gwsocket

fast, standalone, language-agnostic WebSocket server RFC6455 compliant
http://gwsocket.io
MIT License
745 stars 67 forks source link

Strict protocol parsing #30 #33

Closed itsanov closed 4 years ago

itsanov commented 4 years ago

When wrong header for strict protocol is received, current implementation is throwing away complete header (12 bytes) from incoming buffer. Suggested implementation is throwing away just 1 byte and will search again for valid header. For more details, please take a look here

allinurl commented 4 years ago

Merged. Thank you!