]>
granicus.if.org Git - libevent/log
Nick Mathewson [Wed, 23 Feb 2011 06:08:54 +0000 (01:08 -0500)]
Make event_count maintainance branchless at the expense of an extra shift. Needs benchmarking
Nick Mathewson [Wed, 23 Feb 2011 05:59:20 +0000 (00:59 -0500)]
possible optimization: split event_queue_insert/remove into separate functions. needs testing
Nick Mathewson [Tue, 22 Feb 2011 23:55:05 +0000 (18:55 -0500)]
Merge remote branch 'origin/patches-2.0'
Nick Mathewson [Tue, 22 Feb 2011 23:53:55 +0000 (18:53 -0500)]
Merge branch '20_uri_nonconformant' into patches-2.0
Constantine Verutin [Tue, 22 Feb 2011 22:52:50 +0000 (17:52 -0500)]
Add new evhttp_{connection_}set_timeout_tv() functions to set finger-grained http timeouts
Nick Mathewson [Tue, 22 Feb 2011 22:41:27 +0000 (17:41 -0500)]
Merge remote branch 'origin/patches-2.0'
This branch is the big one that merges all the ntp folks' changes
Conflicts:
configure.in
Nick Mathewson [Tue, 22 Feb 2011 21:20:42 +0000 (16:20 -0500)]
Make -ffunction-sections off-by-default in 2.0.x
I don't see how this can burn anybody, but I don't want to take
chances: new build options are something that should be done in an
alpha. To turn -ffunction-sections on, pass
--enable-function-sections to configure.
Nick Mathewson [Tue, 22 Feb 2011 21:14:16 +0000 (16:14 -0500)]
Remove nonfunctional enable_libevent_(install|regress)_def variables
Nick Mathewson [Tue, 22 Feb 2011 21:13:49 +0000 (16:13 -0500)]
Use $(), not @@, for LIBEVENT_GC_SECTIONS
Nick Mathewson [Tue, 22 Feb 2011 05:34:49 +0000 (00:34 -0500)]
Be explicit about how long event loops run in event.h documentation
Nick Mathewson [Tue, 22 Feb 2011 05:31:56 +0000 (00:31 -0500)]
Use %s with printf in test.sh
Dave Hart [Sun, 13 Feb 2011 07:27:42 +0000 (02:27 -0500)]
Correct an AM_CFLAGS to an AM_CPPFLAGS in test/Makefile.am
Dave Hart [Sun, 13 Feb 2011 07:05:04 +0000 (02:05 -0500)]
Add configure options to disable installation, regression tests
The main reason for disabling installation is if you're building
libevent as a subpackage for embedding: you want to have your main
package's "make all" build libevent, but you don't want your main
package's "make install" to install libevent.
Harlan Stenn [Sun, 13 Feb 2011 07:00:10 +0000 (02:00 -0500)]
Add -D_OSF_SOURCE to fix hpux builds
Dave Hart [Sun, 13 Feb 2011 06:50:40 +0000 (01:50 -0500)]
Use the gcc -ffunction-segments feature to allow gc when linking with static libevent
Harlan Stenn [Sun, 13 Feb 2011 06:42:58 +0000 (01:42 -0500)]
Check for getservbyname even if not on win32.
Harlan Stenn [Sun, 13 Feb 2011 06:39:10 +0000 (01:39 -0500)]
Fix autoconf bracket issues; make check for getaddrinfo include netdb.h
Harlan Stenn [Sun, 13 Feb 2011 06:34:40 +0000 (01:34 -0500)]
Skip check for zlib if we have no zlib.h
Harlan Stenn [Sun, 13 Feb 2011 06:30:37 +0000 (01:30 -0500)]
Make test-eof fail with a timeout if we never get an eof.
Previously, it would just wait forever.
Nick Mathewson [Sun, 13 Feb 2011 06:29:54 +0000 (01:29 -0500)]
FIX: comment internal headers used in sample code.
Nick Mathewson [Sun, 13 Feb 2011 06:27:06 +0000 (01:27 -0500)]
NM: Fix sample/http-server ipv6 fixes
Fix 1: Use #include "../xyz" rather than #include <../xyz>
Fix 2: util-internal.h includes ipv6-internal.h, which in turn defines
a replacement AF_INET6 on platforms that don't have it. As such,
the AF_INET6 checks shouldn't be needed. (right?)
Harlan Stenn [Sun, 13 Feb 2011 06:25:33 +0000 (01:25 -0500)]
Include util-internal.h as needed to build on platforms with no sockaddr_storage
Harlan Stenn [Sun, 13 Feb 2011 06:22:25 +0000 (01:22 -0500)]
Include arpa/inet.h as needed on HPUX
Nick Mathewson [Tue, 22 Feb 2011 04:27:23 +0000 (23:27 -0500)]
Merge remote branch 'origin/patches-2.0'
Nick Mathewson [Tue, 22 Feb 2011 04:25:13 +0000 (23:25 -0500)]
Correctly detect and stop non-chunked http requests when the body is too long
Based on analysis and code from Bas Verhoeven and from
Constantine Verutin.
Nick Mathewson [Fri, 18 Feb 2011 21:17:22 +0000 (16:17 -0500)]
fix spelling mistake in whatsnew-2.0.txt
Nick Mathewson [Tue, 15 Feb 2011 16:33:40 +0000 (11:33 -0500)]
Correct evhttp_del_accept_socket documentation on whether socket is closed
Thanks to Constantine Verutin for pointing this out.
Nick Mathewson [Sun, 13 Feb 2011 07:51:27 +0000 (02:51 -0500)]
Merge branch '20_evport_pollhup' into patches-2.0
Nick Mathewson [Sun, 13 Feb 2011 05:54:21 +0000 (00:54 -0500)]
Clarify event_set_mem_functions doc
Nick Mathewson [Sun, 13 Feb 2011 05:41:22 +0000 (00:41 -0500)]
Make URI parser able to tolerate nonconformant URIs.
If the EVHTTP_URI_NONCONFORMANT flag is passed in (which it is when
parsing URIs we get over the wire), then we relax our checks a lot.
Specifically, we do nothing to check for correct characters in the
path, query, and fragment parts of such a URI.
We could do much more here: we could relax our hostname requirements,
deal with spaces differently/better, trap some errors but not others,
etc. But this should solve the worst user-agent compatibility issues
for now; the other issues can wait for a later release.
Nick Mathewson [Wed, 9 Feb 2011 03:24:51 +0000 (22:24 -0500)]
Merge remote branch 'origin/patches-2.0'
Nick Mathewson [Wed, 9 Feb 2011 03:24:06 +0000 (22:24 -0500)]
Fix a type error in our (unused) arc4random_stir()
Nick Mathewson [Thu, 3 Feb 2011 19:04:25 +0000 (14:04 -0500)]
Merge remote branch 'origin/patches-2.0'
Sebastian Hahn [Thu, 14 Oct 2010 18:15:04 +0000 (20:15 +0200)]
Fix warnings about AC_LANG_PROGRAM usage
Autoconf 2.68 introduced some new warnings that were triggered during
autogen.sh. Fix those.
Nick Mathewson [Tue, 1 Feb 2011 07:12:46 +0000 (02:12 -0500)]
Merge remote branch 'origin/patches-2.0'
Dave Hart [Tue, 1 Feb 2011 06:15:48 +0000 (01:15 -0500)]
Fix test.sh output on solaris
Solaris echo -n doesn't omit newlines, but printf omits newlines in
more places.
Nick Mathewson [Mon, 31 Jan 2011 22:36:49 +0000 (17:36 -0500)]
Do not check for gethostbyname_r versions if we have getaddrinfo
Nick Mathewson [Mon, 31 Jan 2011 21:45:23 +0000 (16:45 -0500)]
Merge remote branch 'origin/patches-2.0'
Nick Mathewson [Mon, 31 Jan 2011 21:44:06 +0000 (16:44 -0500)]
Add compile-time check for AF_UNSPEC==PF_UNSPEC
Nick Mathewson [Mon, 31 Jan 2011 21:37:27 +0000 (16:37 -0500)]
Fix http unit test on non-windows platforms without getaddrinfo
Nick Mathewson [Mon, 31 Jan 2011 21:32:05 +0000 (16:32 -0500)]
Build on systems without AI_PASSIVE
Nick Mathewson [Mon, 24 Jan 2011 23:55:10 +0000 (18:55 -0500)]
Try to build correctly on platforms with no IPv6 support
Nick Mathewson [Mon, 24 Jan 2011 23:29:20 +0000 (18:29 -0500)]
Build correctly on platforms without sockaddr_storage
Nick Mathewson [Mon, 24 Jan 2011 23:22:32 +0000 (18:22 -0500)]
Fall back to sscanf if we have no other way to implement strtoll
Nick Mathewson [Mon, 24 Jan 2011 23:02:11 +0000 (18:02 -0500)]
Merge remote branch 'origin/patches-2.0'
Nick Mathewson [Mon, 24 Jan 2011 22:42:23 +0000 (17:42 -0500)]
Make --enable-gcc-warnings a no-op if not using gcc
Dave Hart [Mon, 24 Jan 2011 20:50:25 +0000 (15:50 -0500)]
Allow use of --enable-silent-rules for quieter compilation with automake 1.11
Nick Mathewson [Thu, 13 Jan 2011 02:41:58 +0000 (21:41 -0500)]
Merge remote branch 'origin/patches-2.0'
Nick Mathewson [Thu, 13 Jan 2011 01:28:47 +0000 (20:28 -0500)]
Correctly free selectop fields when select_resize fails in select_init
Nick Mathewson [Fri, 7 Jan 2011 18:18:09 +0000 (13:18 -0500)]
Handle resize failures in the select backend better.
Jardel Weyrich [Sat, 18 Dec 2010 04:40:22 +0000 (02:40 -0200)]
Use event_err() only if the failure is truly unrecoverable.
Jardel Weyrich [Sat, 18 Dec 2010 03:07:27 +0000 (01:07 -0200)]
Detect and handle more allocation failures.
Nick Mathewson [Fri, 7 Jan 2011 17:31:30 +0000 (12:31 -0500)]
Merge remote branch 'kev009/21_ac_use_system_extensions'
Kevin Bowling [Fri, 7 Jan 2011 07:41:37 +0000 (00:41 -0700)]
Add evconfig-private to remaining files
Kevin Bowling [Fri, 7 Jan 2011 07:37:05 +0000 (00:37 -0700)]
Shell hack for weird mkdir -p commands
Kevin Bowling [Fri, 7 Jan 2011 07:34:22 +0000 (00:34 -0700)]
Remove use and reference to event-private.h
Nick Mathewson [Thu, 6 Jan 2011 17:44:45 +0000 (12:44 -0500)]
Merge remote branch 'origin/patches-2.0'
Trond Norbye [Sun, 2 Jan 2011 09:17:15 +0000 (10:17 +0100)]
Check for POLLERR, POLLHUP and POLLNVAL for Solaris event ports
Kevin Bowling [Mon, 3 Jan 2011 22:44:26 +0000 (15:44 -0700)]
Prefer the ./configure evconfig-private.h in MinGW, just in case.
Kevin Bowling [Mon, 3 Jan 2011 22:09:21 +0000 (15:09 -0700)]
Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
Kevin Bowling [Sun, 2 Jan 2011 15:48:12 +0000 (08:48 -0700)]
Add an evconfig-private.h stub for Win32.
Kevin Bowling [Sun, 2 Jan 2011 15:47:46 +0000 (08:47 -0700)]
Add an include guard
Kevin Bowling [Sun, 2 Jan 2011 15:43:45 +0000 (08:43 -0700)]
Include evconfig-private.h in internal files for great good.
Kevin Bowling [Sun, 2 Jan 2011 15:05:33 +0000 (08:05 -0700)]
Fix a comment warning and add evconfig-private.h to .gitignore
Kevin Bowling [Sun, 2 Jan 2011 15:04:12 +0000 (08:04 -0700)]
Remove event-private.h and switch to evconfig-private.h
Kevin Bowling [Sun, 2 Jan 2011 14:51:23 +0000 (07:51 -0700)]
Use a Configuration Header Template for evconfig-private.h
Kevin Bowling [Sun, 2 Jan 2011 14:29:45 +0000 (07:29 -0700)]
Revert "evconfig-private.h with recusive configure subdirs"
This reverts commit
ed53d5ef8053af08186ef80dfc1647cff769fac8 .
Kevin Bowling [Sun, 2 Jan 2011 13:35:05 +0000 (06:35 -0700)]
evconfig-private.h with recusive configure subdirs
Kevin Bowling [Sun, 2 Jan 2011 12:14:41 +0000 (05:14 -0700)]
Add AC_GNU_SOURCE to the fallback case.
Nick Mathewson [Sun, 2 Jan 2011 05:59:20 +0000 (00:59 -0500)]
Merge remote branch 'origin/patches-2.0'
Nick Mathewson [Sun, 2 Jan 2011 02:37:21 +0000 (21:37 -0500)]
Fix compilation on Windows with NDEBUG
Dongsheng Song reports that when building on windows with NDEBUG, you
run into an attempt to do EVUTIL_ASSERT(x) where x is a bitfield,
which turns into _EVUTIL_NIL_CONDITION(x), which takes sizeof(x),
which is illegal. This patch fixes _EVUTIL_NIL_CONDITION to work on
bitfields too.
Nick Mathewson [Sun, 2 Jan 2011 02:17:31 +0000 (21:17 -0500)]
Fix evport handling of POLLHUP and POLLERR
In other backends, they make _all_ events trigger; with evport they
previously triggered nothing. Found by Phua Keat Yee.
Kevin Bowling [Thu, 23 Dec 2010 06:24:01 +0000 (23:24 -0700)]
Eliminate a couple more manual internal _GNU_SOURCE defines
Kevin Bowling [Thu, 23 Dec 2010 06:08:10 +0000 (23:08 -0700)]
Remove internal usage of _GNU_SOURCE
Kevin Bowling [Thu, 23 Dec 2010 06:00:59 +0000 (23:00 -0700)]
Add event-private.h to noinst_HEADERS
Kevin Bowling [Thu, 23 Dec 2010 05:53:03 +0000 (22:53 -0700)]
Filter '# define' statements from autoconf and generate event-private.h
Kevin Bowling [Thu, 23 Dec 2010 05:11:26 +0000 (22:11 -0700)]
Add AC_USE_SYSTEM_EXTENSIONS to configure.in.
Requires follow on patches for correctness and robustness.
Nick Mathewson [Tue, 21 Dec 2010 00:30:13 +0000 (19:30 -0500)]
Merge branch 'file_offset_v2'
Nick Mathewson [Mon, 20 Dec 2010 23:40:03 +0000 (18:40 -0500)]
Refactor addfile tests; add test for big files and for offsets
Nick Mathewson [Mon, 25 Oct 2010 16:29:39 +0000 (12:29 -0400)]
Add CreateFileMapping file_segment implementation for win32
Nick Mathewson [Mon, 25 Oct 2010 16:10:10 +0000 (12:10 -0400)]
Add support for mmaps with nonzero offset values. Needs testing.
Nick Mathewson [Thu, 21 Oct 2010 23:45:49 +0000 (19:45 -0400)]
Add evbuffer_add_file_segment() so one fd can be used efficiently in more than one evbuffer_add_file at a time
Nick Mathewson [Thu, 16 Dec 2010 19:37:15 +0000 (14:37 -0500)]
Merge branch 'epoll_table_v2'
Nick Mathewson [Thu, 16 Dec 2010 19:36:09 +0000 (14:36 -0500)]
Reindent epoll_apply_one_change()
Nick Mathewson [Thu, 16 Dec 2010 19:25:04 +0000 (14:25 -0500)]
Clean up error handling in epoll_apply_one_change() a little
The old code was more or less:
if (op == X && errno == FOO) {
...
} else if (op == Y && errno == BAR) {
...
}
but really we wanted to do a switch (op) to avoid needless checks
and branches.
This patch leaves the indentation a little weird so as to make it
easier to see what changed; the next patch will fix the indentation.
Nick Mathewson [Sun, 24 Oct 2010 16:53:52 +0000 (12:53 -0400)]
Replace big chain of if/thens in epoll.c with a table lookup
This should save a bunch of branches by doing instead a lookup in a
nice static table.
To ensure correctness, the table is generated from a Python script,
included with this commit.
Nick Mathewson [Thu, 2 Sep 2010 21:52:20 +0000 (17:52 -0400)]
Use GetSystemTimeAsFileTime to implement gettimeofday on win32.
It is (in my benchmarks) way faster than _ftime, though the
conversion process is not so straightforward. In theory, it can
have a better granularity too, though in practice who knows what
you're getting.
Mike Smellie [Mon, 19 Jul 2010 02:18:31 +0000 (14:18 +1200)]
Use current event set rather than current pending change when deciding whether to no-op a del
This alters event_changelist_del to quash deletion of events that
didn't exist in the first place.
As far as I can see, the add,delete, dispatch case described in the
original comment will never happen. The recorded change is a single
operation, not a queue. This seems to leave actions to delete
events that never existed as the real targets for no-oping
Nick Mathewson [Thu, 16 Dec 2010 17:59:22 +0000 (12:59 -0500)]
Bump version in master to 2.1.0-alpha-dev
Nick Mathewson [Thu, 16 Dec 2010 17:57:23 +0000 (12:57 -0500)]
Bump version to 2.0.10-stable-dev
Nick Mathewson [Wed, 15 Dec 2010 19:31:08 +0000 (14:31 -0500)]
Add changelog for 2.0.10-stable
Nick Mathewson [Wed, 15 Dec 2010 19:30:04 +0000 (14:30 -0500)]
Add more acknowledgements to the readme for 2.0.10-stable
Nick Mathewson [Wed, 15 Dec 2010 19:29:50 +0000 (14:29 -0500)]
Set the version to 2.0.10-stable
Evan Jones [Mon, 6 Dec 2010 19:17:44 +0000 (14:17 -0500)]
EVUTIL_ASSERT: Use sizeof() to avoid "unused variable" warnings.
Nick Mathewson [Thu, 9 Dec 2010 17:17:58 +0000 (12:17 -0500)]
Add stuff to whatsnew based on reading include changes since August.
Nick Mathewson [Thu, 9 Dec 2010 17:17:11 +0000 (12:17 -0500)]
Document that the cpu_hint is only used on Windows with IOCP for now
Nick Mathewson [Thu, 9 Dec 2010 16:47:54 +0000 (11:47 -0500)]
Consistentize tabs
Nick Mathewson [Thu, 9 Dec 2010 16:43:12 +0000 (11:43 -0500)]
Remove end-of-line whitespace
Nick Mathewson [Thu, 9 Dec 2010 16:40:35 +0000 (11:40 -0500)]
tweak readme, whatsnew
Nick Mathewson [Tue, 7 Dec 2010 16:45:14 +0000 (11:45 -0500)]
Fix a signed/unsigned comparison in the last commit