lipp / lua-websockets

Websockets for Lua.
http://lipp.github.com/lua-websockets/
MIT License
396 stars 113 forks source link

Server Handshake Reply #112

Closed dbaileychess closed 2 years ago

dbaileychess commented 6 years ago

Just updating library to conform to the RFC section 4.2.2.5.

Discovered while using the .NET websocket to connect to a server running Lua websockets. The connection request was for 'Upgrade,Keep-Alive' and when the server tried to accept the connection it replied back with 'Connection: Upgrade,Keep-Alive' which broken the client side, probably because of the 4.2.2.5.3 violation.