Age | Commit message (Collapse) | Author |
|
|
|
ok deraadt@
|
|
blambert didnt like stuff linking to libevent getting warnings about use of
an unsafe api.
ok blambert@ mikeb@ deraadt@ millert@
|
|
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@
|
|
ok otto
|
|
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
|
|
ok nicm, who will pass it upstream
|
|
out scary warnings if it's not there. Bump minor accordingly.
Requested by and ok dcoppa@, ok nicm@
|
|
ok guenther@
|
|
(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@.
|
|
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
|
|
changes to libevent and zlib headers sent to the upstream maintainers.
ok jmc@ (for typos), millert@
|
|
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
|
|
ok nicm@
|
|
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
|
|
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
|
|
|
|
|
|
install event-config.h.
Pointed out by deraadt.
|
|
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
|
|
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@
|
|
fixed it (or, all the issues we are aware of so far).
discussed with nicm
|
|
|
|
http://levent.svn.sourceforge.net/viewvc/levent?view=rev&revision=1436
ok gilles@
|
|
- Make event_init return struct event_base *.
From the libevent SVN repo.
ok millert@
|
|
- 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@
|
|
event.3: fix NAME and remove spurious blank line
|
|
"No objection" millert@
"the diff looks and works fine" reyk@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List evhttp stuff commented out, should probably get its own man page
|
|
entries for undocumented functions to be filled in later, preferably
by someone who uses libevent.
|
|
|
|
may want to consider using res_randomid() but since evdns.c
checks for duplicates this is not strictly necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
From libevent SVN via brad@.
|
|
From the libevent SVN repo, by Thorsten Glaser via brad@
|
|
allow gotsig to terminate active event loop and evbuffer_find fix.
OK brad@ pyr@
|
|
|