morrissinger / ESP8266-Websocket

A websocket library for the ESP-8266.
305 stars 119 forks source link

Server: Reduced memory usage, improved header handling, added ping/pong #13

Closed soundstorm closed 8 years ago

soundstorm commented 8 years ago

Headers are now not longer case sensitive and whitespaces do not matter. Added correct termination with 1007 and 1009 for faults and 1008 for correct disconnecting. Reduced memory usage if not using HIXIE style. Added rudimentary ping/pong without any checking of pong message (should be the same as ping message)

morrissinger commented 8 years ago

Appreciate the work on this, @soundstorm. Would you consider resubmitting without adjusting the whitespacing across the file? It'll help a lot when it comes to reading the git history.

soundstorm commented 8 years ago

Done ;-)

morrissinger commented 8 years ago

Awesome. Merging. Thanks for doing this!