1 Changes in 1.4.12-stable:
2 o Try to contain degree of failure when running on a win32 version so heavily firewalled that we can't fake a socketpair.
3 o Fix an obscure timing-dependent, allocator-dependent crash in the evdns code.
4 o Use __VA_ARGS__ syntax for varargs macros in event_rpcgen when compiler is not GCC.
5 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).
6 o Fix another pair of fencepost bugs in epoll.c. [Patch from Adam Langley.]
7 o Do not break evdns connections to nameservers when our IP changes.
8 o Set truncated flag correctly in evdns server replies.
9 o Disable strict aliasing with GCC: our code is not compliant with it.
11 Changes in 1.4.11-stable:
12 o Fix a bug when removing a timeout from the heap. [Patch from Marko Kreen]
13 o Remove the limit on size of HTTP headers by removing static buffers.
14 o Fix a nasty dangling pointer bug in epoll.c that could occur after epoll_recalc(). [Patch from Kevin Springborn]
15 o Distribute Win32-Code/event-config.h, not ./event-config.h
17 Changes in 1.4.10-stable:
18 o clean up buffered http connection data on reset; reported by Brian O'Kelley
19 o bug fix and potential race condition in signal handling; from Alexander Drozdov
20 o rename the Solaris event ports backend to evport
21 o support compilation on Haiku
22 o fix signal processing when a signal callback delivers a signal; from Alexander Drozdov
23 o const-ify some arguments to evdns functions.
24 o off-by-one error in epoll_recalc; reported by Victor Goya
25 o include Doxyfile in tar ball; from Jeff Garzik
26 o correctly parse queries with encoded \r, \n or + characters
28 Changes in 1.4.9-stable:
29 o event_add would not return error for some backends; from Dean McNamee
30 o Clear the timer cache on entering the event loop; reported by Victor Chang
31 o Only bind the socket on connect when a local address has been provided; reported by Alejo Sanchez
32 o Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones.
33 o Clear the timer cache when leaving the event loop; reported by Robin Haberkorn
34 o Fix a typo in setting the global event base; reported by lance.
35 o Fix a memory leak when reading multi-line headers
36 o Fix a memory leak by not running explicit close detection for server connections
38 Changes in 1.4.8-stable:
39 o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov.
40 o Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong.
41 o Do not remove Accept-Encoding header
43 Changes in 1.4.7-stable:
44 o Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.
46 Changes in 1.4.6-stable:
47 o evutil.h now includes <stdarg.h> directly
48 o switch all uses of [v]snprintf over to evutil
49 o Correct handling of trailing headers in chunked replies; from Scott Lamb.
50 o Support multi-line HTTP headers; based on a patch from Moshe Litvin
51 o Reject negative Content-Length headers; anonymous bug report
52 o Detect CLOCK_MONOTONIC at runtime for evdns; anonymous bug report
53 o Fix a bug where deleting signals with the kqueue backend would cause subsequent adds to fail
54 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.
55 o Deal with evbuffer_read() returning -1 on EINTR|EAGAIN; from Adam Langley.
56 o Fix a bug in which the DNS server would incorrectly set the type of a cname reply to a.
57 o Fix a bug where setting the timeout on a bufferevent would take not effect if the event was already pending.
58 o Fix a memory leak when using signals for some event bases; reported by Alexander Drozdov.
59 o Add libevent.vcproj file to distribution to help with Windows build.
60 o Fix a problem with epoll() and reinit; problem report by Alexander Drozdov.
61 o Fix off-by-one errors in devpoll; from Ian Bell
62 o Make event_add not change any state if it fails; reported by Ian Bell.
63 o Do not warn on accept when errno is either EAGAIN or EINTR
65 Changes in 1.4.5-stable:
66 o Fix connection keep-alive behavior for HTTP/1.0
67 o Fix use of freed memory in event_reinit; pointed out by Peter Postma
68 o Constify struct timeval * where possible; pointed out by Forest Wilkinson
69 o allow min_heap_erase to be called on removed members; from liusifan.
70 o Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT. Retain INPUT/OUTPUT aliases on on-win32 platforms for backwards compatibility.
71 o Do not use SO_REUSEADDR when connecting
73 o Fix a bug in event_rpcgen when generated fixed-sized entries
75 Changes in 1.4.4-stable:
76 o Correct the documentation on buffer printf functions.
77 o Don't warn on unimplemented epoll_create(): this isn't a problem, just a reason to fall back to poll or select.
78 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.
79 o Fix a potential stack corruption bug in tagging on 64-bit CPUs.
80 o expose bufferevent_setwatermark via header files and fix high watermark on read
81 o fix a bug in bufferevent read water marks and add a test for them
82 o introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
83 o use libevent's internal timercmp on all platforms, to avoid bugs on old platforms where timercmp(a,b,<=) is buggy.
84 o reduce system calls for getting current time by caching it.
85 o fix evhttp_bind_socket() so that multiple sockets can be bound by the same http server.
86 o Build test directory correctly with CPPFLAGS set.
87 o Fix build under Visual C++ 2005.
88 o Expose evhttp_accept_socket() API.
89 o Merge windows gettimeofday() replacement into a new evutil_gettimeofday() function.
90 o Fix autoconf script behavior on IRIX.
91 o Make sure winsock2.h include always comes before windows.h include.
93 Changes in 1.4.3-stable:
94 o include Content-Length in reply for HTTP/1.0 requests with keep-alive
95 o Patch from Tani Hosokawa: make some functions in http.c threadsafe.
96 o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
97 o make event_rpcgen.py generate code include event-config.h; reported by Sam Banks.
98 o make event methods static so that they are not exported; from Andrei Nigmatulin
99 o make RPC replies use application/octet-stream as mime type
100 o do not delete uninitialized timeout event in evdns
103 o remove pending timeouts on event_base_free()
104 o also check EAGAIN for Solaris' event ports; from W.C.A. Wijngaards
105 o devpoll and evport need reinit; tested by W.C.A Wijngaards
106 o event_base_get_method; from Springande Ulv
107 o Send CRLF after each chunk in HTTP output, for compliance with RFC2626. Patch from "propanbutan". Fixes bug 1894184.
108 o Add a int64_t parsing function, with unit tests, so we can apply Scott Lamb's fix to allow large HTTP values.
109 o Use a 64-bit field to hold HTTP content-lengths. Patch from Scott Lamb.
110 o Allow regression code to build even without Python installed
111 o remove NDEBUG ifdefs from evdns.c
112 o update documentation of event_loop and event_base_loop; from Tani Hosokawa.
113 o detect integer types properly on platforms without stdint.h
114 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.
115 o do not insert event into list when evsel->add fails
117 Changes in 1.4.1-beta:
118 o free minheap on event_base_free(); from Christopher Layne
119 o debug cleanups in signal.c; from Christopher Layne
120 o provide event_base_new() that does not set the current_base global
121 o bufferevent_write now uses a const source argument; report from Charles Kerr
122 o better documentation for event_base_loopexit; from Scott Lamb.
123 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.
124 o Make kqueue restore signal handlers correctly when event_del() is called.
125 o provide event_reinit() to reintialize an event_base after fork
126 o small improvements to evhttp documentation
127 o always generate Date and Content-Length headers for HTTP/1.1 replies
128 o set the correct event base for HTTP close events
129 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
130 o Removed obsoleted recalc code
131 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.
132 o fix a bug with event_rpcgen for integers
133 o move EV_PERSIST handling out of the event backends
134 o support for 32-bit tag numbers in rpc structures; this is wire compatible, but changes the API slightly.
135 o prefix {encode,decode}_tag functions with evtag to avoid collisions
136 o Correctly handle DNS replies with no answers set (Fixes bug 1846282)
137 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.)
138 o When building with GCC, use the "format" attribute to verify type correctness of calls to printf-like functions.
139 o removed linger from http server socket; reported by Ilya Martynov
140 o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr.
141 o demote most http warnings to debug messages
142 o Fix Solaris compilation; from Magne Mahre
143 o Add a "Date" header to HTTP responses, as required by HTTP 1.1.
144 o Support specifying the local address of an evhttp_connection using set_local_address
145 o Fix a memory leak in which failed HTTP connections would not free the request object
146 o Make adding of array members in event_rpcgen more efficient, but doubling memory allocation
147 o Fix a memory leak in the DNS server
148 o Fix compilation when DNS_USE_OPENSSL_FOR_ID is enabled
149 o Fix buffer size and string generation in evdns_resolve_reverse_ipv6().
150 o Respond to nonstandard DNS queries with "NOTIMPL" rather than by ignoring them.
151 o In DNS responses, the CD flag should be preserved, not the TC flag.
152 o Fix http.c to compile properly with USE_DEBUG; from Christopher Layne
153 o Handle NULL timeouts correctly on Solaris; from Trond Norbye
154 o Recalculate pending events properly when reallocating event array on Solaris; from Trond Norbye
155 o Add Doxygen documentation to header files; from Mark Heily
156 o Add a evdns_set_transaction_id_fn() function to override the default
157 transaction ID generation code.
158 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.
159 o Fix signals implementation on windows.
160 o Fix http module on windows to close sockets properly.
161 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.)
162 o Skip calling gettime() in timeout_process if we are not in fact waiting for any events. (Patch from Trond Norbye)
163 o Make test subdirectory compile under mingw.
164 o Fix win32 buffer.c behavior so that it is correct for sockets (which do not like ReadFile and WriteFile).
165 o Make the test.sh script run unit tests for the evpoll method.
166 o Make the entire evdns.h header enclosed in "extern C" as appropriate.
167 o Fix implementation of strsep on platforms that lack it
168 o Fix implementation of getaddrinfo on platforms that lack it; mainly, this will make Windows http.c work better. Original patch by Lubomir Marinov.
169 o Fix evport implementation: port_disassociate called on unassociated events resulting in bogus errors; more efficient memory management; from Trond Norbye and Prakash Sangappa
170 o support for hooks on rpc input and output; can be used to implement rpc independent processing such as compression or authentication.
171 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
172 o associate an event base with an rpc pool
173 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
174 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.
175 o Fix evhttp.h compilation when TAILQ_ENTRY is not defined.
176 o Small code cleanups in epoll_dispatch().
177 o Increase the maximum number of addresses read from a packet in evdns to 32.
178 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.
179 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.
180 o Fix DNS unit tests so that having a DNS server with broken IPv6 support is no longer cause for aborting the unit tests.
181 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.
182 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.
183 o Remove the long-deprecated acconfig.h file.
184 o Do not require #include <sys/types.h> before #include <event.h>.
185 o Add new evutil_timer* functions to wrap (or replace) the regular timeval manipulation functions.
186 o Fix many build issues when using the Microsoft C compiler.
187 o Remove a bash-ism in autogen.sh
188 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.
189 o Make the logic for active events work better with internal events; patch from Christopher Layne.
190 o We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne.