mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-29 04:14:11 +02:00
gresolver: Add GResolver:timeout property
Without a timeout, some lookup requests can go on forever, typically due to bugs in underlying systems. This can have particularly significant effects on the Happy Eyeballs algorithm in `GSocketClient`, which relies on multiple name lookups as its first step. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #2866
This commit is contained in:
@@ -1934,6 +1934,8 @@ g_resolver_lookup_service
|
||||
g_resolver_lookup_service_async
|
||||
g_resolver_lookup_service_finish
|
||||
g_resolver_free_targets
|
||||
g_resolver_get_timeout
|
||||
g_resolver_set_timeout
|
||||
<SUBSECTION>
|
||||
GResolverRecordType
|
||||
g_resolver_lookup_records
|
||||
|
Reference in New Issue
Block a user