summaryrefslogtreecommitdiff
path: root/lib/libevent/event.c
AgeCommit message (Collapse)Author
2010-08-30Fix from upstream to make all backends reinit on event_reinit(). ThisNicholas Marriott
was not being done for poll and select, so after fork they would remain using the same socketpair for signal notification, leading to a race between the two processes to read from it and hangs. Problem originally reported by kili@. ok gilles
2010-07-12Update to 1.4.14b.Nicholas Marriott
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
2010-04-21Clean up the awful _EVENT_* poo in the libevent headers, and don'tNicholas Marriott
install event-config.h. Pointed out by deraadt.
2010-04-21Update libevent to 1.4.13.Nicholas Marriott
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
2009-11-12change back to preferring kqueue, now that nicm, tedu and i haveTheo de Raadt
fixed it (or, all the issues we are aware of so far). discussed with nicm
2009-10-30stop using kqueue.Theo de Raadt
2008-05-02- Use a const pointer for bufferevent_write.Brad Smith
- Make event_init return struct event_base *. From the libevent SVN repo. ok millert@
2008-05-02Update to libevent 1.3e while retaining our local changes.Brad Smith
"No objection" millert@ "the diff looks and works fine" reyk@
2007-03-19Update to libevent-1.3b while retaining our local changes. beck@ OKTodd C. Miller
2007-02-13Avoid double recacl when loop_once is used.Todd C. Miller
From libevent SVN via brad@.
2007-02-04Two libevent fixes from the SVN repo:Todd C. Miller
allow gotsig to terminate active event loop and evbuffer_find fix. OK brad@ pyr@
2006-11-05fix a potential memory leak in event_once().Brad Smith
From Niels Provos via the libevent SVN repo, by Scott Lamb tested by niallo@ ok deraadt@
2006-03-30introduce a way to free the base.Brad Smith
From libevent CVS
2006-03-28use clock_gettime if available.Brad Smith
From claudio@ via libevent CVS ok claudio@
2005-07-02zap trailing whitespaces, no binary changeAlexander von Gernler
ok brad@ beck@
2005-05-04update to libevent 1.0d; keep local changesBrad Smith
thanks to Alexander von Gernler for testing and some bug fixes ok mpf@ norby@
2005-04-22update to libevent 1.0c; keep local changesBrad Smith
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@
2005-04-19backout. not discussed, and very wrong. bad bradTheo de Raadt
2005-04-19update to libevent 1.0c; keep local changesBrad Smith
2005-04-13use "volatile sig_atomic_t" types instead of "int" for signal flags.Reyk Floeter
ok deraadt@ henning@ provos
2004-04-28update to libevent 0.8; keep local changesBrad Smith
ok markus@
2003-07-09update to libevent-0.7a.tar.gz; keep local changesMarkus Friedl
2003-06-19constify constant structures; niels okMichael Shalayeff
2002-06-25rcsidsMichael Shalayeff
2002-06-15import libevent an event notification abstraction on top of select or kqueueNiels Provos
supporting timeout and signal callsbacks, too. okay deraadt@ millert@