xref: /libevent-2.1.12/ChangeLog (revision f8d80a28)
1Changes in version 2.1.4-{alpha,beta,rc} (?? ??? 2013)
2
3
4
5Changes in version 2.1.3-alpha (1 May 2013)
6
7 Libevent 2.1.3-alpha fixes various bugs, adds new unit tests, and cleans
8 up the code in a couple of places. It has a new callback in evhttp for
9 reporting errors during a request, a new feature for allowing evdns to
10 not keep the event_base looping when there are no requests inflight, and
11 example code for writing an https client.
12
13 Libevent 2.1.3-alpha also has an important new (experimental) event
14 finalization feature to allow safe event teardown in multithreaded
15 programs. This ought to fix the longstanding bug with deadlocks in
16 multithreaded use of SSL-based bufferevents that some people have been
17 experiencing since Libevent 2.0.
18
19
20 Core (event finalization)
21   o Implement event_finalize() and related functions to avoid certain
22     deadlocks (8eedeab)
23   o Use finalization feature so bufferevents can avoid deadlocks (02fbf68)
24   o Always run pending finalizers when event_base_free() is called (e9ebef8)
25   o Remove bufferevent_del_generic_timeout_cbs as now unused (4ea4c6a)
26   o More documentation for finalization feature (a800b91)
27   o Make the event_finalize* functions return an error code (5d11f4f)
28   o Mark the finalize stuff as experiemental in case it needs to
29     change (23e2e29)
30
31 Evdns
32   o evdns: New flag to make evdns not prevent the event loop from
33     exiting (6b7fa62 Azat Khuzhin)
34
35 Bugfixes (Core)
36   o Make event_remove_timer behave correctly with persistent timers (5623e80)
37   o Unit test for event_remove_timer with EV_PERSIST. (96150dd)
38   o Double-check next timeout when adding events (9443868 Nate Rosenblum)
39   o event_base_update_cache_time should be a no-op if the loop isn't
40     running (5e6fa2a)
41
42 Bugfixes (evhttp, crash fix, from 2.0)
43   o fix #73 and fix http_connection_fail_test to catch it (b618204 Greg Hazel)
44
45 Bugfixes (compilation and portability, from 2.0)
46   o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
47   o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
48   o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
49     (74d4c44 Kevin Bowling)
50   o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake
51     1.13 compat (817ea36)
52   o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
53   o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
54
55 Bugfixes (resource leaks/lock errors on error, from 2.0)
56   o Avoid leaking fds on evconnlistener with no callback set (69db261)
57   o Avoid double-close on getsockname error in evutil_ersatz_socketpair
58     (0a822a6)
59   o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
60
61 Documentation Fixes (from 2.0)
62   o Fix a mistake in evbuffer_remove() arguments in example http server code
63     (c322c20 Gyepi Sam)
64   o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
65
66 Documentation Fixes
67   o minor documentation typos (809586a Patrick Pelletier)
68   o Fix cut-and-paste err in whatsnew-2.1 (49905ac)
69   o Fix comment to refer to sample/include.am correctly (9e8cdf3 Sebastian
70     Hahn)
71   o Fix typo : Dispatching instead of Dispaching (0c2bacc Volker Lendecke)
72   o fix some hinky indentation in evhttp_make_request (80e220e Patrick
73     Pelletier)
74   o "buffer" spelling (a452811 Patrick Pelletier)
75   o Specify return behavior in header for evbuffer_pullup() in corner case
76     (cf8d1cd Dan Petro)
77   o Clarify an important point about event_base_foreach_event() (920a5e6)
78
79 Compilation Fixes/Tool Support
80   o avoid valgrind false positive by zeroing epoll_event (1258614 Patrick
81     Pelletier)
82   o Fix harmless clang enum warning (b452a43 Sebastian Hahn)
83   o remove all exes on "make clean", not just regress.exe (974bfa0 Patrick
84     Pelletier)
85   o Make --disable-libevent-regress work again (787fd74)
86   o Do not build strlcpy.c when it will have no code. (4914620)
87
88 Portability Fixes
89   o When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it (bf7a0ff)
90   o Preliminary changes for Minix3. (0dda56a Nicholas Heath)
91   o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13
92     compat (bf278b)
93   o Avoid using $(top_srcdir) in TESTS. (2863c83)
94   o build test/test-script.sh on systems with a less-featureful $< (f935e21)
95   o Implement EVUTIL_ERR_IS_EAGAIN on windows. (42aaf4d)
96
97 Evhttp changes:
98   o Fix ipv6 support for http. When URL contain domain, not IP
99     address. (71e709c Azat Khuzhin)
100   o uri decode: fix for warning "use of uninitialised value" (64b6ece Azat
101     Khuzhin)
102   o uri decode: changed the test for the existence of the next character
103     (e1903e3 Azat Khuzhin)
104   o Move prototype of evhttp_decode_uri_internal() to http-internal.h
105     (de8101a Azat Khuzhin)
106   o Test: decoding just part of string with evhttp_decode_uri_internal()
107     (1367653 Azat Khuzhin)
108   o Add new error_cb for actual reporting of HTTP request errors. (7b07719
109     Azat Khuzhin)
110   o Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test() (862c217
111     Azat Khuzhin)
112   o Drop extra header http_struct.h from regress_http.c (54cc800 Azat Khuzhin)
113
114 Testing
115   o Add regress test ipv6_for_domain. (9ec88bd Azat Khuzhin)
116   o Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug
117     mode (2fad0f3)
118   o Add a test with an active_later event at event_base_free time. (1c3147f)
119   o Make all tests pass under EVENT_DEBUG_MODE=1 (b1b054f)
120   o Add some verbose notes to bufferevent unit tests (9d893c9)
121   o New test for active_later->active transition on event_active (a153874)
122   o New tests for event_base_foreach_event() (0b096ef)
123   o Unit tests for event_base_gettimeofday_cached() and
124     event_base_update_cache_time() (30ea291)
125   o A test for event_get_assignment() (f09629e)
126   o More unit tests for initializing common timeouts. (d596739)
127   o Fix a bug in the new main/event_foreach test (702c9aa)
128
129 Windows:
130   o use FormatMessage for winsock errors (0c6ec5d, 2078e9b, 4ccdd53, c9ad3af
131     Patrick Pelletier)
132   o a program to print out the error strings for winsock errors (7296512
133     Patrick Pelletier)
134   o Fix a warning introduced in 0c6ec5d8 (eeb700c)
135   o Fix another warning introduced in 0c6ec5d8 (ed26561)
136
137 Examples (http)
138   o Add sample/https-client.c, an example of stacking evhttp as a client on
139     top of bufferevent_ssl. (be46c99 Catalin Patulea)
140   o use ${OPENSSL_LIBS} instead of -lssl -lcrypto (bf31fa5 Patrick Pelletier)
141   o https-client was putting newlines at 256-byte boundaries (42d7441 Patrick
142     Pelletier)
143   o better handling of OpenSSL errors (5754d96 Patrick Pelletier)
144   o use Debian's default root certificate location (aacd674 Patrick Pelletier)
145   o use iSECPartners code to validate hostname in certificate (64d9f16
146     Patrick Pelletier)
147   o avoid sign mismatch warning in openssl_hostname_validation.c (6021cb5
148     Patrick Pelletier)
149   o pull in wildcard matching code from cURL (4db9da6 Patrick Pelletier)
150   o Another tweak to https-client.c (95acdaa)
151   o Remove http_struct.h usage in sample/https-client.c (8a90a85)
152
153
154
155Changes in version 2.1.2-alpha (18 Nov 2012)
156
157 Libevent 2.1.2-alpha includes more portable for monotonic timers,
158 refactors much of Libevent's internal and external infrastructure,
159 closes some longstanding gaps in the interface, makde other
160 improvements.  Ths log below tries to organize features by rough area of
161 effect.  It omits a few commits which were pure bugfixes on other commits
162 listed below.  For more detail, see the git changelogs.  For more
163 insight, see the "whatsnew-2.1.txt" document included in the Libevent
164 2.1.2-alpha distribution.
165
166 Libevent 2.1.2-alpha also includes all changes made in 2.0.19-stable
167 through 2.0.21-stable inclusive.
168
169 Performance (core):
170   o Replace pipe-based notification with EVFILT_USER where possible. This
171     should make multithreaded programs on OSX and *BSD alert the main thread a
172     little faster. (53a07fe)
173   o Make th_base_lock nonrecursive. (9cd5acb)
174
175 New/Changed API Functions:
176   o New event_get_priority() function to return an event's priority (f90e255)
177   o Add a bufferevent_get_priority() function (bd39554)
178   o Add an event_base_loopcontinue() to tell Libevent to rescan for more
179     events right away (7d6aa5e)
180   o Add a new callback to get called on evbuffer_file_segment free
181     (e9f8feb yangacer, 64051b9)
182   o Expose event_base_foreach_event() as a public API. (84fd6d7 Roman
183      Puls, 232055e, ffe1643)
184   o Add an event_remove_timer() to remove timer on an event without
185     deleting it (e3b2e08)
186   o Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible
187     semantics (9dee36b)
188   o Rename event_enable_lock_debuging() to ..._debugging(). (The old name
189     should still work.) (07e132e)
190   o Add missing implementation for event_enable_debug_logging (3b3e21d)
191
192 PORTABLE MONOTONIC TIMERS:
193
194   Libevent 2.1.2 includes internal support for monotonic timers on
195   (nearly) all supported platforms, including Windows, and OSX.  Libevent
196   applications should now be more resilient to jumps forwards or backwards
197   in the system clock.  Also, on Linux systems with epoll, we now
198   optionally support microsecond-level timeouts (whereas epoll only
199   supports millisecond-precision timeouts).
200
201   o Use mach_absolute_time() for monotonic clock support on OSX. (b8fd6f9)
202   o Do not track use_monotonic field when is no monotonic clock (cb653a0)
203   o EVENT_BASE_FLAG_PRECISE_TIMER indicates we want fine timer precision
204     (ddd69d3)
205   o On Linux, use CLOCK_MONOTONIC_COARSE by default (55780a7)
206   o Implement a GetTickCount-based monotonic timer for Windows (d5e1d5a)
207   o Refactor monotonic timer handling into a new type and set of
208     functions; add a gettimeofday-based ratcheting implementation (f5e4eb0)
209   o Add EVENT_PRECISE_TIMER environment var for selecting precise-but-slow
210     timer (a2598ec)
211   o Implement fast/precise monotonic clocks on Windows (2c47045)
212   o Simple unit tests for monotonic timers (630f077)
213   o Improve the monotonic-time unit test: make it check the step size (7428c78)
214   o When PRECISE_TIMERS is set with epoll, use timerfd for microsecond
215     precision (26c7582)
216   o Split out time-related evutil functions into a new evutil_time.c (c419485)
217   o Split out time-related prototypes into time-internal.h (71bca50)
218   o Add evutil_time.obj to Makefile.nmake (0ba0683)
219   o Avoid giving a spurious warning when timerfd support is unavailable
220     (1aaf9f0 Dave Hart)
221   o Make test_evutil_monotonic a little more tolerant (def3b83)
222   o Avoid unused-var warning on systems with clock_gettime but without
223     CLOCK_MONOTONIC_COARSE (9be5468)
224
225EVENT_BASE_ONCE LEAKS:
226   If a callback added by event_base_once() is never invoked, Libevent no
227   longer leaks internal memory.
228
229   o Free dangling event_once objects on event_base_free() (c17dd59)
230   o Add a unit test in which an event is created with event_base_once()
231     but never fires (4343edf)
232
233TESTING SUPPORT, FIXES AND IMPROVEMENTS:
234
235   Libevent now disables by default its unit tests that would touch the
236   network, or that tend to fail on heavily-loaded systems.  To re-enable
237   them, invoke the ./test/regress program with the @all alias.
238
239   o Simplify test.sh code significantly. (9b856fd Ross Lagerwall)
240   o Make all tests that hit the network disabled by default (f2cea87)
241   o Avoid a resource leak on error in http client benchmark (ea92fba)
242   o Update to latest tinytest (911b4f0349377) (ef7c4f7)
243   o Avoid (unlikely) overflow in bench_httpclient.c (5671033)
244   o Shave 700 msec off the persistent_timeout_jump test (21205b8)
245   o Check return value of write() in regress.c (c8009d2)
246   o Make load-dependent monotonic timer tests off-by-default (2b6fe8b)
247   o Add deferred_cb_skew to list of timing-dependent tests (34c8f31)
248   o Avoid test -e; older shs don't have one. (f1bd938)
249   o Fix renegotiation test to work around openssl 1.0.1 bug (c2f3086)
250   o Fix a couple of compile warnings in the unit tests (5a9a014)
251
252MISC:
253   o Change evutil_weakrand_() to avoid platform random() (e86af4b Nicholas
254     Marriott, 3aa4415)
255
256INFRASTRUCTURE (Active-later events):
257   As a simplification and optimization to Libevent's "deferred callback"
258   logic (introduced in 2.0 to avoid callback recursion), Libevent now
259   treats all of its deferrable callback types using the same logic it uses
260   for active events.  Now deferred events no longer cause priority
261   inversion, no longer require special code to cancel them, and so on.
262
263   o Refactor the callback part of an event into its own event_callback
264     type (cba59e5)
265   o Add "active later" event_callbacks to supersede deferred (745a63d)
266   o event_base_assert_ok: check value of event_active_count for
267     correctness (fec8bae)
268   o Replace deferred_cbs with event_callback-based implementation. (ae2b84b)
269   o Replace more deferred_cb names with event_callback (a4079aa)
270   o Give event_base_process_active a single exit path (581b5be)
271   o Restore our priority-inversion-prevention code with deferreds (c0e425a)
272   o Refactor event_persist_closure: raise and extract some common logic
273     (bec22b4)
274   o Remove the unused bits from EVLIST_ALL (9889a3d)
275
276BUILD IMPROVEMENTS:
277 Libevent 2.1.2-alpha modernizes Libevent's use of autotools, and makes
278 numerous other build system. Parallel builds should be faster, and all
279 builds should be quieter.
280
281   o Split long lists in Makefile.am into one-item-per-line (2711cda)
282   o Remove unnecessary code in configure.in. (e65914f Ross Lagerwall)
283   o attempt to support OpenSSL in Makefile.nmake (eba0eb2 Patrick Pelletier)
284   o Use newer syntax for autoconf/automake init (7d60ba8)
285   o Enable silent build rules by default. Override with V=1 (7b18e5c)
286   o Switch to non-recursive makefiles (7092f3b)
287   o Rename subordinate Makefile.ams to include.am (6cdfeeb)
288   o Make quiet build even quieter (371a123)
289   o New --quiet option for event_rpcgen.py (aa59c1e)
290   o Be quiet when making regress.gen.[ch] (607a8ff)
291   o Fix handling of no-python case for nonrecursive make (1e3123d)
292   o We now require automake 1.9 or later. Modernize! (b7f6e89)
293   o Rename configure.in to configure.ac. (b3fea67 Ross Lagerwall)
294   o Use correct openssl libs and includes in pkgconfig file (d70af27)
295   o Use the same CFLAGS for openssl when building unit tests as with
296     libevent (1d9d511)
297
298DOCUMENTATION
299   o Note that make_base_notifiable should not be necessary (26ee5f9)
300   o Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs (371efeb)
301   o Add caveat to docs about bufferevent_free() with data in outbuf (6fab9ee)
302   o Make it more clear that NOLOCK means "I promise, no multithreading"
303    (9444524)
304   o Fix a comment in test-fdleak after 077c7e949. (3881d8f Ross Lagerwall)
305   o Make the Makefile.nmake warning slightly less dire (e7bf4c8)
306   o Fix typo : events instead of evets (05f1aca Azat Khuzhin)
307   o Additional comments about OPENSSL_DIR variable, prompted by Dave Hart
308     (6bde2ef Patrick Pelletier)
309
310EVHTTP:
311   o ignore LWS after field-content in headers (370a2c0 Artem Germanov)
312   o Clean up rtrim implementation (aa59d80)
313   o Remove trailing tabs in HTTP headers as well. (ac42519)
314   o Remove internal ws from multiline http headers correctly (c6ff381)
315   o Move evutil_rtrim_lws_ to evutil.c where it belongs (61b93af)
316   o add evhttp_request_get_response_code_line (4f4d0c9 Jay R. Wren)
317   o Use EVUTIL_SOCKET_ERROR() wrapper to save/restore errno in
318     evhttp_connection_fail_ (7afbd60)
319   o preserve errno in evhttp_connection_fail_ for inspection by the
320     callback (36d0ee5 Patrick Pelletier)
321
322BUGFIXES:
323   o Correctly handle running on a system where accept4 doesn't work. (9fbfe9b)
324   o Avoid double-free on error in evbuffer_add_file. Found by
325     coverity. (6a81b1f)
326   o Fix another possible uninitialized read in dns regression tests. Found
327     by coverity. (13525c5)
328   o Add checks for functions in test-ratelim.c; found by Coverity (aa501e1)
329   o Avoid memory leak in test_event_calloc unit test; found by coverity
330     (92817a1)
331   o Fix a shadowed variable in addfile_test_readcb; found by coverity
332     (225344c)
333   o Check return value when using LEV_OPT_DEFERRED_ACCEPT. Found by
334     coverity (6487f63)
335   o Prevent reference leak of bufferevent if getaddrinfo fails. (b757786
336     Joachim Bauch)
337   o Make event_base_getnpriorities work with old "implicit base" code
338     (c46cb9c)
339   o Simplify and correct evutil_open_closeonexec_ (0de587f)
340   o Fix event_dlist definition when sys/queue not included (81b6209
341     Derrick Pallas)
342
343
344
345Changes in version 2.1.1-alpha (4 Apr 2012)
346
347 Libevent 2.1.1-alpha includes a number of new features and performance
348 improvements.  The log below tries to organize them by rough area of
349 effect.  It omits some commits which were pure bugfixes on other commits
350 listed below.  For more detail, see the git changelogs.  For more
351 insight, see the "whatsnew-2.1.txt" document included in the Libevent
352 2.1.1-alpha distribution.
353
354 Performance: Core
355   o Replace several TAILQ users with LIST. LIST can be a little faster than
356     TAILQ for cases where we don't need queue-like behavior. (f9db33d,
357     6494772, d313c29, 974d004)
358   o Disabled code to optimize the case where we reinsert an existing
359     timeout (e47042f, 09cbc3d)
360   o Remove a needless base-notify when rescheduling the first timeout (77a96fd)
361   o Save a needless comparison when removing/adjusting timeouts (dd5189b)
362   o Possible optimization: split event_queue_insert/remove into
363     separate functions. needs testing (efc4dc5)
364   o Make event_count maintenance branchless at the expense of an
365     extra shift. Needs benchmarking (d1cee3b)
366   o In the 2.1 branch, let's try out lazy gettimeofday/clock_gettime
367     comparison (2a83ecc)
368   o Optimization in event_process_active(): ignore maxcb & endtime
369     for highest priority events. (a9866aa Alexander Drozdov)
370   o Bypass event_add when using event_base_once() for a 0-sec timeout (35c5c95)
371   o Remove the eventqueue list and the ev_next pointers. (604569b 066775e)
372
373 Performance: Evbuffers
374   o Roughly 20% speed increase when line-draining a buffer using
375     EVBUFFER_EOL_CRLF (5dde0f0 Mina Naguib)
376   o Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF (7b9d139)
377   o Fix a bug in the improved EOL_CRLF code (d927965)
378   o Remove a needless branch in evbuffer_drain() (d19a326)
379
380 Performance: Linux
381   o Infrastructure for using faster/fewer syscalls when creating
382     sockets (a1c042b)
383   o Minimize syscalls during socket creation in listener.c (7e9e289)
384   o Use a wrapper function to create the notification
385     pipe/socketpair/eventfd (ca76cd9)
386   o Use pipes for telling signals to main thread when possible (a35f396)
387   o Save syscalls when constructing listener sockets for evhttp (af6c9d8)
388   o Save some syscalls when creating evdns sockets (713e570)
389   o Save some syscalls when constructing a socket for a bufferevent (33fca62)
390   o Prefer epoll_create1 on Linuxen that have it (bac906c)
391
392 Performance: Epoll backend
393   o Use current event set rather than current pending change when
394     deciding whether to no-op a del (04ba27e Mike Smellie)
395   o Replace big chain of if/thens in epoll.c with a table lookup (8c83eb6)
396   o Clean up error handling in epoll_apply_one_change() a little (2d55a19)
397
398 Performance: Evport backend
399   o evport: use evmap_io to track fdinfo status. Should save time and
400     RAM. (4687ce4)
401   o evport: Remove a linear search over recent events when
402     reactivating them (0f77efe)
403   o evport: Use portev_user to remember fdinfo struct (276ec0e)
404   o evport: don't scan more events in ed_pending than needed (849a5cf)
405   o evport: Remove artificial low limit on max events per getn call (c04d927)
406   o Reenable main/many_events_slow_add for evport in 2.1 (e903db3)
407
408 Performance: Windows
409   o Use GetSystemTimeAsFileTime to implement gettimeofday on
410     win32. It's faster and more accurate than our old
411     approach. (b8b8aa5)
412
413 New functions and features: debugging
414   o Add event_enable_debug_logging() to control use of debug logs (e30a82f)
415
416 New functions and features: core
417   o Add event_config function to limit time/callbacks between calls
418     to dispatch (fd4de1e, 9fa56bd, a37a0c0, 3c63edd)
419   o New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no
420     events are pending (084e68f)
421   o Add event_base_get_npriorities() function. (ee3a4ee Alexander Drozdov)
422   o Make evbase_priority_init() and evbase_get_npriorities()
423     threadsafe (3c55b5e)
424   o New event_base_update_cache_time() to set cached_tv to current
425     time (212533e Abel Mathew)
426   o Add event_self_cbarg() to be used in conjunction with
427     event_new(). (ed36e6a Ross Lagerwall, fa931bb, 09a1906, 1338e6c,
428     33e43ef)
429   o Add a new libevent_global_shutdown() to free all globals before
430     exiting. (041ca00 Mark Ellzey, f98c158, 15296d0, 55e991b)
431   o Use getifaddrs to detect our interfaces if possible (7085a45)
432   o Add event_base_get_running_event() to get the event* whose cb we
433     are in (c5732fd, 13dad99)
434
435 New functions and features: building
436   o Implement --enable-gcc-hardening configure option (7550267 Sebastian Hahn)
437
438 New functions and features: evbuffers
439   o Add evbuffer_add_file_segment() so one fd can be used efficiently
440     in more than one evbuffer_add_file at a time (e72afae, c2d9884,
441     3f405d2, 0aad014)
442   o Fix windows file segment mappings (8254de7)
443   o Allow evbuffer_ptr_set to yield a point just after the end of the
444     buffer. (e6fe1da)
445   o Allow evbuffer_ptr to point to position 0 in an empty evbuffer
446     (7aeb2fd Nir Soffer)
447   o Set the special "not found" evbuffer_ptr consistently. (e3e97ae Nir Soffer)
448   o support adding buffers to other buffers non-destructively
449     (9d7368a Joachim Bauch)
450   o prevent nested multicast references, reworked locking (26041a8
451     Joachim Bauch)
452   o New EVBUFFER_EOL_NUL to read NUL-terminated strings from an
453     evbuffer (d7a8b36 Andrea Montefusco, 54142c9)
454   o Make evbuffer_file_segment_types adaptable (c6bbbf1)
455   o Added evbuffer_add_iovec and unit tests. (aaec5ac Mark Ellzey, 27b5398)
456   o Add evbuffer_copyout_from to copy data from the middle of a
457     buffer (27e2225)
458
459 New functions and features: bufferevents
460   o Allow users to set allow_dirty_shutdown (099d27d Catalin Patulea)
461   o Tweak allow_dirty_shutdown documentation (a44cd2b)
462   o Fix two issues in the allow_dirty_shutdown code. (f3b89de)
463   o Add a bufferevent_getcb() to find a bufferevent's current
464     callbacks (a650394)
465   o bufferevent: Add functions to set/get max_single_read/write
466     values. (998c813 Alexander Drozdov)
467   o bev_ssl: Be more specific in event callbacks. evhttp in particular gets
468     confused without at least one of BEV_EVENT_{READING|WRITING}. (f7eb69a
469     Catalin Patulea)
470
471 New functions and features: evconnlisteners
472   o Support TCP_DEFER_ACCEPT sockopts for listeners (5880e4a Mark Ellzey,
473     a270728)
474   o Add another caveat to the TCP_DEFER_ACCEPT documentation (a270728)
475   o Allow evconnlistener to be created in disabled state. (9593a33
476     Alexander Drozdov)
477   o The LEV_OPT_CLOSE_ON_EXEC flag now applies to accepted listener
478     sockets too (4970329)
479
480 Evhttp:
481   o Add new evhttp_{connection_}set_timeout_tv() functions to set
482     finger-grained http timeouts (6350e6c Constantine Verutin)
483   o Performance tweak to evhttp_parse_request_line. (aee1a97 Mark Ellzey)
484   o Add missing break to evhttp_parse_request_line (0fcc536)
485   o Add evhttp callback for bufferevent creation; this lets evhttp
486     support SSL. (8d3a850)
487   o Remove calls to deprecated bufferevent functions from evhttp.c (4d63758)
488   o evhttp: Add evhttp_foreach_bound_socket. (a2c48e3 Samy Al Bahra)
489
490 Build improvements:
491   o Add AC_USE_SYSTEM_EXTENSIONS to configure.in. Requires follow on
492     patches for correctness and robustness. (1fa7dbe Kevin Bowling)
493   o Filter '# define' statements from autoconf and generate
494     event-private.h (321b558 Kevin Bowling)
495   o Remove internal usage of _GNU_SOURCE (3b26541 Kevin Bowling)
496   o Eliminate a couple more manual internal _GNU_SOURCE defines (c51ef93
497     Kevin Bowling)
498   o Add AC_GNU_SOURCE to the fallback case. (ea8fa4c Kevin Bowling)
499   o Use a Configuration Header Template for evconfig-private.h (868f888
500     Kevin Bowling)
501   o Fix a comment warning and add evconfig-private.h to .gitignore
502     (f6d66bc Kevin Bowling)
503   o Include evconfig-private.h in internal files for great good. (0915ca0
504     Kevin Bowling)
505   o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
506     (ad03952 Kevin Bowling)
507   o Prefer the ./configure evconfig-private.h in MinGW, just in
508     case. (f964b72 Kevin Bowling)
509   o Shell hack for weird mkdir -p commands (fd7b5a8 Kevin Bowling)
510   o Add evconfig-private to remaining files (ded0a09 Kevin Bowling)
511   o Allow use of --enable-silent-rules for quieter compilation with
512     automake 1.11 (f1f8514 Dave Hart)
513   o Use "_WIN32", not WIN32: it's standard and we don't need to fake it
514     (9f560b)
515   o In configure, test for _WIN32 not WIN32. (85078b1 Peter Rosin)
516   o Do not define WIN32 in Makefile.nmake (d41f3ea Peter Rosin)
517   o Provide the autoconf m4 macros for the new OpenSSL via pkg-config
518     stuff. (674dc3d Harlan Stenn)
519   o Use pkg-config (if available) to handle OpenSSL. (1c63860 Harlan Stenn)
520   o We need AM_CPPFLAGS when compiling bufferevent_openssl.c (6d2613b
521     Harlan Stenn)
522   o Fix OSX build: $(OPENSSL_INCS) needs to be after
523     $(AM_CPPFLAGS). (46f1769 Zack Weinberg)
524   o Make gcc warnings on by default, and --enable-gcc-warnings only add
525     -Werror (d46517e Sebastian Hahn)
526   o Split up extra-long AC_CHECK_FUNCS/HEADERS lines in configure.in (88a30ad)
527   o Move libevent 1.x headers to include/, to put all public headers in
528     one place. (bbea8d6)
529   o Put #ifdef around some files to support alternate build
530     systems. (76d4c92 Ross Lagerwall)
531   o Also make win32select.c conditional for IDE users (bf2c5a7)
532
533 Debugging:
534   o Add a magic number to debug_locks to better catch lock-coding
535     errors. (b4a29c0 Dave Hart)
536   o munge the debug_lock signature before freeing it: it might help us
537     catch use-after-free (f28084d)
538   o Added --enable-event-debugging in configure (bc7b4e4, a9c2c9a Mark Ellzey)
539   o Debug addition for printing usec on TIMEOUT debugging. (ac43ce0 Mark Ellzey)
540   o Added usec debug in another area for debug (3baab0d Mark Ellzey)
541   o added timeout debug logs to include event ptr. (4b7d298 Mark Ellzey)
542   o more event dbg updates (6727543 Mark Ellzey)
543   o Clarify event_enable_debug_logging a little (6207826)
544   o Make --enable-verbose-debug option match its help text (10c3450)
545   o Add argument checks to some memory functions in `event.c'. (c8953d1
546     Mansour Moufid)
547
548 Testing:
549   o More abstraction in test.sh (cd74c4e)
550   o Add failing test for evbuffer_search_range. (8e26154 Nir Soffer)
551   o Tweaks to return types with end-of-buf ptrs (9ab8ab8)
552   o Add an (internal) usleep function for use by unit tests (f25d9d3)
553   o Synchronize with upstream tinytest (6c81be7)
554   o Make test-changelist faster (7622d26)
555   o Reduce the timeout in the main/fork test. (ab14f7c)
556   o New evhttp function to adjust initial retry timeout (350a3c4)
557   o Make regression tests run over 3x faster. (67a1763)
558   o Use test_timeval_diff_eq more consistently (b77b43f)
559   o Allow more slop in deferred_cb_skew test; freebsd needs it (b9f7e5f)
560   o When including an -internal.h header outside the main tree, do so
561     early (95e2455)
562   o Add a new test: test-fdleak which tests for fd leaks by creating many
563     sockets. (2ef9278 Ross Lagerwall, f7af194, 1c4288f, etc)
564   o Add a unit test for event_base_dump_events() (7afe48a, 8d08cce)
565   o Test more bufferevent_ratelim features (c24f91a)
566
567 Documentation:
568   o Improve evbuffer_ptr documentation (261ba63)
569   o added comments to describe refcounting of multicast chains (ba24f61
570     Joachim Bauch)
571   o Add doxygen for event_base_dump_events (cad5753)
572
573 OSX:
574   o Use "unlimited select" on OSX so that we can have more than
575     FD_SETSIZE fds (1fb5cc6)
576
577 KQueue:
578   o Use SIG_IGN instead of a do-nothing handler for signal events with
579     kqueue (148458e Zack Weinberg)
580
581 evprc:
582   o event_rpcgen.py now prints status information to stdout and errors to
583     stderr. (ffb0ba0 Ross Lagerwall)
584
585 Code improvement and refactoring:
586   o Make event_reinit() more robust and maintainable (272033e)
587   o Restore fast-path event_reinit() for slower backends (2c4b5de)
588   o Check changelist as part of checking representational integrity (39b3f38)
589   o Fix a compile warning in event_reinit (e4a56ed Sebastian Hahn)
590   o Refactor the functions that run over every event. (c89b4e6)
591   o Remove the last vestiges of _EVENT_USE_EVENTLIST (a3cec90)
592   o Make event-config.h depend on Makefile.am (2958a5c)
593
594 Build fixes:
595   o Don't do clang version detection when disabling some flags (083296b
596     Sebastian Hahn)
597
598 C standards conformance:
599   o Check for NULL return on win32 mm_calloc, and set ENOMEM. (af7ba69)
600   o Convert event-config.h macros to avoid reserved identifiers (68120d9)
601   o Generate event-config.h using the correct macros. (f82c57e)
602   o Convert include-guard macro convention to avoid reserved identifiers
603     (3f8c7cd)
604   o Make event_rpcgen.py output conform to identifier conventions (372bff1)
605   o Stop referring to an obsolete include guard in bench_http.h (5c0f7e0)
606   o Make the generated event-config.h use correct include guards (639383a)
607   o Fix all identifiers with names beginning with underscore. (cb9da0b)
608   o Make event_rpcgen.py output conform to identifier conventions, more
609     (bcefd24)
610   o Fix some problems introduced by automated identifier cleanup script
611     (c963534)
612   o Have all visible internal function names end with an underscore. (8ac3c4c)
613   o Apply the naming convention to our EVUTIL_IS* functions (c7848fa)
614   o Clean up lingering _identifiers. (946b584)
615   o Fix doxygen to use new macro conventions (da455e9)
616
617 Bugfixes:
618   o Do not use system EAI/AI values if we are not using the system
619     getaddrinfo. (7bcac07)
620
621 Sample Code:
622   o Fix up sample/event-test.c to use newer interfaces and make it
623     actually work. (19bab4f Ross Lagerwall)
624   o On Unix, remove event.fifo left by sample/event-test.c. (c0dacd2 Ross
625     Lagerwall)
626   o Rename event-test.c to event-read-fifo.c. (a5b370a Ross Lagerwall)
627   o event-read-fifo: Use EV_PERSIST appropriately (24dab0b)
628
629
630
631
632