search for: errio

Displaying 3 results from an estimated 3 matches for "errio".

2006 May 09
2
Fix for the kevent "Unrecognized event" problem.
The attached patch should fix the problem with dying imap on "Unrecognized event". The problem is that when we register a handle for IO_ERROR only, we still can get readable/writable event without EV_EOF being set. This case was not handled. -- Vaclav Haisman -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: io-kq.diff URL:
2005 Dec 14
2
Patch: ioloop using kqueue/kevent for FreeBSD
Hi, I would like to submit the attached patch. It implements IO loop using FreeBSD's kqueue/kevent syscalls. It is based on snapshot of CVS HEAD as of 2005-12-12. I could only give it limited testing on FreeBSD 5.4 but it works fine so far. Vaclav Haisman -------------- next part -------------- diff -rN -u old-dovecot-cvs/autogen.sh new-dovecot-cvs/autogen.sh ---
2005 Dec 15
2
Patch: More of kqueue() support.
...].ident < ctx->fds_size); - if (ctx->fds[ctx->evbuf[i].ident].mode & IO_ERROR) { + if ((ctx->fds[ctx->evbuf[i].ident].mode & IO_ERROR) + && (ctx->evbuf[i].flags & EV_EOF)) { struct io *errio = ctx->fds[ctx->evbuf[i].ident].errio; t_id = t_push(); @@ -171,8 +176,8 @@ void io_loop_handler_run(struct ioloop * (void *)errio->callback); } } - - if (ctx->fds[ctx->evbuf[i].ident].mode & (IO_WRITE | IO_READ...