mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 16:10:11 +01:00
core: bound connectivity check operations with a socket timeout
This commit is contained in:
parent
2619c017dd
commit
d62f712d6e
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ nm_connectivity_init (NMConnectivity *self)
|
|||
{
|
||||
NMConnectivityPrivate *priv = NM_CONNECTIVITY_GET_PRIVATE (self);
|
||||
|
||||
priv->soup_session = soup_session_async_new ();
|
||||
priv->soup_session = soup_session_async_new_with_options (SOUP_SESSION_TIMEOUT, 15, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue