Searched defs:timeout (Results 1 - 14 of 14) sorted by relevance

/dovecot/src/util/
H A Dmaildirlock.c26 static int maildir_lock(const char *path, unsigned int timeout, argument
29 dotlock_settings.timeout = timeout;
40 unsigned int timeout; local
46 fprintf(stderr, "Usage: maildirlock <path> <timeout>\n"
89 if (str_to_uint(argv[2], &timeout) < 0)
90 i_fatal("Invalid timeout value: %s", argv[2]);
91 if (maildir_lock(argv[1], timeout, &dotlock) <= 0)
/dovecot/src/lib/
H A Dfile-dotlock.h19 unsigned int timeout; member in struct:dotlock_settings
55 /* Create dotlock. Returns 1 if successful, 0 if timeout or -1 if error.
H A Dioloop-private.h20 ARRAY(struct timeout *) timeouts_new;
66 struct timeout { struct
H A Dioloop.c218 static void timeout_update_next(struct timeout *timeout, struct timeval *tv_now) argument
221 if (gettimeofday(&timeout->next_run, NULL) < 0)
224 timeout->next_run.tv_sec = tv_now->tv_sec;
225 timeout->next_run.tv_usec = tv_now->tv_usec;
230 timeout->next_run.tv_usec -= timeout->next_run.tv_usec % 1000;
232 timeout->next_run.tv_sec += timeout->msecs/1000;
233 timeout
246 struct timeout *timeout; local
271 struct timeout *timeout; local
327 struct timeout *timeout; local
372 timeout_free(struct timeout *timeout) argument
381 struct timeout *timeout = *_timeout; local
406 timeout_reset_timeval(struct timeout *timeout, struct timeval *tv_now) argument
431 timeout_reset(struct timeout *timeout) argument
437 timeout_get_wait_time(struct timeout *timeout, struct timeval *tv_r, struct timeval *tv_now) argument
477 struct timeout *timeout; local
540 struct timeout *timeout= *to_idx; local
622 struct timeout *timeout = (struct timeout *)item; local
[all...]
/dovecot/src/lib-dict-backend/
H A Ddict-ldap-settings.h15 unsigned int timeout; member in struct:dict_ldap_map
24 unsigned int timeout; member in struct:dict_ldap_settings
/dovecot/src/doveadm/dsync/
H A Ddsync-ibc-private.h91 bool timeout:1; member in struct:dsync_ibc
/dovecot/src/lib-program-client/
H A Dprogram-client-local.c31 struct timeout *to_kill;
403 unsigned long runtime, timeout = 0; local
426 /* Calculate timeout */
430 timeout = pclient->set.input_idle_timeout_msecs - runtime;
438 (timeout == 0 && pclient->set.input_idle_timeout_msecs > 0);
441 if (timeout > 0)
443 timeout_add_short(timeout,
/dovecot/src/lib-http/
H A Dhttp-client-host.c44 int timeout = 0; local
58 timeout = timeval_diff_msecs
62 if (timeout <= HTTP_CLIENT_HOST_MINIMUM_IDLE_TIMEOUT_MSECS)
63 timeout = HTTP_CLIENT_HOST_MINIMUM_IDLE_TIMEOUT_MSECS;
65 hshared->to_idle = timeout_add_to(hshared->cctx->ioloop, timeout,
68 e_debug(hshared->event, "Host is idle (timeout = %u msecs)", timeout);
297 /* cancel host idle timeout */
H A Dhttp-client-connection.c11 #include "istream-timeout.h"
383 unsigned int timeout, count; local
396 /* set timeout for this connection */
399 timeout = 0;
406 timeout = (set->max_parallel_connections - idle_count) *
411 "Lost peer; going idle (timeout = %u msecs)",
412 timeout);
414 conn->to_idle = timeout_add_to(conn->conn.ioloop, timeout,
430 unsigned int timeout, count; local
439 /* timeout alread
[all...]
/dovecot/src/lib-imap-urlauth/
H A Dimap-urlauth.c36 unsigned int timeout; local
56 timeout = IMAP_URLAUTH_SPECIAL_TIMEOUT_MSECS;
58 timeout = IMAP_URLAUTH_NORMAL_TIMEOUT_MSECS;
63 config->access_service, user, config->session_id, timeout);
/dovecot/src/lib-master/
H A Dmaster-service-settings.c453 time_t now, timeout; local
511 timeout = now + CONFIG_READ_TIMEOUT_SECS;
513 alarm(timeout - now);
532 } while (now < timeout);
/dovecot/src/plugins/quota/
H A Dquota-fs.c373 struct timeval timeout; local
415 timeout.tv_sec = RQUOTA_GETQUOTA_TIMEOUT_SECS;
416 timeout.tv_usec = 0;
420 timeout);
478 struct timeval timeout; local
512 timeout.tv_sec = RQUOTA_GETQUOTA_TIMEOUT_SECS;
513 timeout.tv_usec = 0;
518 timeout);
/dovecot/src/lib-sql/
H A Ddriver-pgsql.c25 struct timeout *to_connect;
49 struct timeout *to;
61 bool timeout:1; member in struct:pgsql_result
240 connect timeout (by refreshing ioloop time). */
470 result->timeout = TRUE;
585 /* have to move our existing I/O and timeout handlers to new I/O loop */
829 if (result->timeout) {
/dovecot/src/auth/
H A Ddb-ldap.c916 struct timeval timeout; local
926 i_zero(&timeout);
927 ret = ldap_result(conn->ld, LDAP_RES_ANY, 0, &timeout, &msg);
932 &timeout, &msg);
1171 i_fatal("LDAP %s: Can't set network-timeout: %s",
1309 "Aborting (timeout), we're not connected to LDAP server");
1312 /* no requests left, remove this timeout handler */

Completed in 75 milliseconds