mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Try to finalize changelog situation for 2.1.1-alpha
This commit is contained in:
parent
ba696dce0b
commit
2dedff36e1
231
ChangeLog-1.4
Normal file
231
ChangeLog-1.4
Normal file
@ -0,0 +1,231 @@
|
||||
Changes in 1.4.14b-stable
|
||||
o Set the VERSION_INFO correctly for 1.4.14
|
||||
|
||||
Changes in 1.4.14-stable
|
||||
o Add a .gitignore file for the 1.4 branch. (d014edb)
|
||||
o Backport evbuffer_readln(). (b04cc60 Nicholas Marriott)
|
||||
o Make the evbuffer_readln backport follow the current API (c545485)
|
||||
o Valgrind fix: Clear struct kevent before checking for OSX bug. (5713d5d William Ahern)
|
||||
o Fix a crash when reading badly formatted resolve.conf (5b10d00 Yasuoka Masahiko)
|
||||
o Fix memory-leak of signal handler array with kqueue. [backport] (01f3775)
|
||||
o Update sample/signal-test.c to use newer APIs and not leak. (891765c Evan Jones)
|
||||
o Correct all versions in 1.4 branch (ac0d213)
|
||||
o Make evutil_make_socket_nonblocking() leave any other flags alone. (81c26ba Jardel Weyrich)
|
||||
o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking(). (5f2e250 Jardel Weyrich)
|
||||
o Correct a debug message in evhttp_parse_request_line (35df59e)
|
||||
o Merge branch 'readln-backport' into patches-1.4 (8771d5b)
|
||||
o Do not send an HTTP error when we've already closed or responded. (4fd2dd9 Pavel Plesov)
|
||||
o Re-add event_siglcb; some old code _was_ still using it. :( (bd03d06)
|
||||
o Make Libevent 1.4 build on win32 with Unicode enabled. (bce58d6 Brodie Thiesfield)
|
||||
o Distribute nmake makefile for 1.4 (20d706d)
|
||||
o do not fail while sending on http connections the client closed. (5c8b446)
|
||||
o make evhttp_send() safe against terminated connections, too (01ea0c5)
|
||||
o Fix a free(NULL) in min_heap.h (2458934)
|
||||
o Fix memory leak when setting up priorities; reported by Alexander Drozdov (cb1a722)
|
||||
o Clean up properly when adding a signal handler fails. (ae6ece0 Gilad Benjamini)
|
||||
o Do not abort HTTP requests missing a reason string. (29d7b32 Pierre Phaneuf)
|
||||
o Fix compile warning in http.c (906d573)
|
||||
o Define _REENTRANT as needed on Solaris, elsewhere (6cbea13)
|
||||
|
||||
|
||||
Changes in 1.4.13-stable:
|
||||
o If the kernel tells us that there are a negative number of bytes to read from a socket, do not believe it. Fixes bug 2841177; found by Alexander Pronchenkov.
|
||||
o Do not allocate the maximum event queue and fd array for the epoll backend at startup. Instead, start out accepting 32 events at a time, and double the queue's size when it seems that the OS is generating events faster than we're requesting them. Saves up to 512K per epoll-based event_base. Resolves bug 2839240.
|
||||
o Fix compilation on Android, which forgot to define fd_mask in its sys/select.h
|
||||
o Do not drop data from evbuffer when out of memory; reported by Jacek Masiulaniec
|
||||
o Rename our replacement compat/sys/_time.h header to avoid build a conflict on HPUX; reported by Kathryn Hogg.
|
||||
o Build kqueue.c correctly on GNU/kFreeBSD platforms. Patch pulled upstream from Debian.
|
||||
o Fix a problem with excessive memory allocation when using multiple event priorities.
|
||||
o When running set[ug]id, don't check the environment. Based on a patch from OpenBSD.
|
||||
|
||||
|
||||
Changes in 1.4.12-stable:
|
||||
o Try to contain degree of failure when running on a win32 version so heavily firewalled that we can't fake a socketpair.
|
||||
o Fix an obscure timing-dependent, allocator-dependent crash in the evdns code.
|
||||
o Use __VA_ARGS__ syntax for varargs macros in event_rpcgen when compiler is not GCC.
|
||||
o Activate fd events in a pseudorandom order with O(N) backends, so that we don't systematically favor low fds (select) or earlier-added fds (poll, win32).
|
||||
o Fix another pair of fencepost bugs in epoll.c. [Patch from Adam Langley.]
|
||||
o Do not break evdns connections to nameservers when our IP changes.
|
||||
o Set truncated flag correctly in evdns server replies.
|
||||
o Disable strict aliasing with GCC: our code is not compliant with it.
|
||||
|
||||
Changes in 1.4.11-stable:
|
||||
o Fix a bug when removing a timeout from the heap. [Patch from Marko Kreen]
|
||||
o Remove the limit on size of HTTP headers by removing static buffers.
|
||||
o Fix a nasty dangling pointer bug in epoll.c that could occur after epoll_recalc(). [Patch from Kevin Springborn]
|
||||
o Distribute Win32-Code/event-config.h, not ./event-config.h
|
||||
|
||||
Changes in 1.4.10-stable:
|
||||
o clean up buffered http connection data on reset; reported by Brian O'Kelley
|
||||
o bug fix and potential race condition in signal handling; from Alexander Drozdov
|
||||
o rename the Solaris event ports backend to evport
|
||||
o support compilation on Haiku
|
||||
o fix signal processing when a signal callback delivers a signal; from Alexander Drozdov
|
||||
o const-ify some arguments to evdns functions.
|
||||
o off-by-one error in epoll_recalc; reported by Victor Goya
|
||||
o include Doxyfile in tar ball; from Jeff Garzik
|
||||
o correctly parse queries with encoded \r, \n or + characters
|
||||
|
||||
Changes in 1.4.9-stable:
|
||||
o event_add would not return error for some backends; from Dean McNamee
|
||||
o Clear the timer cache on entering the event loop; reported by Victor Chang
|
||||
o Only bind the socket on connect when a local address has been provided; reported by Alejo Sanchez
|
||||
o Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones.
|
||||
o Clear the timer cache when leaving the event loop; reported by Robin Haberkorn
|
||||
o Fix a typo in setting the global event base; reported by lance.
|
||||
o Fix a memory leak when reading multi-line headers
|
||||
o Fix a memory leak by not running explicit close detection for server connections
|
||||
|
||||
Changes in 1.4.8-stable:
|
||||
o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov.
|
||||
o Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong.
|
||||
o Do not remove Accept-Encoding header
|
||||
|
||||
Changes in 1.4.7-stable:
|
||||
o Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.
|
||||
|
||||
Changes in 1.4.6-stable:
|
||||
o evutil.h now includes <stdarg.h> directly
|
||||
o switch all uses of [v]snprintf over to evutil
|
||||
o Correct handling of trailing headers in chunked replies; from Scott Lamb.
|
||||
o Support multi-line HTTP headers; based on a patch from Moshe Litvin
|
||||
o Reject negative Content-Length headers; anonymous bug report
|
||||
o Detect CLOCK_MONOTONIC at runtime for evdns; anonymous bug report
|
||||
o Fix a bug where deleting signals with the kqueue backend would cause subsequent adds to fail
|
||||
o Support multiple events listening on the same signal; make signals regular events that go on the same event queue; problem report by Alexander Drozdov.
|
||||
o Deal with evbuffer_read() returning -1 on EINTR|EAGAIN; from Adam Langley.
|
||||
o Fix a bug in which the DNS server would incorrectly set the type of a cname reply to a.
|
||||
o Fix a bug where setting the timeout on a bufferevent would take not effect if the event was already pending.
|
||||
o Fix a memory leak when using signals for some event bases; reported by Alexander Drozdov.
|
||||
o Add libevent.vcproj file to distribution to help with Windows build.
|
||||
o Fix a problem with epoll() and reinit; problem report by Alexander Drozdov.
|
||||
o Fix off-by-one errors in devpoll; from Ian Bell
|
||||
o Make event_add not change any state if it fails; reported by Ian Bell.
|
||||
o Do not warn on accept when errno is either EAGAIN or EINTR
|
||||
|
||||
Changes in 1.4.5-stable:
|
||||
o Fix connection keep-alive behavior for HTTP/1.0
|
||||
o Fix use of freed memory in event_reinit; pointed out by Peter Postma
|
||||
o Constify struct timeval * where possible; pointed out by Forest Wilkinson
|
||||
o allow min_heap_erase to be called on removed members; from liusifan.
|
||||
o Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT. Retain INPUT/OUTPUT aliases on on-win32 platforms for backwards compatibility.
|
||||
o Do not use SO_REUSEADDR when connecting
|
||||
o Fix Windows build
|
||||
o Fix a bug in event_rpcgen when generated fixed-sized entries
|
||||
|
||||
Changes in 1.4.4-stable:
|
||||
o Correct the documentation on buffer printf functions.
|
||||
o Don't warn on unimplemented epoll_create(): this isn't a problem, just a reason to fall back to poll or select.
|
||||
o Correctly handle timeouts larger than 35 minutes on Linux with epoll.c. This is probably a kernel defect, but we'll have to support old kernels anyway even if it gets fixed.
|
||||
o Fix a potential stack corruption bug in tagging on 64-bit CPUs.
|
||||
o expose bufferevent_setwatermark via header files and fix high watermark on read
|
||||
o fix a bug in bufferevent read water marks and add a test for them
|
||||
o introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
|
||||
o use libevent's internal timercmp on all platforms, to avoid bugs on old platforms where timercmp(a,b,<=) is buggy.
|
||||
o reduce system calls for getting current time by caching it.
|
||||
o fix evhttp_bind_socket() so that multiple sockets can be bound by the same http server.
|
||||
o Build test directory correctly with CPPFLAGS set.
|
||||
o Fix build under Visual C++ 2005.
|
||||
o Expose evhttp_accept_socket() API.
|
||||
o Merge windows gettimeofday() replacement into a new evutil_gettimeofday() function.
|
||||
o Fix autoconf script behavior on IRIX.
|
||||
o Make sure winsock2.h include always comes before windows.h include.
|
||||
|
||||
Changes in 1.4.3-stable:
|
||||
o include Content-Length in reply for HTTP/1.0 requests with keep-alive
|
||||
o Patch from Tani Hosokawa: make some functions in http.c threadsafe.
|
||||
o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
|
||||
o make event_rpcgen.py generate code include event-config.h; reported by Sam Banks.
|
||||
o make event methods static so that they are not exported; from Andrei Nigmatulin
|
||||
o make RPC replies use application/octet-stream as mime type
|
||||
o do not delete uninitialized timeout event in evdns
|
||||
|
||||
Changes in 1.4.2-rc:
|
||||
o remove pending timeouts on event_base_free()
|
||||
o also check EAGAIN for Solaris' event ports; from W.C.A. Wijngaards
|
||||
o devpoll and evport need reinit; tested by W.C.A Wijngaards
|
||||
o event_base_get_method; from Springande Ulv
|
||||
o Send CRLF after each chunk in HTTP output, for compliance with RFC2626. Patch from "propanbutan". Fixes bug 1894184.
|
||||
o Add a int64_t parsing function, with unit tests, so we can apply Scott Lamb's fix to allow large HTTP values.
|
||||
o Use a 64-bit field to hold HTTP content-lengths. Patch from Scott Lamb.
|
||||
o Allow regression code to build even without Python installed
|
||||
o remove NDEBUG ifdefs from evdns.c
|
||||
o update documentation of event_loop and event_base_loop; from Tani Hosokawa.
|
||||
o detect integer types properly on platforms without stdint.h
|
||||
o Remove "AM_MAINTAINER_MODE" declaration in configure.in: now makefiles and configure should get re-generated automatically when Makefile.am or configure.in chanes.
|
||||
o do not insert event into list when evsel->add fails
|
||||
|
||||
Changes in 1.4.1-beta:
|
||||
o free minheap on event_base_free(); from Christopher Layne
|
||||
o debug cleanups in signal.c; from Christopher Layne
|
||||
o provide event_base_new() that does not set the current_base global
|
||||
o bufferevent_write now uses a const source argument; report from Charles Kerr
|
||||
o better documentation for event_base_loopexit; from Scott Lamb.
|
||||
o Make kqueue have the same behavior as other backends when a signal is caught between event_add() and event_loop(). Previously, it would catch and ignore such signals.
|
||||
o Make kqueue restore signal handlers correctly when event_del() is called.
|
||||
o provide event_reinit() to reintialize an event_base after fork
|
||||
o small improvements to evhttp documentation
|
||||
o always generate Date and Content-Length headers for HTTP/1.1 replies
|
||||
o set the correct event base for HTTP close events
|
||||
o New function, event_{base_}loopbreak. Like event_loopexit, it makes an event loop stop executing and return. Unlike event_loopexit, it keeps subsequent pending events from getting executed. Patch from Scott Lamb
|
||||
o Removed obsoleted recalc code
|
||||
o pull setters/getters out of RPC structures into a base class to which we just need to store a pointer; this reduces the memory footprint of these structures.
|
||||
o fix a bug with event_rpcgen for integers
|
||||
o move EV_PERSIST handling out of the event backends
|
||||
o support for 32-bit tag numbers in rpc structures; this is wire compatible, but changes the API slightly.
|
||||
o prefix {encode,decode}_tag functions with evtag to avoid collisions
|
||||
o Correctly handle DNS replies with no answers set (Fixes bug 1846282)
|
||||
o The configure script now takes an --enable-gcc-warnigns option that turns on many optional gcc warnings. (Nick has been building with these for a while, but they might be useful to other developers.)
|
||||
o When building with GCC, use the "format" attribute to verify type correctness of calls to printf-like functions.
|
||||
o removed linger from http server socket; reported by Ilya Martynov
|
||||
o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr.
|
||||
o demote most http warnings to debug messages
|
||||
o Fix Solaris compilation; from Magne Mahre
|
||||
o Add a "Date" header to HTTP responses, as required by HTTP 1.1.
|
||||
o Support specifying the local address of an evhttp_connection using set_local_address
|
||||
o Fix a memory leak in which failed HTTP connections would not free the request object
|
||||
o Make adding of array members in event_rpcgen more efficient, but doubling memory allocation
|
||||
o Fix a memory leak in the DNS server
|
||||
o Fix compilation when DNS_USE_OPENSSL_FOR_ID is enabled
|
||||
o Fix buffer size and string generation in evdns_resolve_reverse_ipv6().
|
||||
o Respond to nonstandard DNS queries with "NOTIMPL" rather than by ignoring them.
|
||||
o In DNS responses, the CD flag should be preserved, not the TC flag.
|
||||
o Fix http.c to compile properly with USE_DEBUG; from Christopher Layne
|
||||
o Handle NULL timeouts correctly on Solaris; from Trond Norbye
|
||||
o Recalculate pending events properly when reallocating event array on Solaris; from Trond Norbye
|
||||
o Add Doxygen documentation to header files; from Mark Heily
|
||||
o Add a evdns_set_transaction_id_fn() function to override the default
|
||||
transaction ID generation code.
|
||||
o Add an evutil module (with header evutil.h) to implement our standard cross-platform hacks, on the theory that somebody else would like to use them too.
|
||||
o Fix signals implementation on windows.
|
||||
o Fix http module on windows to close sockets properly.
|
||||
o Make autogen.sh script run correctly on systems where /bin/sh isn't bash. (Patch from Trond Norbye, rewritten by Hagne Mahre and then Hannah Schroeter.)
|
||||
o Skip calling gettime() in timeout_process if we are not in fact waiting for any events. (Patch from Trond Norbye)
|
||||
o Make test subdirectory compile under mingw.
|
||||
o Fix win32 buffer.c behavior so that it is correct for sockets (which do not like ReadFile and WriteFile).
|
||||
o Make the test.sh script run unit tests for the evpoll method.
|
||||
o Make the entire evdns.h header enclosed in "extern C" as appropriate.
|
||||
o Fix implementation of strsep on platforms that lack it
|
||||
o Fix implementation of getaddrinfo on platforms that lack it; mainly, this will make Windows http.c work better. Original patch by Lubomir Marinov.
|
||||
o Fix evport implementation: port_disassociate called on unassociated events resulting in bogus errors; more efficient memory management; from Trond Norbye and Prakash Sangappa
|
||||
o support for hooks on rpc input and output; can be used to implement rpc independent processing such as compression or authentication.
|
||||
o use a min heap instead of a red-black tree for timeouts; as a result finding the min is a O(1) operation now; from Maxim Yegorushkin
|
||||
o associate an event base with an rpc pool
|
||||
o added two additional libraries: libevent_core and libevent_extra in addition to the regular libevent. libevent_core contains only the event core whereas libevent_extra contains dns, http and rpc support
|
||||
o Begin using libtool's library versioning support correctly. If we don't mess up, this will more or less guarantee binaries linked against old versions of libevent continue working when we make changes to libevent that do not break backward compatibility.
|
||||
o Fix evhttp.h compilation when TAILQ_ENTRY is not defined.
|
||||
o Small code cleanups in epoll_dispatch().
|
||||
o Increase the maximum number of addresses read from a packet in evdns to 32.
|
||||
o Remove support for the rtsig method: it hasn't compiled for a while, and nobody seems to miss it very much. Let us know if there's a good reason to put it back in.
|
||||
o Rename the "class" field in evdns_server_request to dns_question_class, so that it won't break compilation under C++. Use a macro so that old code won't break. Mark the macro as deprecated.
|
||||
o Fix DNS unit tests so that having a DNS server with broken IPv6 support is no longer cause for aborting the unit tests.
|
||||
o Make event_base_free() succeed even if there are pending non-internal events on a base. This may still leak memory and fds, but at least it no longer crashes.
|
||||
o Post-process the config.h file into a new, installed event-config.h file that we can install, and whose macros will be safe to include in header files.
|
||||
o Remove the long-deprecated acconfig.h file.
|
||||
o Do not require #include <sys/types.h> before #include <event.h>.
|
||||
o Add new evutil_timer* functions to wrap (or replace) the regular timeval manipulation functions.
|
||||
o Fix many build issues when using the Microsoft C compiler.
|
||||
o Remove a bash-ism in autogen.sh
|
||||
o When calling event_del on a signal, restore the signal handler's previous value rather than setting it to SIG_DFL. Patch from Christopher Layne.
|
||||
o Make the logic for active events work better with internal events; patch from Christopher Layne.
|
||||
o We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne.
|
1195
ChangeLog-2.0
Normal file
1195
ChangeLog-2.0
Normal file
File diff suppressed because it is too large
Load Diff
207
ChangeLog-2.1
207
ChangeLog-2.1
@ -1,207 +0,0 @@
|
||||
|
||||
|
||||
Performance: Core
|
||||
o Replace several TAILQ users with LIST. LIST can be a little faster than
|
||||
TAILQ for cases where we don't need queue-like behavior. (f9db33d,
|
||||
6494772, d313c29, 974d004)
|
||||
o Disabled code to optimize the case where we reinsert an existing timeout (e47042f, 09cbc3d)
|
||||
o Remove a needless base-notify when rescheduling the first timeout (77a96fd)
|
||||
o Save a needless comparison when removing/adjusting timeouts (dd5189b)
|
||||
o possible optimization: split event_queue_insert/remove into separate functions. needs testing (efc4dc5)
|
||||
o Make event_count maintainance branchless at the expense of an extra shift. Needs benchmarking (d1cee3b)
|
||||
o In the 2.1 branch, let's try out lazy gettimeofday/clock_gettime comparison (2a83ecc)
|
||||
o Optimization in event_process_active(): ignore maxcb & endtime for highest priority events. (a9866aa Alexander Drozdov)
|
||||
o Bypass event_add when using event_base_once() for a 0-sec timeout (35c5c95)
|
||||
o Remove the eventqueue list and the ev_next pointers. (604569b 066775e)
|
||||
|
||||
Performance: Evbuffers
|
||||
o Roughly 20% speed increase when line-draining a buffer using EVBUFFER_EOL_CRLF (5dde0f0 Mina Naguib)
|
||||
o Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF (7b9d139)
|
||||
o Fix a bug in the improved EOL_CRLF code (d927965)
|
||||
o Remove a needless branch in evbuffer_drain() (d19a326)
|
||||
|
||||
Performance: Linux
|
||||
o Infrastructure for using faster/fewer syscalls when creating sockets (a1c042b)
|
||||
o Minimize syscalls during socket creation in listener.c (7e9e289)
|
||||
o Use a wrapper function to create the notification pipe/socketpair/eventfd (ca76cd9)
|
||||
o Use pipes for telling signals to main thread when possible (a35f396)
|
||||
o Save syscalls when constructing listener sockets for evhttp (af6c9d8)
|
||||
o Save some syscalls when creating evdns sockets (713e570)
|
||||
o Save some syscalls when constructing a socket for a bufferevent (33fca62)
|
||||
o Prefer epoll_create1 on Linuxen that have it (bac906c)
|
||||
|
||||
Performance: Epoll backend
|
||||
o Use current event set rather than current pending change when deciding whether to no-op a del (04ba27e Mike Smellie)
|
||||
o Replace big chain of if/thens in epoll.c with a table lookup (8c83eb6)
|
||||
o Clean up error handling in epoll_apply_one_change() a little (2d55a19)
|
||||
|
||||
Performance: Evport backend
|
||||
o evport: use evmap_io to track fdinfo status. Should save time and RAM. (4687ce4)
|
||||
o evport: Remove a linear search over recent events when reactivating them (0f77efe)
|
||||
o evport: Use portev_user to remember fdinfo struct (276ec0e)
|
||||
o evport: don't scan more events in ed_pending than needed (849a5cf)
|
||||
o evport: Remove artificial low limit on max events per getn call (c04d927)
|
||||
o Reenable main/many_events_slow_add for evport in 2.1 (e903db3)
|
||||
|
||||
Performance: Windows
|
||||
o Use GetSystemTimeAsFileTime to implement gettimeofday on win32. It's faster and more accurate than our old approach. (b8b8aa5)
|
||||
|
||||
New functions and features: debugging
|
||||
o Add event_enable_debug_logging() to control use of debug logs (e30a82f)
|
||||
|
||||
New functions and features: core
|
||||
o Add event_config function to limit time/callbacks between calls to dispatch (fd4de1e, 9fa56bd, a37a0c0, 3c63edd)
|
||||
o New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no events are pending (084e68f)
|
||||
o Add event_base_get_npriorities() function. (ee3a4ee Alexander Drozdov)
|
||||
o Make evbase_priority_init() and evbase_get_npriorities() threadsafe (3c55b5e) o New event_base_update_cache_time() to set cached_tv to current time (212533e Abel Mathew)
|
||||
o Add event_self_cbarg() to be used in conjunction with event_new(). (ed36e6a Ross Lagerwall, fa931bb, 09a1906, 1338e6c, 33e43ef)
|
||||
o Add a new libevent_global_shutdown() to free all globals before exiting. (041ca00 Mark Ellzey, f98c158, 15296d0, 55e991b)
|
||||
o Use getifaddrs to detect our interfaces if possible (7085a45)
|
||||
o Add event_base_get_running_event() to get the event* whose cb we are in (c5732fd, 13dad99)
|
||||
|
||||
New functions and features: building
|
||||
o Implement --enable-gcc-hardening configure option (7550267 Sebastian Hahn)
|
||||
|
||||
New functions and features: evbuffers
|
||||
o Add evbuffer_add_file_segment() so one fd can be used efficiently in more than one evbuffer_add_file at a time (e72afae, c2d9884, 3f405d2, 0aad014)
|
||||
o Fix windows file segment mappings (8254de7)
|
||||
o Allow evbuffer_ptr_set to yield a point just after the end of the buffer. (e6fe1da)
|
||||
o Allow evbuffer_ptr to point to position 0 in an empty evbuffer (7aeb2fd Nir Soffer)
|
||||
o Set the special "not found" evbuffer_ptr consistantly. (e3e97ae Nir Soffer)
|
||||
o support adding buffers to other buffers non-destructively (9d7368a Joachim Bauch)
|
||||
o prevent nested multicast references, reworked locking (26041a8 Joachim Bauch)
|
||||
o New EVBUFFER_EOL_NUL to read NUL-terminated strings from an evbuffer (d7a8b36 Andrea Montefusco, 54142c9)
|
||||
o Make evbuffer_file_segment_types adaptable (c6bbbf1)
|
||||
o Added evbuffer_add_iovec and unit tests. (aaec5ac Mark Ellzey, 27b5398)
|
||||
o Add evbuffer_copyout_from to copy data from the middle of a buffer (27e2225)
|
||||
|
||||
New functions and features: bufferevents
|
||||
o Allow users to set allow_dirty_shutdown (099d27d Catalin Patulea)
|
||||
o Tweak allow_dirty_shutdown documentation (a44cd2b)
|
||||
o Fix two issues in the allow_dirty_shutdown code. (f3b89de)
|
||||
o Add a bufferevent_getcb() to find a bufferevent's current callbacks (a650394) o bufferevent: Add functions to set/get max_single_read/write values. (998c813 Alexander Drozdov)
|
||||
o bev_ssl: Be more specific in event callbacks. evhttp in particular gets confused without at least one of BEV_EVENT_{READING|WRITING}. (f7eb69a Catalin Patulea)
|
||||
New functions and features: evconnlisteners
|
||||
o Support TCP_DEFER_ACCEPT sockopts for listeners (5880e4a Mark Ellzey, a270728)
|
||||
o Add another caveat to the TCP_DEFER_ACCEPT documentation (a270728)
|
||||
o Allow evconnlistener to be created in disabled state. (9593a33 Alexander Drozdov)
|
||||
o The LEV_OPT_CLOSE_ON_EXEC flag now applies to accepted listener sockets too (4970329)
|
||||
|
||||
Evhttp:
|
||||
o Add new evhttp_{connection_}set_timeout_tv() functions to set finger-grained http timeouts (6350e6c Constantine Verutin)
|
||||
o Performance tweak to evhttp_parse_request_line. (aee1a97 Mark Ellzey)
|
||||
o Add missing break to evhttp_parse_request_line (0fcc536)
|
||||
o Add evhttp callback for bufferevent creation; this lets evhttp support SSL. (8d3a850)
|
||||
o Remove calls to deprecated bufferevent functions from evhttp.c (4d63758)
|
||||
o evhttp: Add evhttp_foreach_bound_socket. (a2c48e3 Samy Al Bahra)
|
||||
|
||||
Build improvements
|
||||
o Add AC_USE_SYSTEM_EXTENSIONS to configure.in. Requires follow on patches for correctness and robustness. (1fa7dbe Kevin Bowling)
|
||||
o Filter '# define' statements from autoconf and generate event-private.h (321b558 Kevin Bowling)
|
||||
o Remove internal usage of _GNU_SOURCE (3b26541 Kevin Bowling)
|
||||
o Eliminate a couple more manual internal _GNU_SOURCE defines (c51ef93 Kevin Bowling)
|
||||
o Add AC_GNU_SOURCE to the fallback case. (ea8fa4c Kevin Bowling)
|
||||
o Use a Configuration Header Template for evconfig-private.h (868f888 Kevin Bowling)
|
||||
o Fix a comment warning and add evconfig-private.h to .gitignore (f6d66bc Kevin Bowling)
|
||||
o Include evconfig-private.h in internal files for great good. (0915ca0 Kevin Bowling)
|
||||
o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5) (ad03952 Kevin Bowling)
|
||||
o Prefer the ./configure evconfig-private.h in MinGW, just in case. (f964b72 Kevin Bowling)
|
||||
o Shell hack for weird mkdir -p commands (fd7b5a8 Kevin Bowling)
|
||||
o Add evconfig-private to remaining files (ded0a09 Kevin Bowling)
|
||||
o Allow use of --enable-silent-rules for quieter compilation with automake 1.11 (f1f8514 Dave Hart)
|
||||
f)
|
||||
o Use "_WIN32", not WIN32: it's standard and we don't need to fake it (9f560b)
|
||||
o In configure, test for _WIN32 not WIN32. (85078b1 Peter Rosin)
|
||||
o Do not define WIN32 in Makefile.nmake (d41f3ea Peter Rosin)
|
||||
o Provide the autoconf m4 macros for the new OpenSSL via pkg-config stuff. (674dc3d Harlan Stenn)
|
||||
o Use pkg-config (if available) to handle OpenSSL. (1c63860 Harlan Stenn)
|
||||
o We need AM_CPPFLAGS when compiling bufferevent_openssl.c (6d2613b Harlan Stenn)
|
||||
o Fix OSX build: $(OPENSSL_INCS) needs to be after $(AM_CPPFLAGS). (46f1769 Zack Weinberg)
|
||||
o Make gcc warnings on by default, and --enable-gcc-warnings only add -Werror (d46517e Sebastian Hahn)
|
||||
o Split up extra-long AC_CHECK_FUNCS/HEADERS lines in configure.in (88a30ad)
|
||||
o Move libevent 1.x headers to include/, to put all public headers in one place. (bbea8d6)
|
||||
o Put #ifdef around some files to support alternate build systems. (76d4c92 Ross Lagerwall)
|
||||
o Also make win32select.c conditional for IDE users (bf2c5a7)
|
||||
|
||||
|
||||
Debugging:
|
||||
o Add a magic number to debug_locks to better catch lock-coding errors. (b4a29c0 Dave Hart)
|
||||
o munge the debug_lock signature before freeing it: it might help us catch use-after-free (f28084d)
|
||||
o Added --enable-event-debugging in configure (bc7b4e4, a9c2c9a Mark Ellzey)
|
||||
o Debug addition for printing usec on TIMEOUT debugging. (ac43ce0 Mark Ellzey)
|
||||
o Added usec debug in another area for debug (3baab0d Mark Ellzey)
|
||||
o added timeout debug logs to include event ptr. (4b7d298 Mark Ellzey)
|
||||
o more event dbg updates (6727543 Mark Ellzey)
|
||||
o Clarify event_enable_debug_logging a little (6207826)
|
||||
o Make --enable-verbose-debug option match its help text (10c3450)
|
||||
o Add argument checks to some memory functions in `event.c'. (c8953d1 Mansour Moufid)
|
||||
|
||||
Testing:
|
||||
o More abstraction in test.sh (cd74c4e)
|
||||
o Add failing test for evbuffer_search_range. (8e26154 Nir Soffer)
|
||||
o Tweaks to return types with end-of-buf ptrs (9ab8ab8)
|
||||
o Add an (internal) usleep function for use by unit tests (f25d9d3)
|
||||
o Synchronize with upstream tinytest (6c81be7)
|
||||
o Make test-changelist faster (7622d26)
|
||||
o Reduce the timeout in the main/fork test. (ab14f7c)
|
||||
o New evhttp function to adjust initial retry timeout (350a3c4)
|
||||
o Make regression tests run over 3x faster. (67a1763)
|
||||
o Use test_timeval_diff_eq more consistently (b77b43f)
|
||||
o Allow more slop in deferred_cb_skew test; freebsd needs it (b9f7e5f)
|
||||
o When including an -internal.h header outside the main tree, do so early (95e2455)
|
||||
o Add a new test: test-fdleak which tests for fd leaks by creating many sockets. (2ef9278 Ross Lagerwall, f7af194, 1c4288f, etc)
|
||||
o Add a unit test for event_base_dump_events() (7afe48a, 8d08cce)
|
||||
o Test more bufferevent_ratelim features (c24f91a)
|
||||
|
||||
Documentation:
|
||||
o Improve evbuffer_ptr documentation (261ba63)
|
||||
o added comments to describe refcounting of multicase chains (ba24f61 Joachim Bauch)
|
||||
o Add doxygen for event_base_dump_events (cad5753)
|
||||
|
||||
OSX:
|
||||
o Use "unlimited select" on OSX so that we can have more than FD_SETSIZE fds (1fb5cc6)
|
||||
|
||||
KQueue:
|
||||
o Use SIG_IGN instead of a do-nothing handler for signal events with kqueue (148458e Zack Weinberg)
|
||||
|
||||
evprc:
|
||||
o event_rpcgen.py now prints status information to stdout and errors to stderr. (ffb0ba0 Ross Lagerwall)
|
||||
|
||||
Code improvement and refactoring:
|
||||
o Make event_reinit() more robust and maintainable (272033e)
|
||||
o Restore fast-path event_reinit() for slower backends (2c4b5de)
|
||||
o Check changelist as part of checking representational integrity (39b3f38)
|
||||
o Fix a compile warning in event_reinit (e4a56ed Sebastian Hahn)
|
||||
o Refactor the functions that run over every event. (c89b4e6)
|
||||
o Remove the last vestiges of _EVENT_USE_EVENTLIST (a3cec90)
|
||||
o Make event-config.h depend on Makefile.am (2958a5c)
|
||||
|
||||
Build fixes:
|
||||
o Don't do clang version detection when disabling some flags (083296b Sebastian Hahn)
|
||||
|
||||
C standards conformance:
|
||||
o Check for NULL return on win32 mm_calloc, and set ENOMEM. (af7ba69)
|
||||
o Convert event-config.h macros to avoid reserved identifiers (68120d9)
|
||||
o Generate event-config.h using the correct macros. (f82c57e)
|
||||
o Convert include-guard macro convention to avoid reserved identifiers (3f8c7cd)
|
||||
o Make event_rpcgen.py output conform to indentifier conventions (372bff1)
|
||||
o Stop referring to an obsolete include guard in bench_http.h (5c0f7e0)
|
||||
o Make the generated event-config.h use correct include guards (639383a)
|
||||
o Fix all identifiers with names beginning with underscore. (cb9da0b)
|
||||
o Make event_rpcgen.py output conform to indentifier conventions, more (bcefd24)
|
||||
o Fix some problems introduced by automated identifier cleanup script (c963534)
|
||||
o Have all visible internal function names end with an underscore. (8ac3c4c)
|
||||
o Apply the naming convention to our EVUTIL_IS* functions (c7848fa)
|
||||
o Clean up lingering _identifiers. (946b584)
|
||||
o Fix doxygen to use new macro conventions (da455e9)
|
||||
|
||||
Bugfixes:
|
||||
o Do not use system EAI/AI values if we are not using the system getaddrinfo. (7bcac07)
|
||||
|
||||
Sample Code:
|
||||
o Fix up sample/event-test.c to use newer interfaces and make it actually work. (19bab4f Ross Lagerwall)
|
||||
o On Unix, remove event.fifo left by sample/event-test.c. (c0dacd2 Ross Lagerwall)
|
||||
o Rename event-test.c to event-read-fifo.c. (a5b370a Ross Lagerwall)
|
||||
o event-read-fifo: Use EV_PERSIST appropriately (24dab0b)
|
||||
|
||||
|
@ -103,6 +103,8 @@ EXTRA_DIST = \
|
||||
whatsnew-2.0.txt \
|
||||
whatsnew-2.1.txt \
|
||||
Makefile.nmake test/Makefile.nmake \
|
||||
ChangeLog-2.0 \
|
||||
ChangeLog-1.4 \
|
||||
$(PLATFORM_DEPENDENT_SRC)
|
||||
|
||||
LIBEVENT_LIBS_LA = libevent.la libevent_core.la libevent_extra.la
|
||||
|
Loading…
x
Reference in New Issue
Block a user