godot/core/io
Fabio Alessandrelli 6ff869eda7 [Net] Fix IP address resolution incorrectly locking the main thread.
This seems to be a pretty old bug, older then originally reported (at
least under certain circumstances).

The IP singleton uses a resolve queue so developers can queue hostnames
for resolution in a separate while keeping the main thread unlocked
(address-resolution OS functions are blocking, and could block for a long
time in case of network disruption).

In most places though, the address resolution function was called with
the mutex locked, causing other functions (querying status, queueing
another hostname, ecc) to block until that resolution ended.

This commit ensures that all calls to OS address resolution are done
with the mutex unlocked.
2021-08-03 15:39:48 +02:00
..
compression.cpp Fix decompression with FastLZ when buffer size is less than 16 bytes 2021-07-13 12:20:29 +02:00
compression.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
config_file.cpp Add a "keep" import mode to keep files as-is and export them. 2021-03-23 15:44:24 +01:00
config_file.h Add a "keep" import mode to keep files as-is and export them. 2021-03-23 15:44:24 +01:00
dtls_server.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dtls_server.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
file_access_compressed.cpp Allow nullptr with zero length in FileAccess get_buffer 2021-03-17 15:17:02 +01:00
file_access_compressed.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
file_access_encrypted.cpp FileAccess: Don't err in store_buffer with buffer of size 0 2021-06-07 22:56:01 +02:00
file_access_encrypted.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
file_access_memory.cpp FileAccess: Don't err in store_buffer with buffer of size 0 2021-06-07 22:56:01 +02:00
file_access_memory.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
file_access_network.cpp Allow nullptr with zero length in FileAccess get_buffer 2021-03-17 15:17:02 +01:00
file_access_network.h Modernize Thread 2021-02-18 11:58:08 +01:00
file_access_pack.cpp Allow nullptr with zero length in FileAccess get_buffer 2021-03-17 15:17:02 +01:00
file_access_pack.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
file_access_zip.cpp Fix duplicate close files when deconstructing ZipArchive 2021-05-24 12:58:36 +02:00
file_access_zip.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
http_client.cpp Fix unicode invalid skip error in AssetLib 2021-07-13 12:18:48 +02:00
http_client.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
image_loader.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
image_loader.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ip.cpp [Net] Fix IP address resolution incorrectly locking the main thread. 2021-08-03 15:39:48 +02:00
ip.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ip_address.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ip_address.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
json.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
json.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
logger.cpp Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts. 2021-03-02 10:26:14 +01:00
logger.h Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts. 2021-03-02 10:26:14 +01:00
marshalls.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
marshalls.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multiplayer_api.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multiplayer_api.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
net_socket.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
net_socket.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
networked_multiplayer_peer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
networked_multiplayer_peer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packet_peer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packet_peer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packet_peer_dtls.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packet_peer_dtls.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packet_peer_udp.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packet_peer_udp.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pck_packer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pck_packer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_format_binary.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_format_binary.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer.cpp Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
resource_importer.h Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
resource_loader.cpp Fix crash with user-defined ResourceFormatLoader.load 2021-05-09 16:15:09 +02:00
resource_loader.h Modernize Mutex 2021-02-18 11:58:08 +01:00
resource_saver.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_saver.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
stream_peer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
stream_peer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
stream_peer_ssl.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
stream_peer_ssl.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
stream_peer_tcp.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
stream_peer_tcp.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
tcp_server.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
tcp_server.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
translation_loader_po.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
translation_loader_po.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
udp_server.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
udp_server.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
xml_parser.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
xml_parser.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
zip_io.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
zip_io.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00