]>
granicus.if.org Git - libevent/log
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.
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
Constantine Verutin [Tue, 7 Dec 2010 16:43:52 +0000 (11:43 -0500)]
Reject overlong http requests early when Expect:100-continue is set
Evan Jones [Thu, 2 Dec 2010 19:13:33 +0000 (14:13 -0500)]
tests: Use relative includes ("") instead of system includes (<>)
Evan Jones [Thu, 2 Dec 2010 19:09:52 +0000 (14:09 -0500)]
tests: Use new event2 headers instead of old compatibility headers.
Evan Jones [Thu, 2 Dec 2010 15:26:12 +0000 (10:26 -0500)]
Use relative includes instead of system includes consistently.
Evan Jones [Thu, 2 Dec 2010 15:27:06 +0000 (10:27 -0500)]
bufferevent-internal.h: Use the new event2/util.h header, not evutil.h
Nick Mathewson [Thu, 2 Dec 2010 02:28:03 +0000 (21:28 -0500)]
Correctly notify the main thread when activating an event from a subthread
Kelly Brock [Tue, 30 Nov 2010 16:34:26 +0000 (11:34 -0500)]
Minor fix for IOCP shutdown handling fix
Call setsockopt() on the actual new socket, not on as->s, which was
set to INVALID_SOCKET.
Nick Mathewson [Tue, 30 Nov 2010 07:19:25 +0000 (02:19 -0500)]
Increment version to 2.0.9-rc-dev
Nick Mathewson [Tue, 30 Nov 2010 06:21:00 +0000 (01:21 -0500)]
Give the correct date for 2.0.9-rc in the changelog
Nick Mathewson [Tue, 23 Nov 2010 16:17:24 +0000 (11:17 -0500)]
Increment version to 2.0.9-rc
Nick Mathewson [Tue, 23 Nov 2010 16:17:06 +0000 (11:17 -0500)]
Bump VERSION_INFO to 5:0:0
Nick Mathewson [Tue, 23 Nov 2010 16:08:30 +0000 (11:08 -0500)]
Changelog and acknowledgments for 2.0.9-rc
Nick Mathewson [Tue, 30 Nov 2010 05:53:16 +0000 (00:53 -0500)]
Fix win32 build of http-server.c with unicode enabled
Nick Mathewson [Tue, 30 Nov 2010 05:05:54 +0000 (00:05 -0500)]
Correctly detect timeouts during http connects
Nick Mathewson [Tue, 30 Nov 2010 03:44:18 +0000 (22:44 -0500)]
Try to fix an assertion failure related to close detection
f700566c removed a line from evhttp_connection_stop_detectclose that
cleared the EVHTTP_CON_CLOSEDETECT flag. I think this was an
accident, and suspect that it may be the cause of bug
3069555 .
Nick Mathewson [Tue, 30 Nov 2010 03:14:54 +0000 (22:14 -0500)]
Possible crash fix when freeing an underlying bufferevent of an openssl bufferevent
Nick Mathewson [Tue, 30 Nov 2010 02:56:23 +0000 (21:56 -0500)]
Merge remote branch 'chrisd/http_continue'
Christopher Davis [Tue, 30 Nov 2010 02:25:04 +0000 (18:25 -0800)]
Preliminary support for Continue expectation in evhttp.
Nick Mathewson [Tue, 30 Nov 2010 01:39:09 +0000 (20:39 -0500)]
make http-server example code build on win32
Nick Mathewson [Tue, 30 Nov 2010 01:13:19 +0000 (20:13 -0500)]
Fix http-server.c compilation on freebsd
Nick Mathewson [Mon, 29 Nov 2010 19:25:33 +0000 (14:25 -0500)]
Merge remote branch 'chrisd/http_fixes2'
Christopher Davis [Mon, 29 Nov 2010 15:18:32 +0000 (07:18 -0800)]
Add a few more comments.
Nick Mathewson [Fri, 26 Nov 2010 18:29:56 +0000 (13:29 -0500)]
add http-server to gitignore
Nick Mathewson [Fri, 26 Nov 2010 18:28:48 +0000 (13:28 -0500)]
Fix a misplaced ) in http_server.c
Nick Mathewson [Fri, 26 Nov 2010 17:59:02 +0000 (12:59 -0500)]
Merge branch '20_empty_body'
Nick Mathewson [Mon, 18 Oct 2010 17:44:05 +0000 (13:44 -0400)]
Add a basic example of how to write a static HTTP server.
Christopher Davis [Fri, 5 Nov 2010 18:17:07 +0000 (11:17 -0700)]
Add evhttp server alias interface, correct flagging of proxy requests.
evhttp needs to be mindful of all hostnames and addresses that clients
use to contact the main server and vhosts to know the difference between
proxy requests and non-proxy requests.
Nick Mathewson [Fri, 26 Nov 2010 04:03:46 +0000 (23:03 -0500)]
Merge remote branch 'github/20_once_fixes'
Kevin Bowling [Wed, 24 Nov 2010 02:40:23 +0000 (19:40 -0700)]
Fix snprintf related failures on IRIX.
Kevin Bowling [Wed, 24 Nov 2010 02:26:34 +0000 (19:26 -0700)]
If not WIN32, include <sys/socket.h> in event2/util.h.
Kevin Bowling [Tue, 23 Nov 2010 21:09:03 +0000 (14:09 -0700)]
xlC doesn't obey C99 comments here. autoconf isn't invoking full C99
mode.
Kevin Bowling [Tue, 23 Nov 2010 07:22:01 +0000 (00:22 -0700)]
Add some checks since lack of TAILQ_FOREACH doesn't imply lack of FIRST,
END, NEXT, or INSERT_BEFORE. Quiet some warnings in XL C.
Kevin Bowling [Wed, 24 Nov 2010 02:09:08 +0000 (19:09 -0700)]
Reworked AIX __ss_family workaround to use AC_STRUCT_MEMBER.
Kevin Bowling [Tue, 23 Nov 2010 03:44:10 +0000 (20:44 -0700)]
select comes from <sys/select.h> according to POSIX.1-2001, or from a
variety of other standard headers on older systems, but not <select.h>.
AIX build fix.
Nick Mathewson [Wed, 24 Nov 2010 01:31:28 +0000 (20:31 -0500)]
Handle evhttp PUT/POST requests with an empty body
When we call evhttp_get_bodylen() [when transfer-encoding isn't set],
having req->ntoread == -1 means that we have no content-length. But a
request with no content-length has no body! We were treating the
absent content-length as meaning "read till closed", which only holds
for replies, not requests.
This patch also allows PATCH requests to have a body.
Nick Mathewson [Tue, 23 Nov 2010 18:08:07 +0000 (13:08 -0500)]
Remove _event_initialized(); make event_initialized() a function(); make it consistent on windows and non-windows
Nick Mathewson [Tue, 23 Nov 2010 17:26:46 +0000 (12:26 -0500)]
Document event_get_assignment
Nick Mathewson [Tue, 23 Nov 2010 17:26:34 +0000 (12:26 -0500)]
Note that reentrant calls to libevent from logging cbs may fail badly