summaryrefslogtreecommitdiffstats
path: root/modules/websocket/websocket_multiplayer_peer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31483 from Faless/ws/fix_double_relayRémi Verschelde2019-08-201-8/+2
|\ | | | | Fix WebSocketServer relaying message twice.
| * Fix WebSocketServer relaying message 2 times.Fabio Alessandrelli2019-08-191-8/+2
| | | | | | | | | | | | | | | | | | The WebSocketMultiplayerPeer was relaying the same message two times, both in _server_relay and _process_multiplayer (which was only supposed to store the packet, given the server was one of the destination). _process_multiplayer now only store the packet, and calls _server_relay which will relay the message to other clients if needed.
* | WebSocketServer now sanitize destination peers.Fabio Alessandrelli2019-08-191-1/+4
|/ | | | | | | When relaying messages in multiplayer mode. Could cause a crash in case a malicious client sends a bogus packet and for those cases where a peer has just disconnected and a message arrive from another peer with the disconnected one as destination.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'Robin Hübner2019-08-121-10/+5
|
* Fixes minor issues found by static analyzerqarmin2019-07-071-1/+1
|
* Expose WebSocket set_buffers and document it.Fabio Alessandrelli2019-06-151-0/+1
|
* Fix -Wsign-compare warnings.marxin2019-02-271-3/+3
| | | | | I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
* Modules: Ensure classes match their header filenameRémi Verschelde2019-02-121-0/+361
Renamed: - `modules/mono/mono_gd/gd_mono_class_member.h` -> `i_mono_class_member.h` - `modules/upnp/upnpdevice.h` -> `upnp_device.h` - `modules/websocket/websocket_multiplayer.h` -> `websocket_multiplayer_peer.h`