search for: authworker

Displaying 2 results from an estimated 2 matches for "authworker".

Did you mean: auth_worker
2012 Jun 08
1
dovecot ignores entries in virtual_alias_maps when using dovecot lda
hello list, i need help. dovecot dont look into my virtual_alias_maps . i set via postzfixadmin an alias postmaster at domain.tld to newmail at domainother.tld. when i send mails to postmaster at domain.tld mails are rejected. dovecot authworker tells me in log: user unknown. but i can request the data via postmap -v -q postmaster at domain.tld mysql:/etc/postfix/mysql_virtual_alias.cf and get result "newmail at domainother.tld". any ideas, hwo to get dovecot to look into my alias maps? marko
2012 Mar 11
2
[patch] Threading support in ssh-agent
...AUTH_CONNECTION +#ifdef HAVE_LIBPTHREAD + , AUTH_INUSE +#endif } sock_type; typedef struct { @@ -137,6 +145,50 @@ /* Default lifetime (0 == forever) */ static int lifetime = 0; +#ifdef HAVE_LIBPTHREAD + +#define MAX_THREADS 20 + +#define REQ_QUEUE_LEN (MAX_THREADS * 2) + +typedef void (*AuthWorker)(SocketEntry*); + +struct AuthRequestQueueEntry { + AuthWorker worker; + SocketEntry *e; +}; + +struct AuthRequestQueue { + struct AuthRequestQueueEntry queue[REQ_QUEUE_LEN]; + int first; + int used; + int inprogress; /* operated by get() */ + pthread_mutex_t lock; + pthread_cond_t cond; +}; + +str...