summaryrefslogtreecommitdiff
path: root/modules/websocket/lws_client.cpp
AgeCommit message (Collapse)Author
2018-11-12Convert WebSocket module to use PacketBuffer classFabio Alessandrelli
2018-11-03Fix access to freed mem in WS client after #23241Fabio Alessandrelli
I was wrong in assuming that String had to survive long enough to avoid it, what actually needed to survive was the CharString obtained from the acsii() or utf8() function. At least according to valgrind
2018-10-23Remove unneeded strncpy in lws_client.Fabio Alessandrelli
Pass the String buffer directly, lws_client_connect_via_info will copy them for us.
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-07Fix LWSClient connect_to_host string termination.Fabio Alessandrelli
Coming from strncpy might get you a non-NULL terminated buffer. The solution, if you accept trunction, is to give one less byte to strncpy and manually set the last char in the buffer to '\0'. If the source string is shorter, than the buffer is padded with '\0' automatically.
2018-09-24Implement WebSocket clean close detection.Fabio Alessandrelli
2018-09-24Implement WebSocket close notify.Fabio Alessandrelli
2018-08-30Allow WebSocket connect with no sub-protocols.Fabio Alessandrelli
2018-08-06Fix WebSocket crash due to non PDO init.Fabio Alessandrelli
Move RingBuffer (and few related vars) to LWSPeer.
2018-06-07Bump libwebsockets to version 3.0.0Fabio Alessandrelli
2018-04-03Websocket client SSL supportFabio Alessandrelli
2018-03-21s/2017/2018/g for gles2, websocket, linux appdataPoommetee Ketson
2018-02-06Relicense module to the wondeful Godot community!Fabio Alessandrelli
2018-02-06Add websocket module.Fabio Alessandrelli
Webassembly is client-only for obvious reasons. Other platforms support both client and server using libwebsockets.