Skip to content

Commit 1faaec5

Browse files
[Ldap] force default network timeout
1 parent 2d5a055 commit 1faaec5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Adapter/ExtLdap/Connection.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ protected function configureOptions(OptionsResolver $resolver)
107107
$value['referrals'] = $options['referrals'];
108108
}
109109

110+
if (!isset($value['network_timeout'])) {
111+
$value['network_timeout'] = ini_get('default_socket_timeout');
112+
}
113+
110114
return $value;
111115
});
112116

0 commit comments

Comments
 (0)