Displaying 9 results from an estimated 9 matches for "ev_delet".
Did you mean:
ev_delete
2008 Aug 16
1
dovecot bug - kevent(EV_DELETE, 9)
...,DC=domain,DC=ru))
default_pass_scheme = CRYPT
My problem.
dovecot works fine with AD! but i have this in logs (This not nice,
but no more):
Aug 14 02:21:03 somecomp dovecot: auth(default): LDAP: Connection lost to LDAP server, reconnecting
Aug 14 02:21:03 somecomp dovecot: auth(default): kevent(EV_DELETE, 9) failed: Bad file descriptor
Aug 14 02:36:04 somecomp dovecot: auth(default): LDAP: Connection lost to LDAP server, reconnecting
Aug 14 02:36:04 somecomp dovecot: auth(default): kevent(EV_DELETE, 9) failed: Bad file descriptor
Aug 14 02:51:04 somecomp dovecot: auth(default): LDAP: Connection...
2006 Aug 16
9
BSD people, please test kqueue changes
...ple of things in the code that I'm not completely sure
of. The kqueue() manual page says that EV_ADD "modifies" the event if it
already exists. What exactly does that mean? Does it mean that the
filter is replaced, or that it's ORed into the existing one? The same
question for the EV_DELETE, does it delete everything or only those
filters given in parameters?
The code currently assumes ORing and EV_DELETE deleting only the given
filters, since this is what the original code also did.
I suppose the data and udata parameters don't matter in EV_DELETE since
they weren't given...
2018 Oct 24
0
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
...= 88 (0x58)
close(12) = 0 (0x0)
write(11,\"-Failed to parse client input: I\"...,82) = 82 (0x52)
getpid() = 3446 (0xd76)
__sysctl(0x7fffffffe8d0,0x4,0x0,0x0,0x42034000,0x20) = 0 (0x0)
kevent(10,{ 11,EVFILT_READ,EV_DELETE,0x0,0x0,0x0 },1,0x0,0,0x0) = 0
(0x0)
close(11) = 0 (0x0)
madvise(0x4207e000,0x2000,0x5) = 0 (0x0)
madvise(0x42094000,0x3000,0x5) = 0 (0x0)
madvise(0x42098000,0x3000,0x5) = 0 (0x0)
madvise(0x420a0000,0x300...
2018 Oct 24
2
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
Nothing, the same error
Oct 24 10:11:16 server dovecot:
imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: kevent(-1) for
notify remove failed: Bad file descriptor
Oct 24 10:11:16 server dovecot:
imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: close(-1) for
notify remove failed: Bad file descriptor
Oct 24 10:11:16 server dovecot: imap-hibernate:
2005 Dec 14
2
Patch: ioloop using kqueue/kevent for FreeBSD
...ULL, 0, NULL);
+ }
+}
+
+
+void io_loop_handle_remove(struct ioloop *ioloop, struct io *io)
+{
+ struct ioloop_handler_context *ctx = ioloop->handler_context;
+ struct fdrecord * const fds = ctx->fds;
+ const int fd = io->fd;
+ struct kevent ev = {fd, 0, EV_DELETE, 0, 0, NULL};
+ enum io_condition condition = io->condition;
+
+
+ i_assert((size_t)fd < ctx->fds_size);
+ i_assert(fds[fd].mode != 0);
+
+ if (condition & (IO_READ | IO_ERROR))
+ {
+ ev.filter = EVFILT_READ;
+ fds[fd].m...
2009 Jan 15
3
1.1.9 release candidate
http://dovecot.org/tmp/dovecot-1.1.9.rc.tar.gz
There are a couple of a bit larger changes, so would be nice if a few
people tested this on different setups before I released the final
v1.1.9.
Changes since v1.1.8:
+ deliver: Added rejection_subject setting, which is used for
rejected mails.
+ pop3: Prevent clients from looping forever trying to fetch an
expunged message.
+ If login
2004 Oct 25
0
[PATCH] Request for testing: BSD kqueue ioloop handler
...< changed - 1)
+ data->events[i] = data->events[changed];
+ data->events_changed--;
+ return;
+ }
+ }
+
+ event = data->events + data->events_changed;
+ data->events_changed++;
+
+ EV_SET(event, io->fd,
+ io->condition == IO_READ ? EVFILT_READ : EVFILT_WRITE,
+ EV_DELETE | EV_EOF, 0, 0, io);
+}
+
+void io_loop_handler_run(struct ioloop *ioloop)
+{
+ struct ioloop_handler_data *data = ioloop->handler_data;
+ struct io_list *list;
+ struct kevent *event;
+ struct io *io;
+ struct timespec ts;
+ struct timeval tv;
+ unsigned int t_id;
+ int ret, i, call;
+
+...
2003 Apr 16
1
PATCH Add support for kqueue in ioloop subsystem
...uct ioloop *ioloop, int fd, int condition)
{
short filter;
struct ioloop_handler_data *data = ioloop->handler_data;
i_assert(fd >= 0);
if (condition & IO_READ)
filter |= EVFILT_READ;
if (condition & IO_WRITE)
filter |= EVFILT_WRITE;
EV_SET(&data->event, fd, filter, EV_DELETE, 0, 0,
NULL);
if (kevent(data->kq, &data->event, 1, NULL, 0, NULL) < 0) {
/*
* changing this to i_fatal is debatable, however
* if you do so you will potentially expose the case
* where a process receives the client from a socket
* then closes the listening socket, ex...
2005 Dec 15
2
Patch: More of kqueue() support.
...= ctx->fds_size) {
@@ -103,10 +107,10 @@ void io_loop_handle_add(struct ioloop *i
void io_loop_handle_remove(struct ioloop *ioloop, struct io *io)
{
struct ioloop_handler_context *ctx = ioloop->handler_context;
+ const int fd = io->fd;
struct kevent ev = { fd, 0, EV_DELETE, 0, 0, NULL };
struct fdrecord *const fds = ctx->fds;
- const int fd = io->fd;
- const enum io_condition condition = io->condition;
+ const enum io_condition condition = io->condition & MASK;
i_assert((size_t)fd < ctx->fds_size);...