mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Prevent GDScript language server from listening to external hosts by default
* Add bind_ip property to WebSocketServer defaulting to "*" (listen to everyone) * Set default for GDscript Language Server to listen only to localhost Fixes potential security issue with GDScript language server being exposed to the broad net by default. Since it is the server which primary usage is to provide utility to the local editor there is no need to expose it.
This commit is contained in:
parent
40f0649e5b
commit
e1a0ce5af9
7 changed files with 28 additions and 4 deletions
|
@ -77,7 +77,7 @@ public:
|
|||
_FORCE_INLINE_ bool is_initialized() const { return _initialized; }
|
||||
|
||||
void poll();
|
||||
Error start(int p_port);
|
||||
Error start(int p_port, const IP_Address &p_bind_ip);
|
||||
void stop();
|
||||
|
||||
void notify_all_clients(const String &p_method, const Variant &p_params = Variant());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue