diff options
author | simonp <simon.plasger@web.de> | 2014-05-16 12:29:06 +0200 |
---|---|---|
committer | simonp <simon.plasger@web.de> | 2014-05-16 12:29:06 +0200 |
commit | 8d3dab34ec29abf5453ecbfaea1cb764e710f1b4 (patch) | |
tree | a559f2cf913006fe584f3289a15dfdd8a48c0794 /plugins/password/drivers/vpopmaild.php | |
parent | 44fe214025658f9abe407e744db78b308f1e3db2 (diff) |
Add timeout for password-driver vpopmaild
Diffstat (limited to 'plugins/password/drivers/vpopmaild.php')
-rw-r--r-- | plugins/password/drivers/vpopmaild.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/password/drivers/vpopmaild.php b/plugins/password/drivers/vpopmaild.php index 6c1a9ee9d..40731206a 100644 --- a/plugins/password/drivers/vpopmaild.php +++ b/plugins/password/drivers/vpopmaild.php @@ -22,6 +22,8 @@ class rcube_vpopmaild_password $rcmail->config->get('password_vpopmaild_port'), null))) { return PASSWORD_CONNECT_ERROR; } + + $vpopmaild->setTimeout($rcmail->config->get('password_vpopmaild_timeout'),0); $result = $vpopmaild->readLine(); if(!preg_match('/^\+OK/', $result)) { |