Skip to content

Commit

Permalink
lib-sieve: program client: Connection to remote program service was n…
Browse files Browse the repository at this point in the history
…ot retried.
  • Loading branch information
stephanbosch committed Jul 7, 2016
1 parent a88360a commit 9de3c73
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib-sieve/util/program-client-remote.c
Expand Up @@ -221,12 +221,8 @@ static int program_client_remote_connect(struct program_client *pclient)
(struct program_client_remote *)pclient;
int fd;

if ((fd = net_connect_unix(pclient->path)) < 0) {
if ((fd = net_connect_unix_with_retries(pclient->path, 1000)) < 0) {
switch (errno) {
case EAGAIN:
case ECONNREFUSED:
// FIXME: retry;
return -1;
case EACCES:
i_error("%s", eacces_error_get("net_connect_unix", pclient->path));
return -1;
Expand Down

0 comments on commit 9de3c73

Please sign in to comment.