core: bound connectivity check operations with a socket timeout
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user