summaryrefslogtreecommitdiff
path: root/lib/libevent
AgeCommit message (Collapse)Author
2014-04-03sort SEE ALSO;Jason McIntyre
2014-04-03add helper functions to use asr with libevent.Eric Faurot
ok deraadt@
2013-08-24replace random() with arc4random.David Gwynne
blambert didnt like stuff linking to libevent getting warnings about use of an unsafe api. ok blambert@ mikeb@ deraadt@ millert@
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-04-29use FD_CLOEXEC instead of 1; from David HillOkan Demirmen
ok otto
2013-04-17evtag_marshal_timeval() truncates tv_sec to 32 bits, not passing the highTheo de Raadt
bits. Mark it with XXX 2038. I think it is poor style to create a "marshalling layer" which throws away information someone might need. ok nicm, who will pass the news upstream and ask for them to fix it
2013-04-17(long long) and %lld for big time_tTheo de Raadt
ok nicm, who will pass it upstream
2012-08-28Expose _EVENT_VERSION in event.h. This is expected by net/tor, which will spewPascal Stumpf
out scary warnings if it's not there. Bump minor accordingly. Requested by and ok dcoppa@, ok nicm@
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
ok guenther@
2012-02-08r1.27 changed libevent to fire a read event when kqueue returned EBADFNicholas Marriott
(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@.
2012-01-30Handle a wider range of kqueue error return values for an event,Nicholas Marriott
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
2011-07-07fix typos; while here, improve spacing in comments.Igor Sobrado
changes to libevent and zlib headers sent to the upstream maintainers. ok jmc@ (for typos), millert@
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-17add missing header needed by event_warn()Charles Longeau
ok nicm@
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-05-31Hide the timeout_* macros under an EVENT_DEPRECATED ifdef. These namesNicholas Marriott
invite conflicts, they are rarely used, can trivially be replaced by evtimer_*, and are deprecated and removed from event.h in later libevent versions. ok guenther deraadt
2010-04-22tweak previous; ok nicmJason McIntyre
2010-04-22Whoops, EVUTIL_SET_SOCKET_ERROR went missing.Nicholas Marriott
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
2010-01-10Fix evsignal_del()'s use of sigaction(): fill in a sigaction structPhilip Guenthe
and pass a pointer to that instead of passing SIG_DFL directly. (Probably the result of a bad signal()-->sigaction() translation...) ok deraadt@, nicm@, miod@
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
2009-10-13In evbuffer_readline, do not lose data upon malloc failure. From mainstream:Jacek Masiulaniec
http://levent.svn.sourceforge.net/viewvc/levent?view=rev&revision=1436 ok gilles@
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-02- Increment MAX_ADDRS in evdns so as to be quite large.Brad Smith
- Accept as well-formed DNS replies with questions but no answers. - Fix for crash in evdns_resolve_reverse_ipv6(). - Move end of "extern C {" block to the end of evdns.h. From the libevent SVN repo. ok millert@
2008-05-02Makefile: sort MLINKS and add event_base_once.3Jason McIntyre
event.3: fix NAME and remove spurious blank line
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-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-04Remove evhttp leftover, okay millert@Pedro Martelletto
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-26do not doc the http partsTheo de Raadt
2007-03-26do not ship the http parts for now; ok millertTheo de Raadt
2007-03-22nicer MLINKS chunkTheo de Raadt
2007-03-21Add missing constTodd C. Miller
List evhttp stuff commented out, should probably get its own man page
2007-03-21event_init() and event_dispatch() take void. Add commented outTodd C. Miller
entries for undocumented functions to be filled in later, preferably by someone who uses libevent.
2007-03-21fix a formatting issue found by reyk;Jason McIntyre
2007-03-21Use arc4random() to generate random IDs. In the future weTodd C. Miller
may want to consider using res_randomid() but since evdns.c checks for duplicates this is not strictly necessary.
2007-03-21Document event_base_free(). OK jmc@Todd C. Miller
2007-03-19+.Xr evdns 3 ,Jason McIntyre
2007-03-19further cleanup;Jason McIntyre
2007-03-19add MLINKS for evdns_err_to_string() and evdns_nameserver_add();Jason McIntyre
2007-03-19clean up this page;Jason McIntyre
2007-03-19provide MLINKS for evhttp_start() and evhttp_free();Jason McIntyre
2007-03-19tweaks;Jason McIntyre
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-13Add prototype for bufferevent_base_set().Todd C. Miller
From the libevent SVN repo, by Thorsten Glaser 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-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback