19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
1ef9fe877817de76eb38883ccf3833fae60e6865 |
|
05-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: stop including fd-set-nonblock.h & fd-close-on-exec.h directly |
2e68d078bde1e12ff81b7194f005c33fed949387 |
|
10-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: ioloop-kqueue - Improve kevent() panic log message |
d0d5df1cf96e040999080cdb747aca11f3cba0b2 |
|
23-Oct-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib: Fix kqueue io_loop_get_wait_time usage
The code needs to take into consideration,
when there is no IO to be waited, but possibly
there is io_set_pending used, or just timeouts. |
61114b4718d198f034f83778c131dbc0a07fd6f1 |
|
02-May-2014 |
Timo Sirainen <tss@iki.fi> |
kqueue: Changed all i_fatal() calls to i_panic()s to make debugging them possible. |
f922ecaf766c60c10f642f3ac2d5f7748ff642b0 |
|
03-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
ioloop: Added io_set_pending() |
1d00bd0bf4205166e66916facb3ca5b0be49dd28 |
|
23-Oct-2013 |
Timo Sirainen <tss@iki.fi> |
ioloop-kqueue: Added extra assert. |
3eb142b9963c91854fac13ccd91bfd44f2c82511 |
|
19-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
ioloop-kqueue: Added assert |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
31a574fda352ef4f71dbff9c30e15e4744e132c0 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added array_append_zero() to write a zero-filled record to an array.
Replaced (void)array_append_space() calls with it. |
0536ccb51d41e3078c3a9fa33e509fb4b2420f95 |
|
21-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Renamed lib/*-internal.h files to lib/*-private.h for consistency. |
b9a13c136b7c5803a8271878fcbbf5328f6e7f2a |
|
03-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
ioloop: Added support for per-io/timeout callback log prefix automation. |
282d90c45566878d0b4894b547b7827d51df3df3 |
|
15-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
ioloop-kqueue: Improved error messages.
--HG--
branch : HEAD |
6795f542ed816a3c977085d4f74df1d62a37b690 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
ioloop: Added callback for handling time jumping forwards/backwards.
The default implementation is now to only log a warning when time moves
backwards. The callback is also called if it's detected that time jumps
forwards. In both cases existing timeouts' run times are updated so that
they're called approximately the intended time.
--HG--
branch : HEAD |
dac0b2e5e0f38c6d95ef1a842d891480db580236 |
|
15-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Added io_loop_set_max_fd_count() to specify how many fds we expect to use.
It's used currently only for figuring out how much space should be
allocated initially to fds.
--HG--
branch : HEAD |
193f5296d2a6b847970c222d8a261b89aae46331 |
|
01-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Don't break if io_remove() or timeout_remove() are called for non-active ioloops.
--HG--
branch : HEAD |
745f2c7424d88e368eff0a3a7650b352a9d1f0dd |
|
21-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Added io_remove_closed().
--HG--
branch : HEAD |
a932198191f9a4320fe70069e825a5d080bb98c9 |
|
12-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Ignore io_loop_get_wait_time() return value, we don't need it.
--HG--
branch : HEAD |
20a3870db4f78717574ee94bca1512994391b2ab |
|
03-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Use priority queue to implement timeout handling. Added timeout_reset().
--HG--
branch : HEAD |
62b1acbf187f5d611c82be168d716fa2db1f6edd |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
These files are MIT licensed nowadays.
--HG--
branch : HEAD |
ff33b4ab6ba0d5187802ea703f57015864332eb9 |
|
15-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If poll()/etc. timeouts, we didn't handle time timeouts immediately but
called poll()/etc again with zero timeout and then handled the timeouts.
--HG--
branch : HEAD |
dcc76bb1e1bb287e3e71e6a39a7ca207fab0eaa8 |
|
08-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Various cleanups to ioloop code.
--HG--
branch : HEAD |
4b8459c6c24b79d4ed5974ab6e3289a3f2b701c0 |
|
03-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
s/array_get_modifyable/array_get_modifiable/
--HG--
branch : HEAD |
f6c0407545ee77d4647c8cd912e3156b0a48e2f1 |
|
03-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Removed compiler warnings with NetBSD.
--HG--
branch : HEAD |
91dca97b367c54a139c268b56a0c67f564bd9197 |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro
has no side effects so it might as well be lowercased.
--HG--
branch : HEAD |
26a8b7deb3a5b6f26f9c4d71538e1248f680e4be |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
--HG--
branch : HEAD |
46ea637c12db9d974514140654c221d2e73f6050 |
|
17-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Reference IOs before calling timeout handlers, in case they call
io_remove().
--HG--
branch : HEAD |
52065ed197a2b352acd0d67d141912addad3f8fd |
|
17-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
OK, so the original kqueue code wasn't actually broken, but it could have
been made much simpler. Updated comments in ioloop.h about IO_READ and
IO_ERROR usage.
--HG--
branch : HEAD |
d751e54319f60528a1f1c02d58f157e077e945ba |
|
17-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes
--HG--
branch : HEAD |
dba5754de32284b3149ddd5c9bb1701b05707752 |
|
16-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes
--HG--
branch : HEAD |
1aaa503bb6e3c5d0a3d17e00c8ef9ecece4d867d |
|
16-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Compiling fixes
--HG--
branch : HEAD |
35565557e05721a761132cec2ba1d93acacb6c14 |
|
16-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Rewrote much of the kqueue code. It didn't work correctly if there were both
input and output I/O handlers added for the same file descriptor. The code
works now very much like epoll code. Did also several cleanups.
--HG--
branch : HEAD |
bfb182be10d0ea8d768f7d84ddf1afb22472e1d5 |
|
08-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Fixed "Unrecognized event" errors that occurred with IO_ERROR. Patch by
Vaclav Haisman
--HG--
branch : HEAD |
7bc5917a4b6845ecb7139cc08bde769344046bf7 |
|
25-Mar-2006 |
Timo Sirainen <tss@iki.fi> |
Added more debugging information for handling unexpected events. Patch by
Václav Haisman
--HG--
branch : HEAD |
a40f21e8239a87a8fab2648955b0f568908ca8b5 |
|
28-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
kqueue updates. Patch by Vaclav Haisman
--HG--
branch : HEAD |
ac042a14c663acdc16e98946ed22d53c3bfbd4fa |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Fix IO_ERROR behaviour. Patch by Vaclav Haisman
--HG--
branch : HEAD |
efe43f863ea26447689f90680f339778fb1ec62b |
|
14-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added kqueue support. Patch by Vaclav Haisman.
--HG--
branch : HEAD |