Displaying 4 results from an estimated 4 matches for "fd_set_nonblock".
2006 Aug 11
1
fcntl Bad file descriptor
I've seen a couple of these in the log while testing the proxy too. Do you know what would cause this?
Aug 10 23:30:29 director5 dovecot: imap-login: fcntl(-1, F_GETFL) failed: Bad file descriptor
Aug 10 23:30:29 director5 dovecot: imap-login: fd_set_nonblock(-1) failed: Bad file descriptor
Aug 10 23:30:29 director5 dovecot: child 14016 (login) returned error 89
2008 Jul 10
3
fs quota check with server does not support rquotad
Hi,
Last time, I have got no reply, hope this time is better.
OS: Solaris 10
Dovecot version : 1.1.1
file system of /var/mail : NFS from Solaris
file system of /home : other NFS server that not support rquotad.
Here is my setting that works:
----------------------------
plugin {
quota = fs:INBOX:mount=/var/mail
quota2 = fs:home:noenforcing:mount=/home/h1
}
The above settings works. Dovecot
2017 Apr 14
0
Test error: net_connect_ip(127.0.0.1:0) failed: Can't assign requested address
...listening?
static int test_open_server_fd(in_port_t *bind_port)
{
int fd = net_listen(&bind_ip, bind_port, 128);
if (debug)
i_debug("server listening on %u", *bind_port);
if (fd == -1) {
i_fatal("listen(%s:%u) failed: %m",
net_ip2addr(&bind_ip), *bind_port);
}
fd_set_nonblock(fd, FALSE);
return fd;
}
Forcing debug...
>grep 'static bool debug =' test-imapc-client.c
static bool debug = TRUE;
>make clean
>make
>./test-imapc-client
test: random seed #1 was 1492955953
Error: net_connect_ip(127.0.0.1:0) failed: Can't assign requested address...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...call a plumber. */
+ if (pipe(fds) < 0) {
+ i_error("catenate_begin_parsing: pipe: %m");
+ client_send_tagline(cmd, "NO "MAIL_ERRSTR_CRITICAL_MSG);
+ if (keywords != NULL)
+ mailbox_keywords_free(ctx->box, &keywords);
+ return catenate_cancel(ctx, nonsync);
+ }
+ fd_set_nonblock(fds[0], TRUE);
+ fd_set_nonblock(fds[1], TRUE);
+ ctx->cat.output = o_stream_create_fd(fds[1], PIPE_MAX, TRUE);
+ ctx->input = i_stream_create_fd(fds[0], PIPE_MAX, TRUE);
+
+ /* start assembling the message */
+ ctx->save_ctx = mailbox_save_alloc(ctx->t);
+ mailbox_save_set_flags(ctx-&g...