[evolution/gnome-3-38] I#1230 - mail-autoconfig: Set 15s timeout for autoconfig lookup



commit 14c5c5219cf90dc9f4be5c32b47d658f4ed33365
Author: Milan Crha <mcrha redhat com>
Date:   Wed Nov 18 14:31:49 2020 +0100

    I#1230 - mail-autoconfig: Set 15s timeout for autoconfig lookup
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1230

 src/mail/e-mail-autoconfig.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mail/e-mail-autoconfig.c b/src/mail/e-mail-autoconfig.c
index d495ea42f2..aeb6724c07 100644
--- a/src/mail/e-mail-autoconfig.c
+++ b/src/mail/e-mail-autoconfig.c
@@ -496,8 +496,8 @@ mail_autoconfig_lookup (EMailAutoconfig *autoconfig,
        proxy_source = e_source_registry_ref_builtin_proxy (registry);
 
        soup_session = soup_session_new_with_options (
-               SOUP_SESSION_PROXY_RESOLVER,
-               G_PROXY_RESOLVER (proxy_source),
+               SOUP_SESSION_PROXY_RESOLVER, G_PROXY_RESOLVER (proxy_source),
+               SOUP_SESSION_TIMEOUT, 15,
                NULL);
 
        g_object_unref (proxy_source);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]