summaryrefslogtreecommitdiffstats
path: root/lib/libevent/kqueue.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* r1.27 changed libevent to fire a read event when kqueue returned EBADFnicm2012-02-081-1/+2
| | | | | | | | | | | | | (and several other things, particularly EPIPE) on a file descriptor. This causes Google Chrome to die (probably due to a bug in Chrome but finding that is next to impossible at the moment). It's not really clear what libevent should when an invalid fd is added - the poll backend doesn't fire an event and select exits the event loop. Until this is settled, change kqueue to match poll and ignore EBADF, keeping the behaviour r1.27 fixed on EPIPE. Fix from robert@.
* Handle a wider range of kqueue error return values for an event,nicm2012-01-301-21/+40
| | | | | | | | prevents libevent exiting the event loop when getting EPIPE. Problem first seen by drahn@ and more recently hit by gilles@, fix based on one by Nick Mathewson. ok gilles
* Update to 1.4.14b.nicm2010-07-121-3/+7
| | | | | | | | | | | | | | From their change log: o Fix memory-leak of signal handler array with kqueue. [backport] o Make evutil_make_socket_nonblocking() leave any other flags alone. o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking(). o Re-add event_siglcb; some old code _was_ still using it. :( o Fix a free(NULL) in min_heap.h o Clean up properly when adding a signal handler fails. Also a local change to use an int rather than a long for fcntl(). ok guenther deraadt
* Update libevent to 1.4.13.nicm2010-04-211-68/+99
| | | | | | | | | | | | | This is the core library only, the DNS parts are removed and it does not include the other extra bits (HTTP, DNS, and RPC), a separate port for these will appear in due course. Thanks to jsg, sthen, alek, gilles, jacekm, bernd and any others I've forgotten for testing/comments. Note that /usr/include/evdns.h should be removed after updating. ok deraadt
* Update to libevent 1.3e while retaining our local changes.brad2008-05-021-14/+20
| | | | | "No objection" millert@ "the diff looks and works fine" reyk@
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-3/+3
|
* Update to libevent-1.3b while retaining our local changes. beck@ OKmillert2007-03-191-8/+8
|
* typo in kqueue delete.brad2006-11-051-2/+2
| | | | | | From Niels Provos via the libevent SVN repo, by Bert JW. Regeer ok deraadt@
* introduce a way to free the base.brad2006-03-301-2/+19
| | | | From libevent CVS
* do not remove kq inkernel flag before event_del gets to it;brad2005-12-201-4/+2
| | | | | | From libevent CVS ok deraadt@
* zap trailing whitespaces, no binary changegrunk2005-07-021-4/+4
| | | | ok brad@ beck@
* update to libevent 1.1a; keep local changesbrad2005-06-181-1/+25
| | | | ok grunk@
* update to libevent 1.0d; keep local changesbrad2005-05-041-1/+2
| | | | | | | thanks to Alexander von Gernler for testing and some bug fixes ok mpf@ norby@
* update to libevent 1.0c; keep local changesbrad2005-04-221-34/+29
| | | | | | | | | | no shared lib so no ABI/API check is necessary thanks to Alexander von Gernler for submitting another diff in an attempt to update libevent and for a use-after-free fix. ok henning@ deraadt@
* backout. not discussed, and very wrong. bad bradderaadt2005-04-191-29/+34
|
* update to libevent 1.0c; keep local changesbrad2005-04-191-34/+29
|
* update to libevent 0.8; keep local changesbrad2004-04-281-21/+21
| | | | ok markus@
* support NOTE_EOF; from marius aamodt eriksen; ok tedu, millertmarkus2004-01-051-1/+3
|
* update to libevent-0.7a.tar.gz; keep local changesmarkus2003-07-091-38/+35
|
* constify constant structures; niels okmickey2003-06-191-2/+2
|
* do not honour getenv of EVENT_NOKQUEUE is issetugid; millert henning okderaadt2003-06-031-2/+2
|
* duplicate words and spelling fixes in commentsdavid2003-03-101-3/+3
| | | | ok miod@
* typo. from marius@umich.edu via provositojun2002-09-081-4/+4
|
* Make EV_PERSIST work on EV_READ and EV_WRITE events.art2002-07-101-3/+7
| | | | provos@ ok.
* rcsidsmickey2002-06-251-0/+2
|
* rename variable so that scoping is more obviousprovos2002-06-191-3/+3
|
* need string.hderaadt2002-06-181-0/+1
|
* import libevent an event notification abstraction on top of select or kqueueprovos2002-06-151-0/+372
supporting timeout and signal callsbacks, too. okay deraadt@ millert@