cocos2d-js
cocos2d-js copied to clipboard
Update libwebsockets
The currently used version of libwebsockets (v 1.23) is 8 months old and contains some huge bugs. I.e. headers are parsed with incorrect case sensitivity which breaks compatibility with various web servers.
It would be great if it could be updated to latest version (master branch of https://github.com/warmcat/libwebsockets).
Are there any instructions on how to update the source and compile it for cocos2d-x?
Thanks, a task have been created: http://www.cocos2d-x.org/issues/5667
Thank you very much! I am looking forward to it.
Is there any chance it could be compiled with OpenSSL or alternatively CyaSSL (see https://github.com/warmcat/libwebsockets/blob/master/README.build) ? It would be great to have secure WebSockets because they work in many networks where normal WebSockets are blocked.
Hello, I would love to have a go at compiling the latest version of libwebsockets with OpenSSL support and contributing back to the repo. Are there instructions anywhere on how to do this? Did you ever manage to get it working 486?
Unfortunately, no, I hoped that the experts would do it :) I think this is the repo from where the current, old version 1.23 has been built for cocos: https://github.com/dumganhar/libwebsockets/tree/v1.23 Perhaps this can help you. Good luck!
That's a shame. I'll have a go at it and report back here if I'm successful.
Has anyone managed to compile libwebsockets with OpenSSL?
Still waiting... it is really a shame, Cocos2dx is fantastic, but without a Secure WebSocket it is really hard to make real-time multiplayer games. And you really need it secure, not only for privacy, but also because mobile networks often block plain WebSocket.
Any Update?