xref: /libevent-2.1.12/ChangeLog (revision 13ea9f5e)
1*13ea9f5eSAzat KhuzhinChanges in version 2.1.7-rc (2 Novemer 2016)
2*13ea9f5eSAzat Khuzhin
3*13ea9f5eSAzat Khuzhin Libevent 2.1.7-rc contains openssl 1.1 support, build fixes, CI improvements
4*13ea9f5eSAzat Khuzhin and plus Vagrantfile for testing under multiple OS'es.
5*13ea9f5eSAzat Khuzhin
6*13ea9f5eSAzat Khuzhin
7*13ea9f5eSAzat Khuzhin Continious Integration:
8*13ea9f5eSAzat Khuzhin  o Use coveralls.io via travis (9ac000c Azat Khuzhin)
9*13ea9f5eSAzat Khuzhin  o travis-ci: use container-based infrastructure (7e12e96 Azat Khuzhin)
10*13ea9f5eSAzat Khuzhin  o travis-ci/osx: fix compiling/linking openssl libraries (9d2f8d4 Azat Khuzhin)
11*13ea9f5eSAzat Khuzhin  o travis-ci: use gcc-5 (fixes osx|gcc failures) (d7ceae5 Azat Khuzhin)
12*13ea9f5eSAzat Khuzhin  o Testing with vagrant for 6 OS and cmake+autoconf (9585338 Azat Khuzhin)
13*13ea9f5eSAzat Khuzhin  o travis-ci/osx: install lcov (e4e099b Azat Khuzhin)
14*13ea9f5eSAzat Khuzhin
15*13ea9f5eSAzat Khuzhin Build Improvements/Fixes:
16*13ea9f5eSAzat Khuzhin  o Fix cmake -DEVENT__COVERAGE=ON (40fbffc Azat Khuzhin)
17*13ea9f5eSAzat Khuzhin  o autogen.sh: learn about gmake (9376ac4 Azat Khuzhin)
18*13ea9f5eSAzat Khuzhin  o autogen.sh: remove all autoconf/automake caches, if any (69cce25 Azat Khuzhin)
19*13ea9f5eSAzat Khuzhin  o cmake: fix finding python2, and check that it is really 2 (3453c08 Azat Khuzhin)
20*13ea9f5eSAzat Khuzhin  o cmake: fix CheckFunctionExistsEx/CheckPrototypeDefinition (CMP0054) (43b69b2 Azat Khuzhin)
21*13ea9f5eSAzat Khuzhin  o cmake: cleanup (dc624ad Zonr Chang)
22*13ea9f5eSAzat Khuzhin  o cmake/win32: fix running regress, but fixing finding python2 interpreter (bcb990a Azat Khuzhin)
23*13ea9f5eSAzat Khuzhin  o cmake: use PYTHON_EXECUTABLE to find python2 (a4d044c Azat Khuzhin)
24*13ea9f5eSAzat Khuzhin  o Merge branch 'force-disable-clockgettime' (83c7cdf Azat Khuzhin)
25*13ea9f5eSAzat Khuzhin
26*13ea9f5eSAzat Khuzhin Code Improvements (core)
27*13ea9f5eSAzat Khuzhin  o use ev_uint16_t instead of unsigned short for port (e983712 Thomas Bernard)
28*13ea9f5eSAzat Khuzhin  o Merge branch 'contrib-guide-v2' (b9c5077 Azat Khuzhin)
29*13ea9f5eSAzat Khuzhin  o poll: Prevent libevent from spinning if POLLNVAL occurs (675974c Tim Hentenaar)
30*13ea9f5eSAzat Khuzhin
31*13ea9f5eSAzat Khuzhin Testing:
32*13ea9f5eSAzat Khuzhin  o test/regress: cover a polling of invalid fd (cb0df5c Tim Hentenaar)
33*13ea9f5eSAzat Khuzhin
34*13ea9f5eSAzat Khuzhin Code Improvements (bufferevent_openssl)
35*13ea9f5eSAzat Khuzhin  o Make it build using OpenSSL 1.1.0 (3e9e0a0 Kurt Roeckx)
36*13ea9f5eSAzat Khuzhin  o Don't call BIO_number_{read|written} on NULL BIOs. (6702da1 Adam Langley)
37*13ea9f5eSAzat Khuzhin  o Switch from a 512 to 2048-bit RSA key. (f9803a6 Adam Langley)
38*13ea9f5eSAzat Khuzhin
39*13ea9f5eSAzat Khuzhin Trivial fixes:
40*13ea9f5eSAzat Khuzhin  o Ignore temporary configure files (8fb08ae Azat Khuzhin)
41*13ea9f5eSAzat Khuzhin  o README.md: fix typo: ar -> are (2361616 Simone Basso)
42*13ea9f5eSAzat Khuzhin  o be: just a simple mistake, reinclude the <errno.h> (7521664 Seven)
43*13ea9f5eSAzat Khuzhin
44ea2cee72SAzat KhuzhinChanges in version 2.1.6-beta (4 July 2016)
45ea2cee72SAzat Khuzhin
4681d21932SAzat Khuzhin Libevent 2.1.6-beta contains mostly bug fixes (evbuffers, evthread, evdns,
4781d21932SAzat Khuzhin bufferevents, core, http, samples), improvements but mostly to fix some
4881d21932SAzat Khuzhin possible issues (EVHTTP_CON_LINGERING_CLOSE), a lot of new unit tests and new
4981d21932SAzat Khuzhin appveyor integration.
5081d21932SAzat Khuzhin
51ea2cee72SAzat Khuzhin Security Fixes (utils)
52ea2cee72SAzat Khuzhin   o evutil_parse_sockaddr_port(): fix buffer overflow (329acc1 Azat Khuzhin)
53ea2cee72SAzat Khuzhin
54ea2cee72SAzat Khuzhin Security Fixes (evdns)
55ea2cee72SAzat Khuzhin   o evdns: name_parse(): fix remote stack overread (96f64a0 Azat Khuzhin)
56ea2cee72SAzat Khuzhin   o evdns: fix searching empty hostnames (ec65c42 Azat Khuzhin)
57ea2cee72SAzat Khuzhin
58ea2cee72SAzat Khuzhin New APIs (evdns)
59ea2cee72SAzat Khuzhin   o New function to get address for nameserver. (537177d Nick Mathewson)
60ea2cee72SAzat Khuzhin
61ea2cee72SAzat Khuzhin New APIs (bufferevents)
62ea2cee72SAzat Khuzhin   o expose bufferevent_incref/decref (with fewer modifications) (1ed6718 Mark Ellzey)
63ea2cee72SAzat Khuzhin
64ea2cee72SAzat Khuzhin New APIs (internal)
65ea2cee72SAzat Khuzhin   o evdns: export cancel via callbacks in util (like async lib core/extra issues) (8cbe65d Azat Khuzhin)
66ea2cee72SAzat Khuzhin
67ea2cee72SAzat Khuzhin New APIs/Improvements (http)
68ea2cee72SAzat Khuzhin   o http: take EVHTTP_CON_LINGERING_CLOSE into account for "Expect: 100-Continue" (ac448a7 Azat Khuzhin)
69ea2cee72SAzat Khuzhin   o http: lingering close (like nginx have) for entity-too-large (9fde518 Azat Khuzhin)
70ea2cee72SAzat Khuzhin   o http: read server response even after server closed the connection (680742e Azat Khuzhin)
71ea2cee72SAzat Khuzhin   o http: export evhttp_connection_set_family() (714fc70 Azat Khuzhin)
72ea2cee72SAzat Khuzhin   o http: reuse connected address only with EVHTTP_CON_REUSE_CONNECTED_ADDR (a50f5f0 Azat Khuzhin)
73ea2cee72SAzat Khuzhin   o http: use IP address that we got before (if any) during retrying (54c887d Azat Khuzhin)
74ea2cee72SAzat Khuzhin
75ea2cee72SAzat Khuzhin Bugfixes (core)
76ea2cee72SAzat Khuzhin   o Fix getaddrinfo under solaris (for multiprotocol case) (40730ae Azat Khuzhin)
77ea2cee72SAzat Khuzhin   o Check for Mac OS X 10.4 kqueue bug properly (df6f99e Mark Mentovai)
78ea2cee72SAzat Khuzhin   o event_reinit: make signals works after fork() without evsig_add() (88640aa Nicholas Marriott)
79ea2cee72SAzat Khuzhin   o event_reinit: always re-init signal's socketpair (ad0c237 Nicholas Marriott)
80ea2cee72SAzat Khuzhin   o Free event queues even for recursive finalizers (7c8d015 Azat Khuzhin)
81ea2cee72SAzat Khuzhin   o Fix checking for make_base_notifiable() (f337296 Azat Khuzhin)
82ea2cee72SAzat Khuzhin   o Set correct socklen for PF_INET6 sockaddr len (3499ad9 Mark Ellzey)
83ea2cee72SAzat Khuzhin   o Fix garbage value in socketpair util function, stdint? (043ae74 Mark Ellzey)
84ea2cee72SAzat Khuzhin   o fix the return value of event_deferred_cb_schedule_ (38cef64 Greg Hazel)
85ea2cee72SAzat Khuzhin   o event_free_debug_globals_locks(): disable lock debugging (e5c87d1 Azat Khuzhin)
86ea2cee72SAzat Khuzhin   o event: call event_disable_debug_mode() in libevent_global_shutdown() (941faae Azat Khuzhin)
87ea2cee72SAzat Khuzhin   o ht-internal: don't reset hth_table_length explicitly in name_##HT_CLEAR (597c7b2 Azat Khuzhin)
88ea2cee72SAzat Khuzhin
89ea2cee72SAzat Khuzhin Bugfixes (evthread)
90ea2cee72SAzat Khuzhin   o evthread: fix evthread_setup_global_lock_() for debug-lock with a real-lock case (e4556fc Azat Khuzhin)
91ea2cee72SAzat Khuzhin   o evthread: evthreadimpl_disable_lock_debugging_() for libevent_global_shutdown() (ccc5593 Azat Khuzhin)
92ea2cee72SAzat Khuzhin
93ea2cee72SAzat Khuzhin Bugfixes (evdns)
94ea2cee72SAzat Khuzhin   o evdns: avoid double-free in evdns_base_free() for probing requests (4db15e0 Azat Khuzhin)
95ea2cee72SAzat Khuzhin   o evdns: evdns_base_free(): fix UAF of evdns_base with @fail_requests (00313c5 Azat Khuzhin)
96ea2cee72SAzat Khuzhin   o evdns: evdns_base_free(): free requests before namservers (14f84bb Azat Khuzhin)
97ea2cee72SAzat Khuzhin   o evdns: fix randomize-case by make case-insensitive as required (9c238de Azat Khuzhin)
98ea2cee72SAzat Khuzhin
99ea2cee72SAzat Khuzhin Bugfixes (bufferevents)
100ea2cee72SAzat Khuzhin   o be_sock: handle readv() returns ECONNREFUSED (freebsd 9.2) (3189eb0 Azat Khuzhin)
101ea2cee72SAzat Khuzhin   o be_filter: avoid data stuck under active watermarks (b627ad8 Eduardo Panisset)
102ea2cee72SAzat Khuzhin   o Fix bufferevent_pair to properly set BEV_EVENT_{READING,WRITING} on flush. (2851889 David Paschich)
103ea2cee72SAzat Khuzhin   o be_openssl: clear all pending errors before SSL_*() calls (38e0f4a Azat Khuzhin)
104ea2cee72SAzat Khuzhin   o be_sock: cancel in-progress dns requests (86dfd2c Azat Khuzhin)
105ea2cee72SAzat Khuzhin   o be_sock: unfreeze buffers on fd changing (255525d Azat Khuzhin)
106ea2cee72SAzat Khuzhin   o be_sock: bufferevent_socket_connect_hostname(): make it thread-safe (809bb39 Azat Khuzhin)
107ea2cee72SAzat Khuzhin   o be_openssl: don't call do_write() directly from outbuf_cb (da52933 Azat Khuzhin)
108ea2cee72SAzat Khuzhin   o be_openssl: use bufferevent_enable() instead of bufferevent_add_event_() (0c66d32 Azat Khuzhin)
109ea2cee72SAzat Khuzhin   o be_openssl: don't add events during bev creation (like be_sock) (f4b6284 Azat Khuzhin)
110ea2cee72SAzat Khuzhin   o Fix lock leak in be_pair_flush() if flush type is BEV_NORMAL (f45d39d Bill Vaughan)
111ea2cee72SAzat Khuzhin   o be_openssl: don't use *_auto() in do_handshake() we can't have fd == -1 there (877280d Azat Khuzhin)
112ea2cee72SAzat Khuzhin   o be_openssl: don't call set_open_callbacks() if fd == -1 (e8a2da9 Azat Khuzhin)
113ea2cee72SAzat Khuzhin   o be_openssl: get rid off hackish "fd_is_set", to fix some corner cases (40b0379 Azat Khuzhin)
114ea2cee72SAzat Khuzhin   o be: we don't need to use getpeername() we we have conn_address (2c271e2 Azat Khuzhin)
115ea2cee72SAzat Khuzhin   o Call underlying bev ctrl SET_FD on filtered bufferevents (c2aa7dc Mark Ellzey)
116ea2cee72SAzat Khuzhin   o be_pair: release shared lock with the latest of bufferevent_pair (92a359e Azat Khuzhin)
117ea2cee72SAzat Khuzhin
118ea2cee72SAzat Khuzhin Bugfixes (http)
119ea2cee72SAzat Khuzhin   o [Issue #313] set method to ASCII "NULL" if evhttp_method() returns NULL (17cc636 Mark Ellzey)
120ea2cee72SAzat Khuzhin   o evhttp_have_expect(): fix -Wlogical-not-parentheses (24b5214 Azat Khuzhin)
121ea2cee72SAzat Khuzhin   o http: set fd to -1 unconditioally, to avoid leaking of DNS requests (7a4b472 Azat Khuzhin)
122ea2cee72SAzat Khuzhin   o http: avoid leaking of fd in evhttp_connection_free() (f0e1341 Azat Khuzhin)
123ea2cee72SAzat Khuzhin   o http: get fd from be layer during connection reset (4a53c54 Azat Khuzhin)
124ea2cee72SAzat Khuzhin   o http: fix EVHTTP_CON_READ_ON_WRITE_ERROR when it doesn't supported by OS (2ff164a Azat Khuzhin)
125ea2cee72SAzat Khuzhin   o http: do not do function calls under EVUTIL_ASSERT() to fix NDEBUG builds (7c89999 Azat Khuzhin)
126ea2cee72SAzat Khuzhin   o http: fix leaking of response_code_line (8f18a62 Azat Khuzhin)
127ea2cee72SAzat Khuzhin   o http: fix "Expect: 100-continue" client side (0b46b39 Azat Khuzhin)
128ea2cee72SAzat Khuzhin   o http: fix conflicts EVHTTP_CON_AUTOFREE and EVHTTP_CON_REUSE_CONNECTED_ADDR (4dc0979 Azat Khuzhin)
129ea2cee72SAzat Khuzhin   o http: avoid epoll_ctl() on already closed fd (triggers by http/chunk_out) (ab3bc69 Azat Khuzhin)
130ea2cee72SAzat Khuzhin   o http: install timeout for read too during connect for ssl (040000d Azat Khuzhin)
131ea2cee72SAzat Khuzhin   o http: fix evhttp_request_own() by checking EVHTTP_USER_OWNED in more cases (b0d3964 Azat Khuzhin)
132ea2cee72SAzat Khuzhin   o http: fix detecting EOF without write (7ed02ac Azat Khuzhin)
133ea2cee72SAzat Khuzhin   o evhttp: Fix failure to send all output data for POST/PUT requests (24eea0d John Ohl)
134ea2cee72SAzat Khuzhin   o Fix evhttp_uriencode() regression. (c6b1ec1 Mark Ellzey)
135ea2cee72SAzat Khuzhin   o removed unused vars (e94250c Mark Ellzey)
136ea2cee72SAzat Khuzhin   o pointer overflow checks for evhttp_uriencode (72afe4c Zonr Chang)
137ea2cee72SAzat Khuzhin
138ea2cee72SAzat Khuzhin Bugfixes (evbuffers)
139ea2cee72SAzat Khuzhin   o buffer: fix overflow check in evbuffer_expand_singlechain() (a3f4ccd Azat Khuzhin)
140ea2cee72SAzat Khuzhin   o buffer: evbuffer_add_buffer(): clean empty chains from destination buffer (26fd932 Azat Khuzhin)
141ea2cee72SAzat Khuzhin   o Fix n_add_for_cb in evbuffer_prepend() in case of new buffer required (0abd039 Azat Khuzhin)
142ea2cee72SAzat Khuzhin   o be_filter: actually disable output_filter during processing output (c031215 Simon Perreault)
143ea2cee72SAzat Khuzhin   o evbuffer_add: Use last_with_datap if set, not last. (a8769ef Marcus Sundberg)
144ea2cee72SAzat Khuzhin   o EVBUFFER_PTR_SET -> EVBUFFER_PTR_ADD (8674e4f jer-gentoo)
145ea2cee72SAzat Khuzhin
146ea2cee72SAzat Khuzhin Bugfixes (evconnlistener)
147ea2cee72SAzat Khuzhin   o listener: unlock lev on error in listener_read_cb() (2a71b33 Azat Khuzhin)
148ea2cee72SAzat Khuzhin   o Fix potential fd leak in listener_read_cb() (a695a72 Mark Ellzey)
149ea2cee72SAzat Khuzhin
150ea2cee72SAzat Khuzhin Testing
151ea2cee72SAzat Khuzhin   o tests: use waitpid(..., WNOWAIT) to fix failing of main/fork under solaris (43eb56c Azat Khuzhin)
152ea2cee72SAzat Khuzhin   o test: replace sleeping with syncing pair in main/fork (16d220c Azat Khuzhin)
153ea2cee72SAzat Khuzhin   o test/http: do not run tests that based on backlog filling (freebsd) (500b6b7 Azat Khuzhin)
154ea2cee72SAzat Khuzhin   o test/bufferevent/iocp: fix test name for "bufferevent_connect_fail_eventcb" (4410e9d Azat Khuzhin)
155ea2cee72SAzat Khuzhin   o test/ssl: use send()/recv()/EVUTIL_ERR_RW_RETRIABLE()/EVUTIL_SOCKET_ERROR() to fix win32 (a9e8cd6 Azat Khuzhin)
156ea2cee72SAzat Khuzhin   o test/https_basic: increase timeout for complete write (fixes win32) (d5a2f2f Azat Khuzhin)
157ea2cee72SAzat Khuzhin   o test: fix building with --disable-thread-support under win32 (a487706 Azat Khuzhin)
158ea2cee72SAzat Khuzhin   o test/buffer: evbuffer_add_buffer() with empty chains (a272bc4 Azat Khuzhin)
159ea2cee72SAzat Khuzhin   o test/buffer: evbuffer_remove_buffer() with empty chains (prepend) (f0cfa14 Azat Khuzhin)
160ea2cee72SAzat Khuzhin   o test/buffer: evbuffer_remove_buffer() with empty chains (evbuffer_add_buffer()) (2880ce6 Azat Khuzhin)
161ea2cee72SAzat Khuzhin   o test/buffer: cover evbuffer_expand() for overflow (48dab7a Azat Khuzhin)
162ea2cee72SAzat Khuzhin   o test/be_filter: creating test case for data stuck with active watermarks (766194b Eduardo Panisset)
163ea2cee72SAzat Khuzhin   o test/http: avoid using conditionals with omitted operands (fixes VS2015) (2a4bf29 Azat Khuzhin)
164ea2cee72SAzat Khuzhin   o test/http: don't mix declarations and code (fixes -Wdeclaration-after-statement) (aabf1c2 Azat Khuzhin)
165ea2cee72SAzat Khuzhin   o test/buffer: fix leak in test_evbuffer_prepend() (c08d90b Azat Khuzhin)
166ea2cee72SAzat Khuzhin   o test/buffer: avoid errors with --no-fork (reinitialize static vars) (e7d1e39 Azat Khuzhin)
167ea2cee72SAzat Khuzhin   o test/buffer: cover n_add_for_cb when evbuffer_prepend() need to allocate buffer (e77ff41 Azat Khuzhin)
168ea2cee72SAzat Khuzhin   o test/tinytest_macros: add new one tt_nstr_op() (bd19a28 Azat Khuzhin)
169ea2cee72SAzat Khuzhin   o test/bufferevent: check that output_filter disabled during processing output (ae28812 Azat Khuzhin)
170ea2cee72SAzat Khuzhin   o test/listener: regression for missing unlock in listener_read_cb() (7d85651 Azat Khuzhin)
171ea2cee72SAzat Khuzhin   o test/regress: add tests for evbuffer_add() breakage on empty last chain (d5ee739 Marcus Sundberg)
172ea2cee72SAzat Khuzhin   o test/http: fix running some tests sequential (with --no-fork) (bddad71 Azat Khuzhin)
173ea2cee72SAzat Khuzhin   o test/http: localize evhttp server structure (cbc3209 Azat Khuzhin)
174ea2cee72SAzat Khuzhin   o test/dns: regression for empty hostname (d7348ba Azat Khuzhin)
175ea2cee72SAzat Khuzhin   o test/http: fix SERVER_TIMEOUT tests under win32 (d49a658 Azat Khuzhin)
176ea2cee72SAzat Khuzhin   o test/http: add a helper for creating timedout/failed request (376f107 Azat Khuzhin)
177ea2cee72SAzat Khuzhin   o test/http: adopt for C90 (mixed code and declarations) (d02a285 Azat Khuzhin)
178ea2cee72SAzat Khuzhin   o test/http: cover NS timed out during request cancellations separatelly (0c343af Azat Khuzhin)
179ea2cee72SAzat Khuzhin   o test/http: request cancellation with resolving/{conn,write}-timeouts in progress (334340d Azat Khuzhin)
180ea2cee72SAzat Khuzhin   o test/http: exit from the loop in the errorcb to wait cancellation (927ab33 Azat Khuzhin)
181ea2cee72SAzat Khuzhin   o regress_clean_dnsserver(): reset global port vars (351207f Azat Khuzhin)
182ea2cee72SAzat Khuzhin   o test/http: read_on_write_error: fix it for win32 (3b58169 Azat Khuzhin)
183ea2cee72SAzat Khuzhin   o test/http: separate coverage for EVHTTP_CON_READ_ON_WRITE_ERROR (5c2b4c1 Azat Khuzhin)
184ea2cee72SAzat Khuzhin   o test/http: cover "Expect: 100-continue" client-server interaction (31d8116 Azat Khuzhin)
185ea2cee72SAzat Khuzhin   o test/http: *lingering tests shouldn't have "Expect: 100-continue" (ed469ab Azat Khuzhin)
186ea2cee72SAzat Khuzhin   o test: use EVUTIL_SHUT_WR (04fc82f Azat Khuzhin)
187ea2cee72SAzat Khuzhin   o test/http: avoid huge stack allocations to fix win32 builds (3166765 Azat Khuzhin)
188ea2cee72SAzat Khuzhin   o test: http/lingering_close: cover EVHTTP_SERVER_LINGERING_CLOSE (e122ca1 Azat Khuzhin)
189ea2cee72SAzat Khuzhin   o test: http/non_lingering_close: cover ~EVHTTP_SERVER_LINGERING_CLOSE (f41e1b0 Azat Khuzhin)
190ea2cee72SAzat Khuzhin   o test: http/*: update expected HTTP codes for body exceeds `max_body_size` (addf2b9 Azat Khuzhin)
191ea2cee72SAzat Khuzhin   o test: http/data_length_constrains: set EVHTTP_CON_READ_ON_WRITE_ERROR (d38a723 Azat Khuzhin)
192ea2cee72SAzat Khuzhin   o test: increase buffer size for http/data_length_constraints to trigger EPIPE (0792e1e Azat Khuzhin)
193ea2cee72SAzat Khuzhin   o test/tinytest_demo: include <windows.h> for win32 to fix tdm-gcc (f062bbe Azat Khuzhin)
194ea2cee72SAzat Khuzhin   o test/regress: cover event_del() waiting mechanism (5b58b70 Azat Khuzhin)
195ea2cee72SAzat Khuzhin   o test/regress: cover existing signal callbacks and fork() + event_reinit() (ceddc60 Azat Khuzhin)
196ea2cee72SAzat Khuzhin   o test/regress: cover signals after fork() + event_reinit() (b075b81 Azat Khuzhin)
197ea2cee72SAzat Khuzhin   o test/regress: main/fork: rewrite assertions by just removing event in callback (088d8b3 Azat Khuzhin)
198ea2cee72SAzat Khuzhin   o test/dns: check exit code of evdns_getaddrinfo() (0b9d432 Azat Khuzhin)
199ea2cee72SAzat Khuzhin   o test/dns: cover evdns_getaddrinfo() and evdns_base_free() with @fail_requests (4ad3483 Azat Khuzhin)
200ea2cee72SAzat Khuzhin   o test/dns: cover @fail_requests for evdns_base_free() (d6c6fb4 Azat Khuzhin)
201ea2cee72SAzat Khuzhin   o test/dns: more graceful coverage of @fail_requests (123d372 Azat Khuzhin)
202ea2cee72SAzat Khuzhin   o test/ssl: cover busy-loop (i.e. {read,write}-blocked-on-{write,read} stuff) (da0ea7a Azat Khuzhin)
203ea2cee72SAzat Khuzhin   o test/http: write_during_read for https (23c77b6 Azat Khuzhin)
204ea2cee72SAzat Khuzhin   o test/http: connection_fail for https (7ea26f7 Azat Khuzhin)
205ea2cee72SAzat Khuzhin   o test/http: stream_out for https (ac04968 Azat Khuzhin)
206ea2cee72SAzat Khuzhin   o test/http: chunk_out for https (a71ffb9 Azat Khuzhin)
207ea2cee72SAzat Khuzhin   o test/regress: fix ssl-less builds (need to make this prettier) (3160716 Azat Khuzhin)
208ea2cee72SAzat Khuzhin   o test/http: allow dirty shutdown for ssl to fix https_incomplete (1ede326 Azat Khuzhin)
209ea2cee72SAzat Khuzhin   o test/http: https basic (59714b4 Azat Khuzhin)
210ea2cee72SAzat Khuzhin   o test/http: incomplete{,_timeout} for https (615490d Azat Khuzhin)
211ea2cee72SAzat Khuzhin   o test/http: add simplest test for http/https/https_dirty_shutdown (93b19dc Azat Khuzhin)
212ea2cee72SAzat Khuzhin   o test/http: https: retry coverage (7c2d24a Azat Khuzhin)
213ea2cee72SAzat Khuzhin   o test/http: https server support (plus some helpers) (a7088ad Azat Khuzhin)
214ea2cee72SAzat Khuzhin   o test/http: more sanity checks (a27c53c Azat Khuzhin)
215ea2cee72SAzat Khuzhin   o test/ssl: export getkey()/getcert()/get_ssl_ctx()/init_ssl() for https (0c4c387 Azat Khuzhin)
216ea2cee72SAzat Khuzhin   o test/regress_be: basic coverage bufferevent_flush() for pair/sock layers (ad52602 Azat Khuzhin)
217ea2cee72SAzat Khuzhin   o test/regress_be: socket_filter_inactive: check bufferevent after creation (f8081af Azat Khuzhin)
218ea2cee72SAzat Khuzhin   o test/regress_be: cover finalizers from inactive to active queue (337684b Azat Khuzhin)
219ea2cee72SAzat Khuzhin   o test/regress_buffer: fix clang compilation warnings (d8fd4c0 Azat Khuzhin)
220ea2cee72SAzat Khuzhin   o test/regress_http: fix compilation warnings (-Wmissing-field-initializers) (cd422e0 Azat Khuzhin)
221ea2cee72SAzat Khuzhin   o test/regress_dns: fix compilation warnings (-Wmissing-field-initializers/for) (f55db98 Azat Khuzhin)
222ea2cee72SAzat Khuzhin   o tests/regress_dns: cover that randomize-case works case-insensitive (1e8bfbc Azat Khuzhin)
223ea2cee72SAzat Khuzhin   o test: fix bufferevent/bufferevent_pair_release_lock in debug mode (3f749e9 Azat Khuzhin)
224ea2cee72SAzat Khuzhin   o test: fix bufferevent/bufferevent_pair_release_lock for freebsd (79f9ace Azat Khuzhin)
225ea2cee72SAzat Khuzhin   o test/regress_be: bufferevent_enable() shouldn't call eventcb by it's own (a0f308d Azat Khuzhin)
226ea2cee72SAzat Khuzhin   o test/regress_be: introduce fake_listener_create() (37dc9e0 Azat Khuzhin)
227ea2cee72SAzat Khuzhin   o test/regress_http: cover evhttp_request_own() (6f6fa0d Azat Khuzhin)
228ea2cee72SAzat Khuzhin   o test/regress_http: cover write during read (3d15aeb Azat Khuzhin)
229ea2cee72SAzat Khuzhin   o test/regress_http: verify that closecb will be called without multiple write (4be6c70 Azat Khuzhin)
230ea2cee72SAzat Khuzhin   o test/regress: fix bufferevent_pair_release_lock with EVENT_DEBUG_MODE (6ea6655 Azat Khuzhin)
231ea2cee72SAzat Khuzhin   o test/regress_ssl: check events fd/pending after timeout triggered (cdafdf0 Azat Khuzhin)
232ea2cee72SAzat Khuzhin   o test/regress_ssl: cover case when server didn't up (failed with timeout) (74845f1 Azat Khuzhin)
233ea2cee72SAzat Khuzhin   o test/regress_ssl: covert that we can't change fd with underlying (df507af Azat Khuzhin)
234ea2cee72SAzat Khuzhin   o test/regress_ssl: cover that events (read/write) at finish not pending (762edb4 Azat Khuzhin)
235ea2cee72SAzat Khuzhin   o test/regress_ssl: cover fd manipulations (b78a829 Azat Khuzhin)
236ea2cee72SAzat Khuzhin   o test/regress_ssl: convert open_ssl_bufevs() to mask (46bba73 Azat Khuzhin)
237ea2cee72SAzat Khuzhin   o test/regress_ssl: convert client/server to mask too (3455991 Azat Khuzhin)
238ea2cee72SAzat Khuzhin   o test/regress_ssl: cover "allow_dirty_shutdown" (0430327 Azat Khuzhin)
239ea2cee72SAzat Khuzhin   o test/regress_ssl: convert regress_bufferevent_openssl() to bitmask (342e116 Azat Khuzhin)
240ea2cee72SAzat Khuzhin   o tests/regress_ssl: drop duplicated assert (25e56fd Azat Khuzhin)
241ea2cee72SAzat Khuzhin   o test/regress_http: initialize "dns_base" to avoid reading trash (9f0bff3 Azat Khuzhin)
242ea2cee72SAzat Khuzhin   o test/http: cover retrying with saved conn_address by shutting down dns server (f4874d8 Azat Khuzhin)
243ea2cee72SAzat Khuzhin   o be_pair/regress: cover use of shared lock (lock/unlock/free) (a558fcd Azat Khuzhin)
244ea2cee72SAzat Khuzhin   o regress_dns: drop hack for event_debug_map_HT_GROW in leak tests (3540a19 Azat Khuzhin)
245ea2cee72SAzat Khuzhin
246ea2cee72SAzat Khuzhin Sample code
247ea2cee72SAzat Khuzhin   o Fix memory leak in signal-test.c (666db91 basavesh.as)
248ea2cee72SAzat Khuzhin   o sample/hello-world: exAmple, not eXMple (2d3cd35 kirillDanshin)
249ea2cee72SAzat Khuzhin   o dns-example: allow to set ns from args (df19a97 Azat Khuzhin)
250ea2cee72SAzat Khuzhin   o dns-example: convert to getopt() (32f8592 Azat Khuzhin)
251ea2cee72SAzat Khuzhin   o http-connect: make it win32 compilable (1bf7595 Azat Khuzhin)
252ea2cee72SAzat Khuzhin   o sample/https-client: allow to change path to ca-certificates (fdf713a Azat Khuzhin)
253ea2cee72SAzat Khuzhin   o sample/https-client: check for ERR_remove_thread_state() existence (c4e9d9b Azat Khuzhin)
254ea2cee72SAzat Khuzhin   o sample/https-client: replace ERR_remove_state() by ERR_remove_thread_state() (77ad68a Azat Khuzhin)
255ea2cee72SAzat Khuzhin   o sample/https-client: add -timeout option (4637aa8 Azat Khuzhin)
256ea2cee72SAzat Khuzhin   o sample/https-client: don't try to free uninitialized SSL (f3d7ff5 Azat Khuzhin)
257ea2cee72SAzat Khuzhin   o sample/https-client: graceful exit with freeing memory (to make valgrind happy) (24a1f25 Azat Khuzhin)
258ea2cee72SAzat Khuzhin   o https-client: correctly handle URLs with no path (like "https://host:port") (29a0482 Andrey Skriabin)
259ea2cee72SAzat Khuzhin   o sample/http-connect: don't use assert() to make it work with NDEBUG (6dc71e7 Azat Khuzhin)
260ea2cee72SAzat Khuzhin   o sample/http-connect: made it compatible with C90 (f976d43 Azat Khuzhin)
261ea2cee72SAzat Khuzhin   o sample: add HTTP CONNECT tunnelling example using libevent http layer (1d34498 Azat Khuzhin)
262ea2cee72SAzat Khuzhin   o Update dns-example. (620ff24 Mark Ellzey)
263ea2cee72SAzat Khuzhin
264ea2cee72SAzat Khuzhin Documentation
265ea2cee72SAzat Khuzhin   o Update README.md (b8ec70c Mark Ellzey)
266ea2cee72SAzat Khuzhin   o Update README.md (80faee9 Mark Ellzey)
267ea2cee72SAzat Khuzhin   o Update README.md (ad4a897 Mark Ellzey)
268ea2cee72SAzat Khuzhin   o Update README.md (a2b2e1e Mark Ellzey)
269ea2cee72SAzat Khuzhin   o Update README.md (0dfa5dc Mark Ellzey)
270ea2cee72SAzat Khuzhin
271ea2cee72SAzat Khuzhin Code Improvements (evthread)
272ea2cee72SAzat Khuzhin   o evthread: add evthread_get_{lock,condition}_callbacks() helpers (c0b34f6 Azat Khuzhin)
273ea2cee72SAzat Khuzhin
274ea2cee72SAzat Khuzhin Code Improvements (core)
275ea2cee72SAzat Khuzhin   o util: make @sa const for evutil_socket_connect_() (a8d32c2 Azat Khuzhin)
276ea2cee72SAzat Khuzhin
277ea2cee72SAzat Khuzhin Code Improvements (http)
278ea2cee72SAzat Khuzhin   o http: assert's that evbuffer_drain() success on connection reset (2185e63 Azat Khuzhin)
279ea2cee72SAzat Khuzhin   o http: introduce evhttp_request_free_() helper (22061ac Azat Khuzhin)
280ea2cee72SAzat Khuzhin   o http: introduce evhttp_is_request_connection_close() helper (6540da3 Azat Khuzhin)
281ea2cee72SAzat Khuzhin
282ea2cee72SAzat Khuzhin Code Improvements (bufferevents)
283ea2cee72SAzat Khuzhin   o be_sock: bufferevent_socket_set_conn_address(): assert instead of silent no-op (0ab88c2 Azat Khuzhin)
284ea2cee72SAzat Khuzhin   o be_sock: sanity check in bufferevent_socket_set_conn_address() (eedbeff Azat Khuzhin)
285ea2cee72SAzat Khuzhin   o be: replace sockaddr_storage with sockaddr_in6 for conn_address (3889612 Azat Khuzhin)
286ea2cee72SAzat Khuzhin   o be: replace conn_address by full struct instead of pointer (e5615aa Azat Khuzhin)
287ea2cee72SAzat Khuzhin   o bufferevent: move conn_address out from http into bufferevent (8bb3842 Azat Khuzhin)
288ea2cee72SAzat Khuzhin   o be: make @sa const for bufferevent_socket_connect() (dc33c78 Azat Khuzhin)
289ea2cee72SAzat Khuzhin
290ea2cee72SAzat Khuzhin Cleanups (core)
291ea2cee72SAzat Khuzhin   o Refactoring conditional directives that break parts of statements. (4b41eeb lzmths)
292ea2cee72SAzat Khuzhin   o epoll: introduce PRINT_CHANGES() macro to avoid copy-pasting (a1b142b Azat Khuzhin)
293ea2cee72SAzat Khuzhin   o tab (6e7a580 Greg Hazel)
294ea2cee72SAzat Khuzhin
295ea2cee72SAzat Khuzhin Cleanups (evbuffers)
296ea2cee72SAzat Khuzhin   o buffer_compat: fix comment -- we have EVBUFFER_EOL_ANY not EOL_STYLE_ANY (575ff67 Azat Khuzhin)
297ea2cee72SAzat Khuzhin
298ea2cee72SAzat Khuzhin Cleanups (bufferevents)
299ea2cee72SAzat Khuzhin   o be_sock: evutil_getaddrinfo_async_() always return 0 (dbff101 Azat Khuzhin)
300ea2cee72SAzat Khuzhin   o be_sock: drop be_sock_add() macro (useless and debug unfriendly) (fad5fe2 Azat Khuzhin)
301ea2cee72SAzat Khuzhin   o be: introduce bufferevent_generic_adj_existing_timeouts_() (3c1f58f Azat Khuzhin)
302ea2cee72SAzat Khuzhin   o be: add_event: use evutil_timerisset() (a96b73b Azat Khuzhin)
303ea2cee72SAzat Khuzhin   o be_openssl: introduce be_openssl_auto_fd() helper (2a8a711 Azat Khuzhin)
304ea2cee72SAzat Khuzhin   o be_openssl: introduce set_open_callbacks_auto() (510da71 Azat Khuzhin)
305ea2cee72SAzat Khuzhin
306ea2cee72SAzat Khuzhin Cleanups (http)
307ea2cee72SAzat Khuzhin   o http: make fallback for EVHTTP_CON_READ_ON_WRITE_ERROR more cleaner (d405492 Azat Khuzhin)
308ea2cee72SAzat Khuzhin   o http: coding style issue (365f181 Azat Khuzhin)
309ea2cee72SAzat Khuzhin
310ea2cee72SAzat Khuzhin Cleanups (evdns)
311ea2cee72SAzat Khuzhin   o evnds: inline TEST_NAME macro to make debuggin easier (0c615f4 Azat Khuzhin)
312ea2cee72SAzat Khuzhin
313ea2cee72SAzat Khuzhin Portability Fixes
314ea2cee72SAzat Khuzhin   o [#372] check for errno.h (3031617 Mark Ellzey)
315ea2cee72SAzat Khuzhin   o Fixed Unicode issue in error messages. (e8b7895 Mattes D)
316ea2cee72SAzat Khuzhin   o Assume that ke_udata is an integer type on CloudABI. (5602e45 Ed Schouten)
317ea2cee72SAzat Khuzhin   o Add missing include of <netinet/in.h>. (b2c68bc Ed Schouten)
318ea2cee72SAzat Khuzhin   o Include <sys/ioctl.h>, <sys/resource.h> and <sys/wait.h> optionally. (c1404b5 Ed Schouten)
319ea2cee72SAzat Khuzhin   o Test against SO_REUSEADDR (along with _WIN32). (ce1776c Ed Schouten)
320ea2cee72SAzat Khuzhin   o Always define missing TAILQ functions from sys/queue.h (2828bdb Christopher Wiley)
321ea2cee72SAzat Khuzhin   o Don't use BSD u_* types. (fd36647 Ed Schouten)
322ea2cee72SAzat Khuzhin   o Remove BSD-ism: TIMEVAL_TO_TIMESPEC(). (193c7de Ed Schouten)
323ea2cee72SAzat Khuzhin   o be: include all variations of headers for sockaddr_in6 struct (c212291 Azat Khuzhin)
324ea2cee72SAzat Khuzhin   o be: fix sockaddr_in6 type definition for win32 (c42bc6b Azat Khuzhin)
325ea2cee72SAzat Khuzhin
326ea2cee72SAzat Khuzhin Continious Integration:
327ea2cee72SAzat Khuzhin   o travis: split long lines, and make it cleaner (685a6a1 Azat Khuzhin)
328ea2cee72SAzat Khuzhin   o travis: fix autotools on osx by reinstalling libtool (088ea5e Azat Khuzhin)
329ea2cee72SAzat Khuzhin   o appveyor/autotools: link with openssl by passing LDFLAGS/CFLAGS (6fcfa25 Azat Khuzhin)
330ea2cee72SAzat Khuzhin   o appveyor: image already had openssl installed (4634b85 Azat Khuzhin)
331ea2cee72SAzat Khuzhin   o appveyor: check -DUNICODE -D_UNICODE according to ReleaseChecklist (cmake only) (e9acc44 Azat Khuzhin)
332ea2cee72SAzat Khuzhin   o appveyor: ignore failure of mingw-get (1810857 Azat Khuzhin)
333ea2cee72SAzat Khuzhin   o appveyor: drop shallow_clone, since we use tags for detecting version in cmake (ac90133 Azat Khuzhin)
334ea2cee72SAzat Khuzhin   o appveyor: support cmake & autotools using build matrix (like travis-ci has) (8f95015 Azat Khuzhin)
335ea2cee72SAzat Khuzhin   o travis-ci/osx: relink gcc/g++ instead of clang (481481d Azat Khuzhin)
336ea2cee72SAzat Khuzhin   o travis-ci: enable multi-os mode (osx, linux) (79917e4 Azat Khuzhin)
337ea2cee72SAzat Khuzhin   o travis-ci: increase matrix (--disable-foo) (59649f7 Azat Khuzhin)
338ea2cee72SAzat Khuzhin   o travis-ci: adjust alignment (c8be339 Azat Khuzhin)
339ea2cee72SAzat Khuzhin   o travis: add builds without debug mode into matrix (3e56da2 Azat Khuzhin)
340ea2cee72SAzat Khuzhin   o test: run regress with EVENT_DEBUG_MODE=1 and without (cf2cf2a Azat Khuzhin)
341ea2cee72SAzat Khuzhin   o Update travis config for status updates (37453ab Mark Ellzey)
342ea2cee72SAzat Khuzhin   o Use autotools for appveyor until cmake is fixed. (1cc2e29 Mark Ellzey)
343ea2cee72SAzat Khuzhin   o Fix the link for appveyor OpenSSL installer (WIN32) (107d565 Mark Ellzey)
344ea2cee72SAzat Khuzhin   o Forgot to install OpenSSL for appveyor (26164a5 Joakim Söderberg)
345ea2cee72SAzat Khuzhin   o Add support for appveyor.com windows CI (5f89c37 Joakim Söderberg)
346ea2cee72SAzat Khuzhin
347ea2cee72SAzat Khuzhin Build Improvements/Fixes:
348ea2cee72SAzat Khuzhin   o evutil: mark ai_find_protocol() static (prototype-less) (5a157c8 Azat Khuzhin)
349ea2cee72SAzat Khuzhin   o cmake/solaris: set CMAKE_REQUIRED_LIBRARIES to fix functions detections (dc95823 Azat Khuzhin)
350ea2cee72SAzat Khuzhin   o cmake/solaris: fix building (link with socket,nsl) (050bfc7 Azat Khuzhin)
351ea2cee72SAzat Khuzhin   o cmake: check for ZLIB_INCLUDE_DIR, since we can have only library without headers (c4dfb93 Azat Khuzhin)
352ea2cee72SAzat Khuzhin   o autotools/win32: fix searching ssl library (671a24f Azat Khuzhin)
353ea2cee72SAzat Khuzhin   o cmake/win32: do not compile regress_thread on -DEVENT__DISABLE_THREAD_SUPPORT=ON (de0c196 Azat Khuzhin)
354ea2cee72SAzat Khuzhin   o cmake/win32: do not compile evthread_win32 on -DEVENT__DISABLE_THREAD_SUPPORT=ON (ecb0ec8 Azat Khuzhin)
355ea2cee72SAzat Khuzhin   o cmake: fix -DEVENT__ENABLE_VERBOSE_DEBUG (typo on -DUSE_DEBUG) (e35f224 Azat Khuzhin)
356ea2cee72SAzat Khuzhin   o cmake: do not use stderr for notifications/version-info (38716c6 Azat Khuzhin)
357ea2cee72SAzat Khuzhin   o autoconf: fix --disable-thread-support build under win32 (bb09535 Azat Khuzhin)
358ea2cee72SAzat Khuzhin   o buffer: don't mix code and declarations (8892f4c Azat Khuzhin)
359ea2cee72SAzat Khuzhin   o Update gitignore file to ignore cscope gen'ed files (0aaa4fb Neeraj Badlani)
360ea2cee72SAzat Khuzhin   o For non GCC/clang on OSX the -Wno-deprecated-declarations may not be valid (b5ca365 Rainer Keller)
361ea2cee72SAzat Khuzhin   o automake: define serial-tests only if automake have this option (61179de Azat Khuzhin)
362ea2cee72SAzat Khuzhin   o test/automake: don't use paralell test harness (since automake 1.12) (44d755e Azat Khuzhin)
363ea2cee72SAzat Khuzhin   o Ignore all pkgconfig generated stuff (ce38993 Azat Khuzhin)
364ea2cee72SAzat Khuzhin   o libevent_core and libevent_extra also deserve a pkgconfig file (b8d7c62 Jan Heylen)
365ea2cee72SAzat Khuzhin   o Ignore verify_tests.bat (win32 version) (0f2de10 Azat Khuzhin)
366ea2cee72SAzat Khuzhin   o cmake: require 3.1 only for win32 to make it work under ubunty precise (87f7238 Azat Khuzhin)
367ea2cee72SAzat Khuzhin   o cmake: require at least 3.1 for target_sources() (c46ead5 Azat Khuzhin)
368ea2cee72SAzat Khuzhin   o cmake: fix adding of compiler flags, and now it will (36588e1 Azat Khuzhin)
369ea2cee72SAzat Khuzhin   o Replace -Wswitch-enum with -Wswitch, and add it into cmake rules too (f29f59e Azat Khuzhin)
370ea2cee72SAzat Khuzhin   o test/regress_ssl: Fix compile problems for win32 (73d0360 Trond Norbye)
371ea2cee72SAzat Khuzhin   o util: fix "%zu" format on TDM-gcc/MinGW-w64 (79b69d8 Azat Khuzhin)
372ea2cee72SAzat Khuzhin   o cmake: don't define EVENT__NEED_DLLIMPORT always (fixes VS2013 static build) (49bd790 Azat Khuzhin)
373ea2cee72SAzat Khuzhin   o Add missing return statement to del_wait_thread so libevent can build. (4f778ab Nick Mathewson)
374ea2cee72SAzat Khuzhin   o cmake: fix building dns-example under win32 (missing getopt) (a1609a8 Azat Khuzhin)
375ea2cee72SAzat Khuzhin   o visibility: align it to make it more readable (bb6b53d Azat Khuzhin)
376ea2cee72SAzat Khuzhin   o cmake: Fix detection of ssize_t/SSIZE_T (7707f6b Azat Khuzhin)
377ea2cee72SAzat Khuzhin   o Ignore more configure stuff (configure.lineno) (8d34302 Azat Khuzhin)
378ea2cee72SAzat Khuzhin   o Fixed issue with cmake version generation (d56efd9 Mark Ellzey)
379ea2cee72SAzat Khuzhin   o Cmake is now officially working. (7f9646d Mark Ellzey)
380ea2cee72SAzat Khuzhin   o More cmake updates, lot's of missing definitions (49a5381 Mark Ellzey)
381ea2cee72SAzat Khuzhin   o CMake syntax fixes fo .in files (6aad23d Mark Ellzey)
382ea2cee72SAzat Khuzhin   o Revert "The Windows socket type is defined as SOCKET." (a264da8 Mark Ellzey)
383ea2cee72SAzat Khuzhin   o CMAKE CMAKE CMAKE CLEANUPS (a9db46a Mark Ellzey)
384ea2cee72SAzat Khuzhin   o Lot's of cmake updates (8b228e2 Mark Ellzey)
385ea2cee72SAzat Khuzhin   o Provide a mechanism for building the library on Windows with different compiler flags. Add a batch file that builds it for the M[DT][d] options and performs a hunt and gather of the different output libraries. (ded8086 billsegall)
386ea2cee72SAzat Khuzhin   o The Windows socket type is defined as SOCKET. (c9e6c3d billsegall)
387ea2cee72SAzat Khuzhin   o autotools: fix getservbyname() detection (959a4c2 Azat Khuzhin)
388ea2cee72SAzat Khuzhin   o Add missing <string.h> for openssl_hostname_validation module (3316a21 Azat Khuzhin)
389ea2cee72SAzat Khuzhin   o make test/regress_ssl.c compile without warnings (9f02a44 Thomas Bernard)
390ea2cee72SAzat Khuzhin   o test/regress_be: drop debug __asm__(int3) to fix arm build (8240379 Azat Khuzhin)
391ea2cee72SAzat Khuzhin   o event_debug_created_threadable_ctx_: fix compilation without debug mode (a068f2e Azat Khuzhin)
392ea2cee72SAzat Khuzhin   o Add a prototype for event_disable_debug_mode() (bfcedee Sebastian Hahn)
393ea2cee72SAzat Khuzhin   o http: eliminate warning about "socklen" in evhttp_connection_connect_() (dfad1a4 Azat Khuzhin)
394ea2cee72SAzat Khuzhin   o Updated gitignore (1dbb55d Mark Ellzey)
395ea2cee72SAzat Khuzhin   o Update bench_httpclient.c (cb96931 Seungmo Koo)
396ea2cee72SAzat Khuzhin   o *fix: bench_httpclient to support win32 (4e9325e zeliard)
397ea2cee72SAzat Khuzhin   o Commented out a WIN32 threading / timing test for now (e84e269 Mark Ellzey)
398ea2cee72SAzat Khuzhin   o Fix mixed declarations and code (forbidden by ISO C90) (0c7f217 Thomas Bernard)
399ea2cee72SAzat Khuzhin   o Fix "function declaration isn’t a prototype" (746d2c5 Thomas Bernard)
400ea2cee72SAzat Khuzhin   o This fixes a bug introduced in 27bd9faf498b91923296cc91643e03ec4055c230 (19ba454 Joakim Söderberg)
401ea2cee72SAzat Khuzhin   o changed strtotimeval signature as per #211 (bdbc823 Xiao Bao Clark)
402ea2cee72SAzat Khuzhin   o Added cmake-generated files to ignore list. (6c12bfe Matyas Dolak)
403ea2cee72SAzat Khuzhin   o Ignore `make dist` generated files (8a2c6c7 Azat Khuzhin)
404ea2cee72SAzat Khuzhin
405ea2cee72SAzat Khuzhin  Debugging
406ea2cee72SAzat Khuzhin   o Debug mode option to error on evthread init AFTER other event calls. (dcfb19a Mark Ellzey)
407ea2cee72SAzat Khuzhin
408ea2cee72SAzat Khuzhin
409ea2cee72SAzat Khuzhin
410683f5568SNick MathewsonChanges in version 2.1.5-beta (5 January 2015)
411d9469d39SNick Mathewson
4120b49ae34SNick Mathewson Security Fixes (evbuffers)
4130b49ae34SNick Mathewson   o Avoid integer overflow bugs in evbuffer_add() and related functions.  See CVE-2014-6272 advisory for more information. (d49bc0e88b81a5812116074dc007f1db0ca1eecd)
414d9469d39SNick Mathewson
415d9469d39SNick Mathewson New APIs (evconnlistener)
416d9469d39SNick Mathewson   o Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT (b625361 Maciej Soltysiak)
417d9469d39SNick Mathewson
418d9469d39SNick Mathewson Bugfixes (core)
419d9469d39SNick Mathewson    o Fix use-after-free error in EV_CLOSURE_EVENT callback (3cc0eac John Ohl)
4200eb39194SNick Mathewson    o Fix race caused by event_active (3c7d6fc vjpai)
421d9469d39SNick Mathewson
422d9469d39SNick Mathewson Bugfixes (evbuffer)
423d9469d39SNick Mathewson   o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (ba59923)
424d9469d39SNick Mathewson   o Consistently check for failure from evbuffer_pullup() (60f8f72)
4250eb39194SNick Mathewson   o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)
426d9469d39SNick Mathewson
427d9469d39SNick Mathewson Bugfixes (windows, IOCP)
428d9469d39SNick Mathewson   o be async: avoid double close() (f133b86 Azat Khuzhin)
429d9469d39SNick Mathewson
430d9469d39SNick Mathewson Bugfixes (bufferevents)
431d9469d39SNick Mathewson   o Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE (2c82aa0 John Ohl)
432d9469d39SNick Mathewson   o make bufferevent_getwatermark api more robust (a21e510 ufo2243)
433d9469d39SNick Mathewson   o [Bugfix] fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
434d9469d39SNick Mathewson   o bufferevent_openssl: reset fd_is_set when setfd with -1 is called (3da84c2 Azat Khuzhin)
435d9469d39SNick Mathewson   o Fix compilation for older OpenSSL versions. (5c7282f Joakim Soderberg)
436d9469d39SNick Mathewson
437d9469d39SNick Mathewson New APIs (evhttp)
438d9469d39SNick Mathewson   o Add evhttp_connection_set_family() to set addrinfo->family for DNS requests (12c29b0 Azat Khuzhin)
439d9469d39SNick Mathewson   o Implement interface that provides the ability to have an outbound evhttp_connection free itself once all requests have completed (2b9ec4c,10fe4f John Ohl)
440d9469d39SNick Mathewson
4410eb39194SNick Mathewson New APIs (core)
4420eb39194SNick Mathewson   o Implement new/free for struct evutil_monotonic_timer and export monotonic time functions (f2645f8 Andrea Shepard)
4430eb39194SNick Mathewson
444d9469d39SNick Mathewson Bugfixes (evdns)
445d9469d39SNick Mathewson   o Load hosts file on Windows. (a0b247c Vilmos Nebehaj)
446d9469d39SNick Mathewson   o Don't truncate hosts file path on Windows. (d0dc861 Vilmos Nebehaj)
447d9469d39SNick Mathewson   o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)
448d9469d39SNick Mathewson   o evdns: avoid read-after-free in evdns_request_timeout_callback() (61262a0 Azat Khuzhin)
449d9469d39SNick Mathewson   o Correctly handle allocation failures in evdns_getaddrinfo (6a53d15)
450d9469d39SNick Mathewson   o evdns: fix EVDNS_BASE_DISABLE_WHEN_INACTIVE in case retransmit/retry (74d0eee Azat Khuzhin)
451d9469d39SNick Mathewson   o evdns: add retry/reissue tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE (3ca9d43 Azat Khuzhin)
452d9469d39SNick Mathewson   o evdns: fail ns after we are failing/retrasmitting request (97c750d Azat Khuzhin)
453d9469d39SNick Mathewson
454d9469d39SNick Mathewson Bugfixes (evhttp)
455d9469d39SNick Mathewson   o http: reset connection before installing retry timer (fix http retries handling) (bc79cc5 Azat Khuzhin)
456d9469d39SNick Mathewson
457d9469d39SNick Mathewson
458d9469d39SNick Mathewson Testing
459d9469d39SNick Mathewson   o regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests (2fdc5f2 Azat Khuzhin)
460d9469d39SNick Mathewson   o test: add family argument for http_connection_test_() (177b8a7 Azat Khuzhin)
461d9469d39SNick Mathewson   o test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPEC (42aefeb Azat Khuzhin)
462d9469d39SNick Mathewson   o test/http: add regress test for set family to AF_INET6 (3fbf3cc Azat Khuzhin)
463d9469d39SNick Mathewson   o Update to a more recent tinytest_macros. (8da5a18)
464d9469d39SNick Mathewson   o test/regress: add simplestsignal: to track reorder bugs separately (b897bef Azat Khuzhin)
465d9469d39SNick Mathewson   o test/evbuffer_peek: add regress in case we have first buffer greater (e2d139d Azat Khuzhin)
466d9469d39SNick Mathewson   o More evbuffer_peek() test cases (154006a)
467d9469d39SNick Mathewson   o use correct tt macro for pointer compare (08c88ea)
468d9469d39SNick Mathewson   o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
469d9469d39SNick Mathewson   o Fix a use-after-free in unit tests. CID 752027 (3739057)
470d9469d39SNick Mathewson   o Fix a dead-code warning in unit tests. CID 1193548 (c119f24)
471d9469d39SNick Mathewson   o Use evutil_weakrand() in unit tests. (a677b72, 364c110)
472d9469d39SNick Mathewson   o Use a more precise calculation for max in time-ratelim.c (ca5b5c7)
473d9469d39SNick Mathewson   o Make a buffer larger in the tests to avoid a scary evbuffer_copyout_from() (fb57b8b)
474d9469d39SNick Mathewson   o Fix several memory leaks in the unit tests. (89c1a3b)
475d9469d39SNick Mathewson   o Add test for evhttp_connection_free_on_completion (b0e9924 John Ohl)
4760eb39194SNick Mathewson   o Fix annoying heisenbug in test-time.c (cb73704)
477d9469d39SNick Mathewson
478d9469d39SNick Mathewson Sample code
479d9469d39SNick Mathewson   o Make http-server.c output into good html5 (6d72bdc)
480d9469d39SNick Mathewson   o Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
481d9469d39SNick Mathewson   o https-client: add -retries argument, for connection retries (d9da844 Azat Khuzhin)
482d9469d39SNick Mathewson
483d9469d39SNick Mathewson Bugfixes (build)
484d9469d39SNick Mathewson   o Add missing headerfile for cmake (15d90cc Trond Norbye)
485d9469d39SNick Mathewson   o ignore one more test binary (b6593aa Michael Richardson)
486d9469d39SNick Mathewson   o ignore config.cache/test-driver files (c83f333 Mike Frysinger)
487d9469d39SNick Mathewson   o add a --disable-samples configure flag (0c492b3 Mike Frysinger)
488d9469d39SNick Mathewson   o Add a few files created by "make verify" to .gitignore. (1a8295a Pierre Phaneuf)
489d9469d39SNick Mathewson   o updates in cmake build (27bd9fa Sergey Nikulov)
490d9469d39SNick Mathewson   o Fix cmake error when the Module path has more than one entry. (befbd13 Acer Yang)
4910eb39194SNick Mathewson   o Fix CMake shared library build (e69d910 Nobuaki Sukegawa)
4920eb39194SNick Mathewson   o Fix warnings when compiling with clang 3.5 (f5b4765 John Ohl)
4930eb39194SNick Mathewson   o Fix mixed declarations and code (forbidden by ISO C90) (8afbdbc Thomas Bernard)
494d9469d39SNick Mathewson
495d9469d39SNick Mathewson Bugfixes (miscellaneous)
496d9469d39SNick Mathewson   o tree.h: drop duplicated content of tree.h (6193187 Azat Khuzhin)
497d9469d39SNick Mathewson   o evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE (610410b,ad0493e,fea86a6,d83b337,5ca9e97 Azat Khuzhin)
498d9469d39SNick Mathewson   o [Bugfix] fix grammer error (3a4d249 ufo2243)
499d9469d39SNick Mathewson   o Change return type of evutil_load_windows_system_library_ to HMODULE (f691389)
500d9469d39SNick Mathewson   o Fix a c90 warning (76643dd)
501d9469d39SNick Mathewson   o Fix a typo in a doxygen comment. Reported by 亦得. (be1aeff)
502d9469d39SNick Mathewson   o remove trailing comma from enum (b361b8a Jean-Philippe Ouellet)
503d9469d39SNick Mathewson
504d9469d39SNick Mathewson Bugfixes (FreeBSD)
505d9469d39SNick Mathewson   o Handle ENOTCAPABLE from FreeBSD - this is returned if an event in the changelist is for an FD that has been closed. (6fd7394 Adrian Chadd)
506d9469d39SNick Mathewson
507d9469d39SNick Mathewson
508de268febSNick Mathewson
50950093afcSNick MathewsonChanges in version 2.1.4-alpha (21 Mar 2014)
510c11e7d91SNick Mathewson
511e6c6f120SNick Mathewson Libevent 2.1.4-alpha adds a number of new miscellaneous APIs to make
512e6c6f120SNick Mathewson Libevent more useful, including support for early close detection with
513e6c6f120SNick Mathewson epoll via EPOLLRDHUP, triggering bufferevent callbacks, adding more
514e6c6f120SNick Mathewson evhttp callbacks, and more. There are also numerous bugfixes, including
515e6c6f120SNick Mathewson a number for finalize-related issues from 2.1.3-alpha; and an
516e6c6f120SNick Mathewson alternative (non-primary!) cmake-based build mechanism.
517c11e7d91SNick Mathewson
518e6c6f120SNick Mathewson New APIs (core)
519e6c6f120SNick Mathewson   o Added event_base_get_num_events() (0fa107d Mobai Zhang)
520e6c6f120SNick Mathewson   o New event_base_active_by_fd API (865a142 Greg Hazel, 5c9da9a, 87fa2b0)
521e6c6f120SNick Mathewson   o Add event_base_active_by_signal by analogy (4865943)
522e6c6f120SNick Mathewson   o Add access to max event count stats (5173bef, efbd3dc, 26230a2
523e6c6f120SNick Mathewson     Andrew Sweeney)
524e6c6f120SNick Mathewson   o Implemented EV_CLOSED event for epoll backend
525e6c6f120SNick Mathewson     (EPOLLRDHUP). (b1b69ac Diego Giagio, 53d2793, 43ffcf6, dfe1e52
526e6c6f120SNick Mathewson     Marcin Juszkiewicz, ff26633 Joakim Soderberg, 3908a5e)
527e6c6f120SNick Mathewson
528e6c6f120SNick Mathewson New APIs (evutil_secure_rng)
529e6c6f120SNick Mathewson   o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
530e6c6f120SNick Mathewson
531e6c6f120SNick Mathewson New APIs (bufferevents)
532e6c6f120SNick Mathewson   o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
533e6c6f120SNick Mathewson   o Pass and return const for bufferevent_get_token_bucket_cfg (1c77fbb
534e6c6f120SNick Mathewson     Mark Ellzey)
535e6c6f120SNick Mathewson   o Add watermark introspection (4ce242b Ondřej Kuzník)
536e6c6f120SNick Mathewson   o Add an option to trigger bufferevent I/O callbacks (61ee18b Ondřej Kuzník)
537e6c6f120SNick Mathewson   o Add an option to trigger bufferevent event callbacks (a7384c7
538e6c6f120SNick Mathewson     Ondřej Kuzník)
539e6c6f120SNick Mathewson   o Clarifications in response to merge req. comments (bd41947 Ondřej
540e6c6f120SNick Mathewson     Kuzník)
541e6c6f120SNick Mathewson   o Minor optimizations on bufferevent_trigger options (a3172a4)
542e6c6f120SNick Mathewson
543e6c6f120SNick Mathewson New APIs (evhttp)
544e6c6f120SNick Mathewson   o Add evhttp_connection_get_server(). (a7f82a3 Maxime Henrion)
545e6c6f120SNick Mathewson   o add a http default content type option (5a5acd9 Nicolas Martyanoff)
546e6c6f120SNick Mathewson   o http: implement new evhttp_connection_get_addr() api. (0c7f040 Azat
547e6c6f120SNick Mathewson     Khuzhin)
548e6c6f120SNick Mathewson   o Add a variant of evhttp_send_reply_chunk() with a callback on
549e6c6f120SNick Mathewson     evhttp_write_buffer() (8d8decf Julien BLACHE)
550e6c6f120SNick Mathewson   o Allow registering callback for parsing HTTP headers (b0bd7fe Balint Reczey)
551e6c6f120SNick Mathewson   o Provide on request complete callback facility (b083ca0 Andrew Sweeney)
552e6c6f120SNick Mathewson   o evhttp_request_set_on_complete_cb to be more specific about what
553e6c6f120SNick Mathewson     the function actually does and usage (da86dda Andrew Sweeney)
554e6c6f120SNick Mathewson   o Update unit test to make sure that the callback happens after the
555e6c6f120SNick Mathewson     output data is written (b85f398 Andrew Sweeney)
556e6c6f120SNick Mathewson
557e6c6f120SNick Mathewson Features (evdns)
558e6c6f120SNick Mathewson   o bug fix for issues #293 evdns_base_load_hosts doesn't remove
559e6c6f120SNick Mathewson     outdated addresses (954d2f9, f03d353, 45eba6f Kuldeep Gupta)
560e6c6f120SNick Mathewson
561e6c6f120SNick Mathewson Features: (cmake build support)
562e6c6f120SNick Mathewson   o Initial CMake commit. (e415196 Joakim Soderberg)
563e6c6f120SNick Mathewson   o Add all tests and benchmarks to CMake project. (e9fc014 Joakim Soderberg)
564e6c6f120SNick Mathewson   o More work on adding tests to CMake project (99c1dc3 Joakim Soderberg)
565e6c6f120SNick Mathewson   o Generate a dummy evconfig-private.h so things build
566e6c6f120SNick Mathewson     properly. (ce14def Joakim Soderberg)
567e6c6f120SNick Mathewson   o Link libm on unix platforms. (58fcd42 Joakim Soderberg)
568e6c6f120SNick Mathewson   o Added some GCC specific options. (19222e5 Joakim Soderberg)
569e6c6f120SNick Mathewson   o Use evutil_closesocket instead. (dbf2b51 Joakim Soderberg)
570e6c6f120SNick Mathewson   o Add copyright and licensing files for CMake modules. (c259d53
571e6c6f120SNick Mathewson     Joakim Soderberg)
572e6c6f120SNick Mathewson   o Only include WIN32 getopt where it is used. (9bbce0b Joakim Soderberg)
573e6c6f120SNick Mathewson   o Fix bench_cascade program on Windows. (78da644 Joakim Soderberg)
574e6c6f120SNick Mathewson   o Don't segfault on no found event backend. (8f2af50 Joakim Soderberg)
575e6c6f120SNick Mathewson   o Only test the event backends available on the system. (7ea4159
576e6c6f120SNick Mathewson     Joakim Soderberg)
577e6c6f120SNick Mathewson   o Added a "make verify" target. (e053c4f Joakim Soderberg)
578e6c6f120SNick Mathewson   o Fix the make "verify" target on Windows. (67e5d74 Joakim Soderberg)
579e6c6f120SNick Mathewson   o Get rid of deprecation warnings for OpenSSL on OSX 10.7+ (69c3516
580e6c6f120SNick Mathewson     Joakim Söderberg)
581e6c6f120SNick Mathewson   o Fix kqueue support. (a831f2f Joakim Söderberg)
582e6c6f120SNick Mathewson   o Added a test for testing if kqueue works with pipes. (2799b35
583e6c6f120SNick Mathewson     Joakim Söderberg)
584e6c6f120SNick Mathewson   o Change the BSD license from 4 to 3-clause. (86df3ed Joakim Soderberg)
585e6c6f120SNick Mathewson   o Minimum required python version is 2.4. (968e97b Joakim Soderberg)
586e6c6f120SNick Mathewson   o Get rid of unknown pragma warnings. (0ef1d04 Joakim Soderberg)
587e6c6f120SNick Mathewson   o Add a "make verify_coverage" target generation coverage
588e6c6f120SNick Mathewson     info. (f2483f8 Joakim Soderberg)
589e6c6f120SNick Mathewson   o Fix the "make verify" target on NetBSD (4ac086a Joakim Soderberg)
590e6c6f120SNick Mathewson   o Only look for ZLib when it is used (if tests are
591e6c6f120SNick Mathewson     included). (f780593 Joakim Soderberg)
592e6c6f120SNick Mathewson   o Added EVENT__ENABLE_GCC_WARNINGS, turns all warnings into
593e6c6f120SNick Mathewson     errors. (dd413bd Joakim Soderberg)
594e6c6f120SNick Mathewson   o Add CMake config and install targets. (f3446ed Joakim Soderberg)
595e6c6f120SNick Mathewson   o Fix typo (4b754df Joakim Soderberg)
596e6c6f120SNick Mathewson   o Some work on making it possible to simply do add_subdirectory() on
597e6c6f120SNick Mathewson     the project. (49ab363 Joakim Soderberg)
598e6c6f120SNick Mathewson   o Set USE_DEBUG=1 on EVENT__ENABLE_VERBOSE_DEBUG (fd42e70 Joakim Soderberg)
599e6c6f120SNick Mathewson   o Fix so that old nmake project still builds. (24d6466 Joakim
600e6c6f120SNick Mathewson     Soderberg)
601e6c6f120SNick Mathewson   o Rename README to README.md and use markdown to format. (d2bc39a
602e6c6f120SNick Mathewson     Joakim Soderberg)
603e6c6f120SNick Mathewson   o Update README with CMake build instructions. (604b8cc Joakim Soderberg)
604e6c6f120SNick Mathewson   o Clean up the README some. (8d4cb35 JoakimSoderberg)
605e6c6f120SNick Mathewson   o Forgotten headers for old nmake project compatability. (8697b99
606e6c6f120SNick Mathewson     Joakim Soderberg)
607e6c6f120SNick Mathewson   o Change all uses of WIN32 to _WIN32 (4e14395 Joakim Söderberg)
608e6c6f120SNick Mathewson   o Fix include bug. (2024467 Joakim Söderberg)
609e6c6f120SNick Mathewson   o Check if we're on OSX before disabling deprecation in le-proxy
610e6c6f120SNick Mathewson     (8b40a5b Joakim Söderberg)
611e6c6f120SNick Mathewson   o Fix broken autotools build. (ae1bd82 Joakim Söderberg)
612e6c6f120SNick Mathewson   o Disclaimerize cmake a little in the README (d03b5bf)
613e6c6f120SNick Mathewson   o Fix CMake compile when OpenSSL is disabled. (e423d42 Joakim
614e6c6f120SNick Mathewson     Söderberg)
615e6c6f120SNick Mathewson   o CMake: Get rid of python not found warning when regress tests
616e6c6f120SNick Mathewson     turned off. (d38d798 Joakim Söderberg)
617e6c6f120SNick Mathewson   o Fix https-client compilation on Windows. (d7be788 Joakim Soderberg)
618e6c6f120SNick Mathewson   o Guard against EVENT_NOWIN32 being set during testing. (f1715b4
619e6c6f120SNick Mathewson     Joakim Soderberg)
620e6c6f120SNick Mathewson   o Check for OSX when checking for clang. (e212c54 Joakim Soderberg)
621e6c6f120SNick Mathewson   o Added a Travis-CI configuration file. (8c0f0a9 Joakim Soderberg)
622e6c6f120SNick Mathewson   o Added -Qunused-arguments for clang on macosx (ed99d92 Trond Norbye)
623e6c6f120SNick Mathewson   o Rename event_extras to event_extra (a0dd5df Trond Norbye)
624e6c6f120SNick Mathewson   o Add option to build shared library (4545fa9 Trond Norbye)
625e6c6f120SNick Mathewson   o Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)
626e6c6f120SNick Mathewson   o Add cmake-related files to .gitignore (e061321 Trond Norbye)
627e6c6f120SNick Mathewson   o Export event_extra not event_extras. (2b41bcf Joakim Söderberg)
628e6c6f120SNick Mathewson
629e6c6f120SNick Mathewson Bugfixes (core)
630e6c6f120SNick Mathewson   o If evsel->del() fails, don't leave the evmap in an inconsistent
631e6c6f120SNick Mathewson     state (9b5a527 Maxime Henrion)
632e6c6f120SNick Mathewson   o Move event_debug_note_teardown_ before mm_free. (69b5c64)
633e6c6f120SNick Mathewson   o Check CLOCK_MONOTONIC_* at runtime if needed. (911abf3)
634e6c6f120SNick Mathewson   o Fix reinit of fds with EV_WRITE but not EV_READ. (ebfd8a8 maksqwe)
635e6c6f120SNick Mathewson   o Tweaked callbacks to prevent race condition
636e6c6f120SNick Mathewson     (https://github.com/libevent/libevent/issues/104) (40830f1, 2ea15ed
637e6c6f120SNick Mathewson     John Ohl)
638e6c6f120SNick Mathewson   o Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE
639e6c6f120SNick Mathewson     case (9805972)
640e6c6f120SNick Mathewson
641e6c6f120SNick Mathewson Bugfixes (evhttp)
642e6c6f120SNick Mathewson   o Fix a double close() bug in evhttp when the underlying bufferevent uses
643e6c6f120SNick Mathewson     BEV_OPT_CLOSE_ON_FREE. (31db8a0 Maxime Henrion)
644e6c6f120SNick Mathewson   o Fix an unlikely but possible error case for http connections (f22049e)
645e6c6f120SNick Mathewson   o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)
646e6c6f120SNick Mathewson
647e6c6f120SNick Mathewson Bugfixes on 2.0 (Windows)
648e6c6f120SNick Mathewson   o Use windows vsnprintf fixup logic on all windows environments (e826f19)
649e6c6f120SNick Mathewson   o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
650e6c6f120SNick Mathewson    (b8f5980 Frank Denis)
651e6c6f120SNick Mathewson
652e6c6f120SNick Mathewson Bugfixes (evutil_secure_rng)
653e6c6f120SNick Mathewson   o When we seed from /proc/sys/kernel/random/uuid, count it as success
654e6c6f120SNick Mathewson     (e35b540)
655e6c6f120SNick Mathewson   o We should return after arc4random_buf() (1ea1f26 Makoto Kato)
656e6c6f120SNick Mathewson   o Avoid other RNG initialization FS reads when urandom file is
657e6c6f120SNick Mathewson     specified (9695e9c)
658e6c6f120SNick Mathewson   o Really remove RNG seeds from the stack (f5ced88)
659e6c6f120SNick Mathewson   o Fix another arc4random_buf-related warning (e64a2b0)
660e6c6f120SNick Mathewson
661e6c6f120SNick Mathewson Bugfixes (bufferevents)
662e6c6f120SNick Mathewson   o Initialize async bufferevent timeout CBs unconditionally (af9b2a7)
663c11e7d91SNick Mathewson
664c11e7d91SNick Mathewson Bugfixes (evdns)
665c11e7d91SNick Mathewson   o Checking request nameserver for NULL, before using it. (5c710c0
666c11e7d91SNick Mathewson     Belobrov Andrey)
667e6c6f120SNick Mathewson   o Fix SEGFAULT after evdns_base_resume if no nameservers
668e6c6f120SNick Mathewson     installed. (14971a8 Azat Khuzhin)
669c11e7d91SNick Mathewson   o Actually use the log facility for reporting evdns problems. (e1766a1)
670e6c6f120SNick Mathewson   o Fix SEGFAULT after evdns_base_resume if no nameservers
671e6c6f120SNick Mathewson     installed. (f8d7df8 Azat Khuzhin)
672e6c6f120SNick Mathewson   o fix for ServFail from RIPE Atlas release (62f596b Antony Antony)
673c11e7d91SNick Mathewson
674e6c6f120SNick Mathewson Bugfixes (compilation)
675c11e7d91SNick Mathewson   o Fix test compilation with nmake: add the gdi.lib dependency (5ba8ab7)
676c11e7d91SNick Mathewson   o Whoops. It is gdi.lib, not gdi32.lib. (github issue #61) (8ab612e)
677e6c6f120SNick Mathewson   o Don't use return since return type is void and build error occurs
678e6c6f120SNick Mathewson     using clang (838161d Makoto Kato)
679c11e7d91SNick Mathewson   o Use void casts to suppress some "unchecked return value" warns (7080d55)
680e6c6f120SNick Mathewson   o rpcgen: Generate regress.gen.[c,h] in build rather than src dir
681e6c6f120SNick Mathewson     (243386c Ross Lagerwall)
682e6c6f120SNick Mathewson   o Fix a compiler warning when checking for arc4random_buf linker
683e6c6f120SNick Mathewson     breakage. (5cb3865)
684e6c6f120SNick Mathewson   o Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES
685e6c6f120SNick Mathewson    (239d834)
686e6c6f120SNick Mathewson
687e6c6f120SNick Mathewson   o Fix a c90 warning (c207682)
688e6c6f120SNick Mathewson   o Fix consts in WIN32-Code/getopt*.[ch] (57abb35)
689c11e7d91SNick Mathewson
690c11e7d91SNick Mathewson Bugfixes (locks, synchronization)
691c11e7d91SNick Mathewson   o Missed lock acquire/release in event_base_cancel_single_callback_()
692c11e7d91SNick Mathewson     (d3d999a Azat Khuzhin)
693c11e7d91SNick Mathewson   o Fix locking in bufferevent_get_options_(). (dbc9cd4 Maxime Henrion)
694c11e7d91SNick Mathewson
695c11e7d91SNick Mathewson Bugfixes (leaks)
696c11e7d91SNick Mathewson   o Avoid leaking segment mappings when offset is not a page multiple (d409514)
697c11e7d91SNick Mathewson
698c11e7d91SNick Mathewson Testing
699c11e7d91SNick Mathewson   o Add tests for evdns_base_resume(). (1cd9ff5 Azat Khuzhin)
700c11e7d91SNick Mathewson   o Fix dns/leak_resume_send_err test. (7e876df Azat Khuzhin)
701e6c6f120SNick Mathewson   o Add checks for evhttp_connection_get_server() in unit
702e6c6f120SNick Mathewson     tests. (fbc323b Maxime Henrion)
703c11e7d91SNick Mathewson   o Fix a (failure-only) null dereference in the unit tests (1104d0b)
704c11e7d91SNick Mathewson   o Fix a logic error in test_evbuffer_freeze (7765884)
705c11e7d91SNick Mathewson   o Add missing check to test_evbuffer_file_segment_add_cleanup_cb (eba4506)
706c11e7d91SNick Mathewson   o Fix some crash-on-fail cases in DNS regression tests (87cd6f0)
707c11e7d91SNick Mathewson   o DNS tests: add a missing check (f314900)
708c11e7d91SNick Mathewson   o Finalize tests: add a missing check (82b6956)
709c11e7d91SNick Mathewson   o test_evutil_rtrim: add another missing check. (e193c95)
710e6c6f120SNick Mathewson   o regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
711e6c6f120SNick Mathewson     (611e28b Azat Khuzhin)
712e6c6f120SNick Mathewson   o regress_http: add tests for evhttp_connection_get_addr() (4dd500c
713e6c6f120SNick Mathewson     Azat Khuzhin)
714e6c6f120SNick Mathewson   o Update to the latest version of tinytest (7a80476)
715e6c6f120SNick Mathewson   o Heap-allocate zlib data structure in regress_zlib tests (4947c18)
716c11e7d91SNick Mathewson
717c11e7d91SNick Mathewson Performance tweaks (core)
718c11e7d91SNick Mathewson   o Avoid redundant syscall to make a nonblocking socket nonblocking
719c11e7d91SNick Mathewson     (42c03da Maxime Henrion)
720c11e7d91SNick Mathewson   o Avoid redundant syscall if making a socket cloexec twice (1f29b18)
721c11e7d91SNick Mathewson   o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
722c11e7d91SNick Mathewson
723c11e7d91SNick Mathewson Documentation
724c11e7d91SNick Mathewson   o Document that arc4random is not a great cryptographic PRNG. (6e49696)
725c11e7d91SNick Mathewson   o Small doxygen tweaks (6e67b51)
726c11e7d91SNick Mathewson   o Try another doxygen tweak (ccf432b)
727e6c6f120SNick Mathewson   o Clarify event_base_loop exit conditions (031a803)
728e6c6f120SNick Mathewson   o Fix a typo (be7bf2c Ondřej Kuzník)
729e6c6f120SNick Mathewson   o Document deferred eventcb behaviour (13a9a02 Ondřej Kuzník)
730e6c6f120SNick Mathewson   o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
731e6c6f120SNick Mathewson   o Fix duplicate paragraph in evbuffer_ptr documentation (58408ee)
732c11e7d91SNick Mathewson
733e6c6f120SNick Mathewson Code Improvements (coverity)
734e6c6f120SNick Mathewson   o Fix a pile of coverity warnings in the unit tests (867f401)
735e6c6f120SNick Mathewson   o Fix coverity warnings in benchmark tools. (ff7f739)
736e6c6f120SNick Mathewson   o Whoops; fix compilation in bench.c (544cf88)
737e6c6f120SNick Mathewson   o Remove spurious checks in evrpc.c error cases (coverity) (991b362)
738e6c6f120SNick Mathewson   o Fix a couple of compilation warnings in regress_http.c (860767e)
739e6c6f120SNick Mathewson   o Fix even more coverity warnings. (d240328)
740e6c6f120SNick Mathewson   o Stop checking for inet_aton; we don't use it. (f665d5c)
741e6c6f120SNick Mathewson   o Add an include to evrpc-internal to fix openbsd compilation warning
742e6c6f120SNick Mathewson     (5e161c6)
743c11e7d91SNick Mathewson
744c11e7d91SNick Mathewson Cleanups
745c11e7d91SNick Mathewson   o Remove an unreachable return statement in minheap-internal.h (e639a9e)
746e6c6f120SNick Mathewson   o Refactor evmap_{io,signal}_active_() to tolerate bad inputs (974c60e)
747e6c6f120SNick Mathewson   o Fix needless bufferevent includes in evdns.c (254c04e)
748e6c6f120SNick Mathewson   o Fix a couple of "#ifdef WIN32" instances (88ecda3)
749e6c6f120SNick Mathewson   o Remove unneeded declaration in bufferevent-internal.h (4c8ebcd)
750c11e7d91SNick Mathewson
751c11e7d91SNick Mathewson Sample code
752e6c6f120SNick Mathewson   o le-proxy: Fail more gracefully if opening listener fails (44b2491)
753e6c6f120SNick Mathewson   o http-server: drop uri_root from base_url in http-server. (6171e1c Azat Khuzhin)
754e6c6f120SNick Mathewson   o https-client: POST supported, args supported (c5887f7 Alexey Ozeritsky)
755e6c6f120SNick Mathewson   o https-client: code cleanup (29af65e Alexey Ozeritsky)
756e6c6f120SNick Mathewson   o https-client: Small tweaks to https-client.c (90786eb)
757e6c6f120SNick Mathewson   o https-client: Set hostname for SNI extension (by f69m) (d1976f8)
758e6c6f120SNick Mathewson   o https-client: add a cast to https-client.c (462e6b6)
759f8d80a28SNick Mathewson
760f8d80a28SNick Mathewson
761f8d80a28SNick Mathewson
76257cbfcd6SNick MathewsonChanges in version 2.1.3-alpha (1 May 2013)
763e6cdd17bSNick Mathewson
764e6cdd17bSNick Mathewson Libevent 2.1.3-alpha fixes various bugs, adds new unit tests, and cleans
765e6cdd17bSNick Mathewson up the code in a couple of places. It has a new callback in evhttp for
766e6cdd17bSNick Mathewson reporting errors during a request, a new feature for allowing evdns to
767e6cdd17bSNick Mathewson not keep the event_base looping when there are no requests inflight, and
768e6cdd17bSNick Mathewson example code for writing an https client.
769e6cdd17bSNick Mathewson
770e6cdd17bSNick Mathewson Libevent 2.1.3-alpha also has an important new (experimental) event
771e6cdd17bSNick Mathewson finalization feature to allow safe event teardown in multithreaded
772e6cdd17bSNick Mathewson programs. This ought to fix the longstanding bug with deadlocks in
773e6cdd17bSNick Mathewson multithreaded use of SSL-based bufferevents that some people have been
774e6cdd17bSNick Mathewson experiencing since Libevent 2.0.
775e6cdd17bSNick Mathewson
776e6cdd17bSNick Mathewson
777e6cdd17bSNick Mathewson Core (event finalization)
778e6cdd17bSNick Mathewson   o Implement event_finalize() and related functions to avoid certain
779e6cdd17bSNick Mathewson     deadlocks (8eedeab)
780e6cdd17bSNick Mathewson   o Use finalization feature so bufferevents can avoid deadlocks (02fbf68)
781e6cdd17bSNick Mathewson   o Always run pending finalizers when event_base_free() is called (e9ebef8)
782e6cdd17bSNick Mathewson   o Remove bufferevent_del_generic_timeout_cbs as now unused (4ea4c6a)
783e6cdd17bSNick Mathewson   o More documentation for finalization feature (a800b91)
784e6cdd17bSNick Mathewson   o Make the event_finalize* functions return an error code (5d11f4f)
785e6cdd17bSNick Mathewson   o Mark the finalize stuff as experiemental in case it needs to
786e6cdd17bSNick Mathewson     change (23e2e29)
787e6cdd17bSNick Mathewson
788e6cdd17bSNick Mathewson Evdns
789e6cdd17bSNick Mathewson   o evdns: New flag to make evdns not prevent the event loop from
790e6cdd17bSNick Mathewson     exiting (6b7fa62 Azat Khuzhin)
791e6cdd17bSNick Mathewson
792e6cdd17bSNick Mathewson Bugfixes (Core)
793e6cdd17bSNick Mathewson   o Make event_remove_timer behave correctly with persistent timers (5623e80)
794e6cdd17bSNick Mathewson   o Unit test for event_remove_timer with EV_PERSIST. (96150dd)
795e6cdd17bSNick Mathewson   o Double-check next timeout when adding events (9443868 Nate Rosenblum)
796e6cdd17bSNick Mathewson   o event_base_update_cache_time should be a no-op if the loop isn't
797e6cdd17bSNick Mathewson     running (5e6fa2a)
798e6cdd17bSNick Mathewson
799e6cdd17bSNick Mathewson Bugfixes (evhttp, crash fix, from 2.0)
800e6cdd17bSNick Mathewson   o fix #73 and fix http_connection_fail_test to catch it (b618204 Greg Hazel)
801e6cdd17bSNick Mathewson
802e6cdd17bSNick Mathewson Bugfixes (compilation and portability, from 2.0)
803e6cdd17bSNick Mathewson   o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
804e6cdd17bSNick Mathewson   o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
805e6cdd17bSNick Mathewson   o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
806e6cdd17bSNick Mathewson     (74d4c44 Kevin Bowling)
807e6cdd17bSNick Mathewson   o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake
808e6cdd17bSNick Mathewson     1.13 compat (817ea36)
809e6cdd17bSNick Mathewson   o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
810e6cdd17bSNick Mathewson   o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
811e6cdd17bSNick Mathewson
812e6cdd17bSNick Mathewson Bugfixes (resource leaks/lock errors on error, from 2.0)
813e6cdd17bSNick Mathewson   o Avoid leaking fds on evconnlistener with no callback set (69db261)
814e6cdd17bSNick Mathewson   o Avoid double-close on getsockname error in evutil_ersatz_socketpair
815e6cdd17bSNick Mathewson     (0a822a6)
816e6cdd17bSNick Mathewson   o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
817e6cdd17bSNick Mathewson
818e6cdd17bSNick Mathewson Documentation Fixes (from 2.0)
819e6cdd17bSNick Mathewson   o Fix a mistake in evbuffer_remove() arguments in example http server code
820e6cdd17bSNick Mathewson     (c322c20 Gyepi Sam)
821e6cdd17bSNick Mathewson   o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
822e6cdd17bSNick Mathewson
823e6cdd17bSNick Mathewson Documentation Fixes
824e6cdd17bSNick Mathewson   o minor documentation typos (809586a Patrick Pelletier)
825e6cdd17bSNick Mathewson   o Fix cut-and-paste err in whatsnew-2.1 (49905ac)
826e6cdd17bSNick Mathewson   o Fix comment to refer to sample/include.am correctly (9e8cdf3 Sebastian
827e6cdd17bSNick Mathewson     Hahn)
828e6cdd17bSNick Mathewson   o Fix typo : Dispatching instead of Dispaching (0c2bacc Volker Lendecke)
829e6cdd17bSNick Mathewson   o fix some hinky indentation in evhttp_make_request (80e220e Patrick
830e6cdd17bSNick Mathewson     Pelletier)
831e6cdd17bSNick Mathewson   o "buffer" spelling (a452811 Patrick Pelletier)
832e6cdd17bSNick Mathewson   o Specify return behavior in header for evbuffer_pullup() in corner case
833e6cdd17bSNick Mathewson     (cf8d1cd Dan Petro)
834e6cdd17bSNick Mathewson   o Clarify an important point about event_base_foreach_event() (920a5e6)
835e6cdd17bSNick Mathewson
836e6cdd17bSNick Mathewson Compilation Fixes/Tool Support
837e6cdd17bSNick Mathewson   o avoid valgrind false positive by zeroing epoll_event (1258614 Patrick
838e6cdd17bSNick Mathewson     Pelletier)
839e6cdd17bSNick Mathewson   o Fix harmless clang enum warning (b452a43 Sebastian Hahn)
840e6cdd17bSNick Mathewson   o remove all exes on "make clean", not just regress.exe (974bfa0 Patrick
841e6cdd17bSNick Mathewson     Pelletier)
842e6cdd17bSNick Mathewson   o Make --disable-libevent-regress work again (787fd74)
843e6cdd17bSNick Mathewson   o Do not build strlcpy.c when it will have no code. (4914620)
844e6cdd17bSNick Mathewson
845e6cdd17bSNick Mathewson Portability Fixes
846e6cdd17bSNick Mathewson   o When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it (bf7a0ff)
847e6cdd17bSNick Mathewson   o Preliminary changes for Minix3. (0dda56a Nicholas Heath)
848e6cdd17bSNick Mathewson   o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13
849e6cdd17bSNick Mathewson     compat (bf278b)
850e6cdd17bSNick Mathewson   o Avoid using $(top_srcdir) in TESTS. (2863c83)
851e6cdd17bSNick Mathewson   o build test/test-script.sh on systems with a less-featureful $< (f935e21)
852e6cdd17bSNick Mathewson   o Implement EVUTIL_ERR_IS_EAGAIN on windows. (42aaf4d)
853e6cdd17bSNick Mathewson
854e6cdd17bSNick Mathewson Evhttp changes:
855e6cdd17bSNick Mathewson   o Fix ipv6 support for http. When URL contain domain, not IP
856e6cdd17bSNick Mathewson     address. (71e709c Azat Khuzhin)
857e6cdd17bSNick Mathewson   o uri decode: fix for warning "use of uninitialised value" (64b6ece Azat
858e6cdd17bSNick Mathewson     Khuzhin)
859e6cdd17bSNick Mathewson   o uri decode: changed the test for the existence of the next character
860e6cdd17bSNick Mathewson     (e1903e3 Azat Khuzhin)
861e6cdd17bSNick Mathewson   o Move prototype of evhttp_decode_uri_internal() to http-internal.h
862e6cdd17bSNick Mathewson     (de8101a Azat Khuzhin)
863e6cdd17bSNick Mathewson   o Test: decoding just part of string with evhttp_decode_uri_internal()
864e6cdd17bSNick Mathewson     (1367653 Azat Khuzhin)
865e6cdd17bSNick Mathewson   o Add new error_cb for actual reporting of HTTP request errors. (7b07719
866e6cdd17bSNick Mathewson     Azat Khuzhin)
867e6cdd17bSNick Mathewson   o Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test() (862c217
868e6cdd17bSNick Mathewson     Azat Khuzhin)
869e6cdd17bSNick Mathewson   o Drop extra header http_struct.h from regress_http.c (54cc800 Azat Khuzhin)
870e6cdd17bSNick Mathewson
871e6cdd17bSNick Mathewson Testing
872e6cdd17bSNick Mathewson   o Add regress test ipv6_for_domain. (9ec88bd Azat Khuzhin)
873e6cdd17bSNick Mathewson   o Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug
874e6cdd17bSNick Mathewson     mode (2fad0f3)
875e6cdd17bSNick Mathewson   o Add a test with an active_later event at event_base_free time. (1c3147f)
876e6cdd17bSNick Mathewson   o Make all tests pass under EVENT_DEBUG_MODE=1 (b1b054f)
877e6cdd17bSNick Mathewson   o Add some verbose notes to bufferevent unit tests (9d893c9)
878e6cdd17bSNick Mathewson   o New test for active_later->active transition on event_active (a153874)
879e6cdd17bSNick Mathewson   o New tests for event_base_foreach_event() (0b096ef)
880e6cdd17bSNick Mathewson   o Unit tests for event_base_gettimeofday_cached() and
881e6cdd17bSNick Mathewson     event_base_update_cache_time() (30ea291)
882e6cdd17bSNick Mathewson   o A test for event_get_assignment() (f09629e)
883e6cdd17bSNick Mathewson   o More unit tests for initializing common timeouts. (d596739)
884e6cdd17bSNick Mathewson   o Fix a bug in the new main/event_foreach test (702c9aa)
885e6cdd17bSNick Mathewson
886e6cdd17bSNick Mathewson Windows:
887e6cdd17bSNick Mathewson   o use FormatMessage for winsock errors (0c6ec5d, 2078e9b, 4ccdd53, c9ad3af
888e6cdd17bSNick Mathewson     Patrick Pelletier)
889e6cdd17bSNick Mathewson   o a program to print out the error strings for winsock errors (7296512
890e6cdd17bSNick Mathewson     Patrick Pelletier)
891e6cdd17bSNick Mathewson   o Fix a warning introduced in 0c6ec5d8 (eeb700c)
892e6cdd17bSNick Mathewson   o Fix another warning introduced in 0c6ec5d8 (ed26561)
893e6cdd17bSNick Mathewson
894e6cdd17bSNick Mathewson Examples (http)
895e6cdd17bSNick Mathewson   o Add sample/https-client.c, an example of stacking evhttp as a client on
896e6cdd17bSNick Mathewson     top of bufferevent_ssl. (be46c99 Catalin Patulea)
897e6cdd17bSNick Mathewson   o use ${OPENSSL_LIBS} instead of -lssl -lcrypto (bf31fa5 Patrick Pelletier)
898e6cdd17bSNick Mathewson   o https-client was putting newlines at 256-byte boundaries (42d7441 Patrick
899e6cdd17bSNick Mathewson     Pelletier)
900e6cdd17bSNick Mathewson   o better handling of OpenSSL errors (5754d96 Patrick Pelletier)
901e6cdd17bSNick Mathewson   o use Debian's default root certificate location (aacd674 Patrick Pelletier)
902e6cdd17bSNick Mathewson   o use iSECPartners code to validate hostname in certificate (64d9f16
903e6cdd17bSNick Mathewson     Patrick Pelletier)
904e6cdd17bSNick Mathewson   o avoid sign mismatch warning in openssl_hostname_validation.c (6021cb5
905e6cdd17bSNick Mathewson     Patrick Pelletier)
906e6cdd17bSNick Mathewson   o pull in wildcard matching code from cURL (4db9da6 Patrick Pelletier)
907e6cdd17bSNick Mathewson   o Another tweak to https-client.c (95acdaa)
908e6cdd17bSNick Mathewson   o Remove http_struct.h usage in sample/https-client.c (8a90a85)
909e6cdd17bSNick Mathewson
91040b95ae2SNick Mathewson
91140b95ae2SNick Mathewson
912143cb613SNick MathewsonChanges in version 2.1.2-alpha (18 Nov 2012)
913143cb613SNick Mathewson
914143cb613SNick Mathewson Libevent 2.1.2-alpha includes more portable for monotonic timers,
915143cb613SNick Mathewson refactors much of Libevent's internal and external infrastructure,
916143cb613SNick Mathewson closes some longstanding gaps in the interface, makde other
917143cb613SNick Mathewson improvements.  Ths log below tries to organize features by rough area of
918143cb613SNick Mathewson effect.  It omits a few commits which were pure bugfixes on other commits
919143cb613SNick Mathewson listed below.  For more detail, see the git changelogs.  For more
920143cb613SNick Mathewson insight, see the "whatsnew-2.1.txt" document included in the Libevent
921143cb613SNick Mathewson 2.1.2-alpha distribution.
922143cb613SNick Mathewson
923143cb613SNick Mathewson Libevent 2.1.2-alpha also includes all changes made in 2.0.19-stable
924143cb613SNick Mathewson through 2.0.21-stable inclusive.
925143cb613SNick Mathewson
926143cb613SNick Mathewson Performance (core):
927143cb613SNick Mathewson   o Replace pipe-based notification with EVFILT_USER where possible. This
928143cb613SNick Mathewson     should make multithreaded programs on OSX and *BSD alert the main thread a
929143cb613SNick Mathewson     little faster. (53a07fe)
930143cb613SNick Mathewson   o Make th_base_lock nonrecursive. (9cd5acb)
931143cb613SNick Mathewson
932143cb613SNick Mathewson New/Changed API Functions:
933143cb613SNick Mathewson   o New event_get_priority() function to return an event's priority (f90e255)
934143cb613SNick Mathewson   o Add a bufferevent_get_priority() function (bd39554)
935143cb613SNick Mathewson   o Add an event_base_loopcontinue() to tell Libevent to rescan for more
936143cb613SNick Mathewson     events right away (7d6aa5e)
937143cb613SNick Mathewson   o Add a new callback to get called on evbuffer_file_segment free
938143cb613SNick Mathewson     (e9f8feb yangacer, 64051b9)
939143cb613SNick Mathewson   o Expose event_base_foreach_event() as a public API. (84fd6d7 Roman
940143cb613SNick Mathewson      Puls, 232055e, ffe1643)
941143cb613SNick Mathewson   o Add an event_remove_timer() to remove timer on an event without
942143cb613SNick Mathewson     deleting it (e3b2e08)
943143cb613SNick Mathewson   o Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible
944143cb613SNick Mathewson     semantics (9dee36b)
945143cb613SNick Mathewson   o Rename event_enable_lock_debuging() to ..._debugging(). (The old name
946143cb613SNick Mathewson     should still work.) (07e132e)
947143cb613SNick Mathewson   o Add missing implementation for event_enable_debug_logging (3b3e21d)
948143cb613SNick Mathewson
949143cb613SNick Mathewson PORTABLE MONOTONIC TIMERS:
950143cb613SNick Mathewson
951143cb613SNick Mathewson   Libevent 2.1.2 includes internal support for monotonic timers on
952143cb613SNick Mathewson   (nearly) all supported platforms, including Windows, and OSX.  Libevent
953143cb613SNick Mathewson   applications should now be more resilient to jumps forwards or backwards
954143cb613SNick Mathewson   in the system clock.  Also, on Linux systems with epoll, we now
955143cb613SNick Mathewson   optionally support microsecond-level timeouts (whereas epoll only
956143cb613SNick Mathewson   supports millisecond-precision timeouts).
957143cb613SNick Mathewson
958143cb613SNick Mathewson   o Use mach_absolute_time() for monotonic clock support on OSX. (b8fd6f9)
959143cb613SNick Mathewson   o Do not track use_monotonic field when is no monotonic clock (cb653a0)
960143cb613SNick Mathewson   o EVENT_BASE_FLAG_PRECISE_TIMER indicates we want fine timer precision
961143cb613SNick Mathewson     (ddd69d3)
962143cb613SNick Mathewson   o On Linux, use CLOCK_MONOTONIC_COARSE by default (55780a7)
963143cb613SNick Mathewson   o Implement a GetTickCount-based monotonic timer for Windows (d5e1d5a)
964143cb613SNick Mathewson   o Refactor monotonic timer handling into a new type and set of
965143cb613SNick Mathewson     functions; add a gettimeofday-based ratcheting implementation (f5e4eb0)
966143cb613SNick Mathewson   o Add EVENT_PRECISE_TIMER environment var for selecting precise-but-slow
967143cb613SNick Mathewson     timer (a2598ec)
968143cb613SNick Mathewson   o Implement fast/precise monotonic clocks on Windows (2c47045)
969143cb613SNick Mathewson   o Simple unit tests for monotonic timers (630f077)
970143cb613SNick Mathewson   o Improve the monotonic-time unit test: make it check the step size (7428c78)
971143cb613SNick Mathewson   o When PRECISE_TIMERS is set with epoll, use timerfd for microsecond
972143cb613SNick Mathewson     precision (26c7582)
973143cb613SNick Mathewson   o Split out time-related evutil functions into a new evutil_time.c (c419485)
974143cb613SNick Mathewson   o Split out time-related prototypes into time-internal.h (71bca50)
975143cb613SNick Mathewson   o Add evutil_time.obj to Makefile.nmake (0ba0683)
976143cb613SNick Mathewson   o Avoid giving a spurious warning when timerfd support is unavailable
977143cb613SNick Mathewson     (1aaf9f0 Dave Hart)
978143cb613SNick Mathewson   o Make test_evutil_monotonic a little more tolerant (def3b83)
979143cb613SNick Mathewson   o Avoid unused-var warning on systems with clock_gettime but without
980143cb613SNick Mathewson     CLOCK_MONOTONIC_COARSE (9be5468)
981143cb613SNick Mathewson
982143cb613SNick MathewsonEVENT_BASE_ONCE LEAKS:
983143cb613SNick Mathewson   If a callback added by event_base_once() is never invoked, Libevent no
984143cb613SNick Mathewson   longer leaks internal memory.
985143cb613SNick Mathewson
986143cb613SNick Mathewson   o Free dangling event_once objects on event_base_free() (c17dd59)
987143cb613SNick Mathewson   o Add a unit test in which an event is created with event_base_once()
988143cb613SNick Mathewson     but never fires (4343edf)
989143cb613SNick Mathewson
990143cb613SNick MathewsonTESTING SUPPORT, FIXES AND IMPROVEMENTS:
991143cb613SNick Mathewson
992143cb613SNick Mathewson   Libevent now disables by default its unit tests that would touch the
993143cb613SNick Mathewson   network, or that tend to fail on heavily-loaded systems.  To re-enable
994143cb613SNick Mathewson   them, invoke the ./test/regress program with the @all alias.
995143cb613SNick Mathewson
996143cb613SNick Mathewson   o Simplify test.sh code significantly. (9b856fd Ross Lagerwall)
997143cb613SNick Mathewson   o Make all tests that hit the network disabled by default (f2cea87)
998143cb613SNick Mathewson   o Avoid a resource leak on error in http client benchmark (ea92fba)
999143cb613SNick Mathewson   o Update to latest tinytest (911b4f0349377) (ef7c4f7)
1000143cb613SNick Mathewson   o Avoid (unlikely) overflow in bench_httpclient.c (5671033)
1001143cb613SNick Mathewson   o Shave 700 msec off the persistent_timeout_jump test (21205b8)
1002143cb613SNick Mathewson   o Check return value of write() in regress.c (c8009d2)
1003143cb613SNick Mathewson   o Make load-dependent monotonic timer tests off-by-default (2b6fe8b)
1004143cb613SNick Mathewson   o Add deferred_cb_skew to list of timing-dependent tests (34c8f31)
1005143cb613SNick Mathewson   o Avoid test -e; older shs don't have one. (f1bd938)
1006143cb613SNick Mathewson   o Fix renegotiation test to work around openssl 1.0.1 bug (c2f3086)
1007143cb613SNick Mathewson   o Fix a couple of compile warnings in the unit tests (5a9a014)
1008143cb613SNick Mathewson
1009143cb613SNick MathewsonMISC:
1010143cb613SNick Mathewson   o Change evutil_weakrand_() to avoid platform random() (e86af4b Nicholas
1011143cb613SNick Mathewson     Marriott, 3aa4415)
1012143cb613SNick Mathewson
1013143cb613SNick MathewsonINFRASTRUCTURE (Active-later events):
1014143cb613SNick Mathewson   As a simplification and optimization to Libevent's "deferred callback"
1015143cb613SNick Mathewson   logic (introduced in 2.0 to avoid callback recursion), Libevent now
1016143cb613SNick Mathewson   treats all of its deferrable callback types using the same logic it uses
1017143cb613SNick Mathewson   for active events.  Now deferred events no longer cause priority
1018143cb613SNick Mathewson   inversion, no longer require special code to cancel them, and so on.
1019143cb613SNick Mathewson
1020143cb613SNick Mathewson   o Refactor the callback part of an event into its own event_callback
1021143cb613SNick Mathewson     type (cba59e5)
1022143cb613SNick Mathewson   o Add "active later" event_callbacks to supersede deferred (745a63d)
1023143cb613SNick Mathewson   o event_base_assert_ok: check value of event_active_count for
1024143cb613SNick Mathewson     correctness (fec8bae)
1025143cb613SNick Mathewson   o Replace deferred_cbs with event_callback-based implementation. (ae2b84b)
1026143cb613SNick Mathewson   o Replace more deferred_cb names with event_callback (a4079aa)
1027143cb613SNick Mathewson   o Give event_base_process_active a single exit path (581b5be)
1028143cb613SNick Mathewson   o Restore our priority-inversion-prevention code with deferreds (c0e425a)
1029143cb613SNick Mathewson   o Refactor event_persist_closure: raise and extract some common logic
1030143cb613SNick Mathewson     (bec22b4)
1031143cb613SNick Mathewson   o Remove the unused bits from EVLIST_ALL (9889a3d)
103237145c56SNick Mathewson||||||| merged common ancestors
103337145c56SNick MathewsonChanges in version 2.0.22-stable (?? Dec 2013)
103437145c56SNick Mathewson
103537145c56SNick Mathewson (As of 3b77d62829c4393bda6f9105a5d3b73b48a64b71.)
1036959c1428SNick Mathewson
1037f9284c3eSNick MathewsonBUGFIXES (evhttp)
1038f9284c3eSNick Mathewson o fix #73 and fix http_connection_fail_test to catch it (crash fix) (b618204 Greg Hazel)
1039f9284c3eSNick Mathewson o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)
1040959c1428SNick Mathewson
1041959c1428SNick MathewsonBUGFIXES (compilation and portability)
1042959c1428SNick Mathewson o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
1043959c1428SNick Mathewson o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
1044959c1428SNick Mathewson o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5) (74d4c44 Kevin Bowling)
1045959c1428SNick Mathewson o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13 compat (817ea36)
1046959c1428SNick Mathewson o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
1047959c1428SNick Mathewson o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
1048f9284c3eSNick Mathewson o Use windows vsnprintf fixup logic on all windows environments (e826f19)
1049f9284c3eSNick Mathewson o Fix a compiler warning when checking for arc4random_buf linker breakage. (5cb3865)
1050f9284c3eSNick Mathewson o Fix another arc4random_buf-related warning (e64a2b0)
1051959c1428SNick Mathewson
1052959c1428SNick MathewsonBUGFIXES (resource leaks/lock errors on error)
1053959c1428SNick Mathewson o Avoid leaking fds on evconnlistener with no callback set (69db261)
1054959c1428SNick Mathewson o Avoid double-close on getsockname error in evutil_ersatz_socketpair (0a822a6)
1055959c1428SNick Mathewson o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
1056f9284c3eSNick Mathewson o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer) (b8f5980 Frank Denis)
1057f9284c3eSNick Mathewson
1058f9284c3eSNick MathewsonBUGFIXES (miscellaneous)
105937145c56SNick Mathewson o Avoid other RNG initialization FS reads when urandom file is specified (9695e9c, bb52471)
1060f9284c3eSNick Mathewson o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
1061f9284c3eSNick Mathewson
1062f9284c3eSNick MathewsonBUFGIXES (evdns)
1063f9284c3eSNick Mathewson o Checking request nameserver for NULL, before using it. (5c710c0 Belobrov Andrey)
1064f9284c3eSNick Mathewson o Fix SEGFAULT after evdns_base_resume if no nameservers installed. (f8d7df8 Azat Khuzhin)
1065f9284c3eSNick Mathewson
1066f9284c3eSNick MathewsonBUGFIXES (evutil_secure_random)
1067f9284c3eSNick Mathewson o When we seed from /proc/sys/kernel/random/uuid, count it as success (e35b540)
1068f9284c3eSNick Mathewson o Document that arc4random is not a great cryptographic PRNG. (6e49696)
1069f9284c3eSNick Mathewson o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
1070f9284c3eSNick Mathewson o Really remove RNG seeds from the stack (f5ced88)
1071f9284c3eSNick Mathewson
1072959c1428SNick Mathewson
1073959c1428SNick MathewsonDOCUMENTATION FIXES
1074959c1428SNick Mathewson o Fix a mistake in evbuffer_remove() arguments in example http server code (c322c20 Gyepi Sam)
1075959c1428SNick Mathewson o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
107637145c56SNick Mathewson
1077f7d92c63SNick Mathewson
1078f7d92c63SNick Mathewson
10791c5517c9SNick MathewsonChanges in version 2.0.21-stable (18 Nov 2012)
10801c5517c9SNick MathewsonBUGFIXES:
10811c5517c9SNick Mathewson o ssl: Don't discard SSL read event when timeout and read come close together (576b29f)
10821c5517c9SNick Mathewson o ssl: Stop looping in "consider_reading" if reading is suspended. (f719b8a Joachim Bauch)
10831c5517c9SNick Mathewson o ssl: No need to reserve space if reading is suspended. (1acf2eb Joachim Bauch)
10841c5517c9SNick Mathewson o dns: Avoid a memory-leak on OOM in evdns. (73e85dd, f2bff75 George Danchev)
10851c5517c9SNick Mathewson o build: Use python2 rather than python (0eb0109 Ross Lagerwall)
10861c5517c9SNick Mathewson o build: Compile without warnings on mingw64 (94866c2)
10871c5517c9SNick Mathewson o build: Fix compilation on mingw64 with -DUSE_DEBUG (62bd2c4)
10881c5517c9SNick Mathewson o build: Make rpcgen_wrapper.sh work on systems without a "python2" binary (f3009e4)
10891c5517c9SNick Mathewson o iocp: Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set (cb853ea Juan Pablo Fernandez)
10901c5517c9SNick Mathewson o core: Avoid crash when event_pending() called with no event_base set on event (e3cccf3)
10911c5517c9SNick Mathewson o misc: remove stray 'x' so print_err will compile when uncommented (ac35650 Patrick Pelletier)
10921c5517c9SNick Mathewson o tests: Fix renegotiation test to work around openssl 1.0.1 bug (c2f3086)
10931c5517c9SNick Mathewson o tests: Warn when openssl version in unit test mismatches compiled version. (ac009f9)
1094484e93c1SNick Mathewson
1095484e93c1SNick Mathewson
109641d77a7cSNick MathewsonChanges in version 2.0.20-stable (23 Aug 2012)
1097fc43cbdcSNick MathewsonBUGFIXES:
1098fc43cbdcSNick Mathewson o core: Make event_pending() threadsafe. (be7a95c Simon Liu)
1099fc43cbdcSNick Mathewson o win32: avoid crash when waiting forever on zero fds. (160e58b)
1100fc43cbdcSNick Mathewson o evhttp: Fix a memory leak on error in evhttp_uriencode (11c8b31)
1101fc43cbdcSNick Mathewson o evbuffer: Avoid possible needless call to writev. Found by coverity. (6a4ec5c)
1102fc43cbdcSNick Mathewson o evdns: memset sockaddr_in before using it. Found by coverity. (a1a0e67)
1103fc43cbdcSNick Mathewson o evhttp: Check more setsockopt return values when binding sockets. Found by coverity (a0912e3)
1104fc43cbdcSNick Mathewson o evdns: Avoid segfault on weird timeout during name lookup. (dc32077 Greg Hazel)
1105fc43cbdcSNick Mathewson o bufferevent_ssl: Correctly invoke callbacks when a SSL bufferevent reads some and then blocks. (606ac43)
1106fc43cbdcSNick Mathewson
1107fc43cbdcSNick Mathewson
1108fc43cbdcSNick MathewsonPORTABILITY FIXES:
1109fc43cbdcSNick Mathewson o check for arc4random_buf at runtime, on OS X (bff5f94 Greg Hazel)
1110fc43cbdcSNick Mathewson o Correctly check for arc4random_buf (fcec3e8 Sebastian Hahn)
1111fc43cbdcSNick Mathewson o Add explicit AC_PROG_SED to configure.in so all autoconfs will expose $(SED) (ca80ea6)
1112fc43cbdcSNick Mathewson
1113fc43cbdcSNick MathewsonBUILD FIXES:
1114fc43cbdcSNick Mathewson o Add GCC annotations so that the vsprintf functions get checked properly (117e327)
1115fc43cbdcSNick Mathewson o Fix an unused variable warning on *BSD. (c0720c1)
1116fc43cbdcSNick Mathewson
1117fc43cbdcSNick MathewsonUNIT TEST FIXES:
1118fc43cbdcSNick Mathewson o Fix a couple of memory leaks (found with Valgrind). (3b2529a Ross Lagerwall)
1119fc43cbdcSNick Mathewson o Remove deadcode in http regression tests. Found by coverity. (5553346)
1120fc43cbdcSNick Mathewson o Fix possible uninitialized read in dns regression tests. Found by coverity. (2259777)
1121fc43cbdcSNick Mathewson o Set umask before calling mkstemp in unit tests. Found by coverity (f1ce15d)
1122fc43cbdcSNick Mathewson o Fix various check-after-dereference issues in unit tests: found by coverity (4f3732d)
1123fc43cbdcSNick Mathewson o Fix resource leaks in the unit tests; found by coverity (270f279)
1124fc43cbdcSNick Mathewson o Add some missing null checks to unit tests; found by coverity (f021c3d)
1125fc43cbdcSNick Mathewson o Avoid more crashes/bad calls in unit tests; found by coverity (3cde5bf)
1126fc43cbdcSNick Mathewson o Remove unused variable; spotted by coverity (6355b2a)
1127fc43cbdcSNick Mathewson o Add checks to various return values in unit tests. Found by coverity (b9e7329)
1128fc43cbdcSNick Mathewson o Move assignment outside tt_assert in ssl unit tests. Appeases coverity. (a2006c0)
1129fc43cbdcSNick Mathewson
1130faa92253SNick Mathewson
1131faa92253SNick Mathewson
11328a9b0cdfSNick MathewsonChanges in version 2.0.19-stable (3 May 2012)
1133cecb111bSNick MathewsonBUGFIXES (CORE):
1134cecb111bSNick Mathewson o Refactor event_persist_closure: raise and extract some common logic (bec22b4)
1135cecb111bSNick Mathewson o If time has jumped so we'd reschedule a periodic event in the past, schedule it for the future instead (dfd808c)
1136cecb111bSNick Mathewson o If a higher-priority event becomes active, don't continue running events of the current priority. (2bfda40)
1137cecb111bSNick Mathewson
1138cecb111bSNick MathewsonBUGFIXES (SSL):
1139cecb111bSNick Mathewson o Fixed potential double-readcb execution with openssl bufferevents. (4e62cd1 Mark Ellzey)
1140cecb111bSNick Mathewson
1141cecb111bSNick MathewsonBUGFIXES (DNS):
1142cecb111bSNick Mathewson o Cancel a probe request when the server is freed, and ignore cancelled probe callbacks (94d2336 Greg Hazel)
1143cecb111bSNick Mathewson o Remove redundant DNS_ERR_CANCEL check, move comment (46b8060 Greg Hazel)
1144cecb111bSNick Mathewson o When retransmitting a timed-out DNS request, pick a fresh nameserver. (3d9e52a)
1145cecb111bSNick Mathewson
1146cecb111bSNick MathewsonDOCUMENTATION FIXES:
1147cecb111bSNick Mathewson o Fix a typo in the bufferevent documentation (98e9119)
1148cecb111bSNick Mathewson o Add missing ) to changelog; spotted by rransom (4c7ee6b)
1149cecb111bSNick Mathewson o Fix the website URL in the readme (f775521)
1150cecb111bSNick Mathewson
1151cecb111bSNick MathewsonCOMPILATION FIXES:
1152cecb111bSNick Mathewson o Fix a compilation error with MSVC 2005 due to use of mode_t (336dcae)
1153cecb111bSNick Mathewson o Configure with gcc older than 2.95 (4a6fd43 Sebastian Hahn)
1154cecb111bSNick Mathewson o Generate event-config.h with a single sed script (30b6f88 Zack Weinberg)
1155cecb111bSNick Mathewson
1156cecb111bSNick MathewsonFORWARD-COMPATIBILITY:
1157cecb111bSNick Mathewson o Backport: provide EVENT_LOG_* names, and deprecate _EVENT_LOG_* (d1a03b2)
1158cecb111bSNick Mathewson
1159cecb111bSNick MathewsonTESTING/DEBUGGING SUPPORT:
1160cecb111bSNick Mathewson o dns-example.c can now take a resolv.conf file on the commandline (6610fa5)
1161cecb111bSNick Mathewson o Make some evdns.c debug logs more verbose (d873d67)
1162cecb111bSNick Mathewson o Work-around a stupid gcov-breaking bug in OSX 10.6 (b3887cd)
1163cecb111bSNick Mathewson
116425a424fbSNick Mathewson
116525a424fbSNick Mathewson
116677342926SNick MathewsonChanges in version 2.0.18-stable (22 Mar 2012)
116777342926SNick MathewsonBUGFIXES (core):
116877342926SNick Mathewson o Make uses of open() close-on-exec safe by introducing an internal evutil_open_closeonexec. (d2b5f72 Ross Lagerwall, 03dce42)
116977342926SNick Mathewson
117077342926SNick MathewsonBUGFIXES (kqueue):
117177342926SNick Mathewson o Properly zero the kevent in kq_setup_kevent() (c2c7b39 Sebastian Hahn)
117277342926SNick Mathewson
117377342926SNick MathewsonBUILD FIXES:
117477342926SNick Mathewson o Added OPENSSL_LDFLAGS env variable which is appended to SSL checks. (9278196 Mark Ellzey)
117577342926SNick Mathewson o Changed OPENSSL_LDFLAGS to OPENSSL_LIBADD (2d67b63 Mark Ellzey)
117677342926SNick Mathewson o Don't do clang version detection when disabling some flags (083296b Sebastian Hahn)
117777342926SNick Mathewson
117877342926SNick MathewsonBUGFIXES (dns):
117977342926SNick Mathewson o Stop crashing in evdns when nameserver probes give a weird error (bec5068)
118077342926SNick Mathewson
11810c483170SNick Mathewson
11820cdbd642SNick MathewsonChanges in version 2.0.17-stable (10 Feb 2012)
1183edc6d7d7SNick Mathewson
1184edc6d7d7SNick MathewsonBUGFIXES (core):
1185edc6d7d7SNick Mathewson o Be absolutely sure to clear pncalls before leaving event_signal_closure (11f36a5)
1186edc6d7d7SNick Mathewson o check for sysctl before we use it (358c745 Mike Frysinger)
1187edc6d7d7SNick Mathewson o Remove bogus casts of socket to int before calling ev_callback (f032516)
1188edc6d7d7SNick Mathewson o Make evconnlistener work around bug in older Linux when getting nmapped (ecfc720)
1189edc6d7d7SNick Mathewson o Fix a list corruption bug when using event_reinit() with signals present (6e41cdc)
1190edc6d7d7SNick Mathewson o Fix a fd leak in event_reinit() (3f18ad1)
11916f6cebe3SNick Mathewson o Do a memberwise comparison of threading function tables (c94a5f2 Nate R)
11926f6cebe3SNick Mathewson o Use C-style comments in C source files (for compatibility with compilers such as xlc on AIX). (d84d917 Greg Hewgill)
11934c7ee6b0SNick Mathewson o Avoid crash when freeing event_iocp and using event_set_mem_functions (19715a6)
11940cdbd642SNick Mathewson o In the kqueue backend, do not report EBADF as an EV_READ (5d7bfa1 Nicholas Marriott)
1195edc6d7d7SNick Mathewson
1196edc6d7d7SNick MathewsonBUGFIXES (evbuffer and bufferevents):
1197edc6d7d7SNick Mathewson o Fix behavior of evbuffer_peek(buf,-1,NULL,NULL,0) (c986f23 Zack Weinberg)
11986f6cebe3SNick Mathewson o Loop on filtering SSL reads until we are blocked or exhausted. (5b4b812)
1199edc6d7d7SNick Mathewson
1200edc6d7d7SNick MathewsonBUGFIXES (evhttp):
1201edc6d7d7SNick Mathewson o Force strict validation of HTTP version in response. (790f6b3 Catalin Patulea)
1202edc6d7d7SNick Mathewson
12036f6cebe3SNick MathewsonBUGFIXES (evdns):
12046f6cebe3SNick Mathewson o evdns: fix a bug in circular-queue implementation (d6094b1)
12056f6cebe3SNick Mathewson
1206edc6d7d7SNick MathewsonBUILD FIXES:
1207edc6d7d7SNick Mathewson o Fix a silly compilation error with the sun compiler (1927776 Colin Watt)
1208edc6d7d7SNick Mathewson o Suppress a gcc warning from ignoring fwrite return in http-sample.c (7206e8c)
1209edc6d7d7SNick Mathewson
1210edc6d7d7SNick MathewsonDOCUMENTATION FIXES:
1211edc6d7d7SNick Mathewson o Slightly clarify evbuffer_peek documentation (7bbf6ca)
12120cdbd642SNick Mathewson o Update copyright notices to 2012 (e49e289)
1213edc6d7d7SNick Mathewson
1214edc6d7d7SNick MathewsonNEW APIS:
1215edc6d7d7SNick Mathewson o Backport evhttp_connection_get_bufferevent to Libevent 2.0 (da70fa7 Arno Bakker)
1216edc6d7d7SNick Mathewson
1217edc6d7d7SNick MathewsonTESTS AND TEST FIXES:
1218edc6d7d7SNick Mathewson o Fix a race condition in the dns/bufferevent_connect_hostname test. (cba48c7)
1219edc6d7d7SNick Mathewson o Add function to check referential integrity of an event_base (27737d5)
1220edc6d7d7SNick Mathewson o Check event_base correctness at end of each unit test (3312b02)
1221edc6d7d7SNick Mathewson o Workaround in the unit tests for an apparent epoll bug in Linux 3.2 (dab9187)
12226f6cebe3SNick Mathewson o Better workaround for Linux 3.2 edge-triggered epoll bug (9f9e259)
1223edc6d7d7SNick Mathewson
122431c99bd2SNick MathewsonChanges in version 2.0.16-stable (18 Nov 2011)
122531c99bd2SNick MathewsonBUGFIXES (core):
122631c99bd2SNick Mathewson o More detailed message in case of libevent self-debugging failure. (9e6a4ef Leonid Evdokimov)
122734045c8fSNick Mathewson o epoll: close fd on alloc fail at initialization (1aee718 Jamie Iles)
122834045c8fSNick Mathewson o Fix compile warning from saying event2/*.h inside a comment (447b0ba)
122934045c8fSNick Mathewson o Warn when unable to construct base because of failing make_base_notifiable (4e797f3)
123034045c8fSNick Mathewson o Don't try to make notifiable event_base when no threading fns are configured (e787413)
123134045c8fSNick Mathewson
123231c99bd2SNick MathewsonBUGFIXES (evbuffer):
123331c99bd2SNick Mathewson o unit test for remove_buffer bug (90bd620 Greg Hazel)
123434045c8fSNick Mathewson o Fix an evbuffer crash in evbuffer_remove_buffer() (c37069c)
123534045c8fSNick Mathewson
123631c99bd2SNick MathewsonBUGFIXES (bufferevent_openssl):
123731c99bd2SNick Mathewson o Refactor amount-to-read calculations in buffervent_ssl consider_reading() (a186e73 Mark Ellzey)
123831c99bd2SNick Mathewson o Move SSL rate-limit enforcement into bytes_to_read() (96c562f)
123931c99bd2SNick Mathewson o Avoid spinning on OpenSSL reads (2aa036f Mark Ellzey)
124031c99bd2SNick Mathewson
124131c99bd2SNick MathewsonBUGFIXES (dns)
124234045c8fSNick Mathewson o Empty DNS reply with OK status is another way to say NODATA. (21a08d6 Leonid Evdokimov)
124334045c8fSNick Mathewson
124434045c8fSNick MathewsonTESTING:
124534045c8fSNick Mathewson o Tests for 94fba5b and f72e8f6 (d58c15e Leonid Evdokimov)
124634045c8fSNick Mathewson o Test for commit aff6ba1 (f7841bf Leonid Evdokimov)
124731c99bd2SNick Mathewson o Style and comment tweaks for dns/leak* tests (5e42202)
124834045c8fSNick Mathewson o improve test to remove at least one buffer from src (7eb52eb Greg Hazel)
124934045c8fSNick Mathewson
125031c99bd2SNick MathewsonDOCUMENTATION:
125134045c8fSNick Mathewson o Add note about evhttp_send_reply_end to its doxygen (724bfb5)
125231c99bd2SNick Mathewson o Update copyright dates to 2011. (3c824bd)
125334045c8fSNick Mathewson o Fix typo in whatsnew-2.0.txt (674bc6a Mansour Moufid)
125431c99bd2SNick Mathewson o Improve win32 behavior of dns-sample.c code (a3f320e Gisle Vanem)
125534045c8fSNick Mathewson
125634045c8fSNick Mathewson
125734045c8fSNick Mathewson
12587c3e0612SNick MathewsonChanges in version 2.0.15-stable (12 Oct 2011)
12597c3e0612SNick MathewsonBUGFIXES (DNS):
12607c3e0612SNick Mathewson o DNS: add ttl for negative answers using RFC 2308 idea. (f72e8f6 Leonid Evdokimov)
12617c3e0612SNick Mathewson o Add DNS_ERR_NODATA error code to handle empty replies. (94fba5b Leonid Evdokimov)
12627c3e0612SNick Mathewson
12637c3e0612SNick MathewsonBUFGIXES (bufferevents and evbuffers):
1264c54c2358SNick Mathewson o Make evbuffer callbacks get the right n_added value after evbuffer_add (1ef1f68 Alex)
12657c3e0612SNick Mathewson o Prefer mmap to sendfile unless a DRAINS_TO_FD flag is set. Allows add_file to work with SSL. (0ba0af9)
12667c3e0612SNick Mathewson
12677c3e0612SNick MathewsonBUGFIXES (event loop):
12687c3e0612SNick Mathewson o When a signal callback is activated to run multiple times, allow event_base_loopbreak to work even before they all have run. (4e8eb6a)
12697c3e0612SNick Mathewson
12707c3e0612SNick MathewsonDOCUMENTATION FIXES:
12717c3e0612SNick Mathewson o Fix docstring in dns.h (2b6eae5 Leonid Evdokimov)
12727c3e0612SNick Mathewson o refer to non-deprecated evdns functions in comments (ba5c27d Greg Hazel)
12737c3e0612SNick Mathewson
12747c3e0612SNick MathewsonBUILD AND TESTING FIXES:
12757c3e0612SNick Mathewson o le-proxy and regress depend on openssl directly (9ae061a Sergey Avseyev)
12767c3e0612SNick Mathewson o Use _SOURCES, not _sources, in sample/Makefile.am (7f82382)
12777c3e0612SNick Mathewson o Fixed compiler warnings for unchecked read/write calls. (c3b62fd Mark Ellzey)
12787c3e0612SNick Mathewson o Make write-checking fixes use tt_fail_perror (2b76847)
12797c3e0612SNick Mathewson o Fix some "value never used" warnings with gcc 4.6.1 (39c0cf7)
12807c3e0612SNick Mathewson
12817c3e0612SNick Mathewson
1282a718b6c3SNick Mathewson
1283da90a9beSNick MathewsonChanges in version 2.0.14-stable (31 Aug 2011)
12846476d92dSNick MathewsonBUGFIXES (bufferevents and evbuffers):
12856476d92dSNick Mathewson o Propagate errors on the underlying bufferevent to the user. (4a34394 Joachim Bauch)
12866476d92dSNick Mathewson o Ignore OpenSSL deprecation warnings on OS X (5d1b255 Sebastian Hahn)
12876476d92dSNick Mathewson o Fix handling of group rate limits under 64 bytes of burst (6d5440e)
12886476d92dSNick Mathewson o Solaris sendfile: correctly detect amount of data sent (643922e Michael Herf)
12896476d92dSNick Mathewson o Make rate limiting work with common_timeout logic (5b18f13)
129085976ddfSNick Mathewson o clear read watermark on underlying bufferevent when creating filtering bev to fix potentially failing fragmented ssl handshakes (54f7e61 Joachim Bauch)
12916476d92dSNick Mathewson
12926476d92dSNick MathewsonBUGFIXES (IOCP):
12936476d92dSNick Mathewson o IOCP: don't launch reads or writes on an unconnected socket (495c227)
12946476d92dSNick Mathewson o Make IOCP rate-limiting group support stricter and less surprising. (a98da7b)
12956476d92dSNick Mathewson o Have test-ratelim.c support IOCP (0ff2c5a)
12966476d92dSNick Mathewson o Make overlapped reads result in evbuffer callbacks getting invoked (6acfbdd)
12976476d92dSNick Mathewson o Correctly terminate IO on an async bufferevent on bufferevent_free (e6af35d)
12986476d92dSNick Mathewson
12996476d92dSNick MathewsonBUGFIXES (other):
13006476d92dSNick Mathewson o Fix evsig_dealloc memory leak with debugging turned on. (9b724b2 Leonid Evdokimov)
13016476d92dSNick Mathewson o Fix request_finished memory leak with debugging turned on. (aff6ba1 Leonid Evdokimov)
13026476d92dSNick Mathewson
13036476d92dSNick MathewsonBUILD AND TESTING FIXES:
13046476d92dSNick Mathewson o Allow OS-neutral builds for platforms where some versions have arc4random_buf (b442302 Mitchell Livingston)
13056476d92dSNick Mathewson o Try to fix 'make distcheck' errors when building out-of-tree (04656ea Dave Hart)
13066476d92dSNick Mathewson o Clean up some problems identified by Coverity. (7c11e51 Harlan Stenn)
13076476d92dSNick Mathewson
13086476d92dSNick Mathewson
130962b8ce58SNick MathewsonChanges in version 2.0.13-stable (18 Jul 2011)
131062b8ce58SNick MathewsonBUGFIXES
131162b8ce58SNick Mathewson o Avoid race-condition when initializing global locks (b683cae)
131262b8ce58SNick Mathewson o Fix bug in SSL bufferevents backed by a bev with a write high-watermarks (e050703 Joachim Bauch)
131362b8ce58SNick Mathewson o Speed up invoke_callbacks on evbuffers when there are no callbacks (f87f568 Mark Ellzey)
131462b8ce58SNick Mathewson o Avoid a segfault when all methods are disabled or broken (27ce38b)
131562b8ce58SNick Mathewson o Fix incorrect results from evbuffer_search_eol(EOL_LF) (4461f1a)
131662b8ce58SNick Mathewson o Add some missing checks for mm_calloc failures (89d5e09)
131762b8ce58SNick Mathewson o Replace an assertion for event_base_free(NULL) with a check-and-warn (09fe97d)
131862b8ce58SNick Mathewson o Report kqueue ebadf, epipe, and eperm as EV_READ events (1fd34ab)
131962b8ce58SNick Mathewson o Check if the `evhttp_new_object' function in `http.c' returns NULL. (446cc7a Mansour Moufid)
132062b8ce58SNick Mathewson o Use the correct printf args when formatting size_t (3203f88)
132162b8ce58SNick Mathewson o Complain if the caller tries to change threading cbs after setting them (cb6ecee)
132260c1426fSNick Mathewson
132362b8ce58SNick MathewsonDOCUMENTATION FIXES AND IMPROVEMENTS
132462b8ce58SNick Mathewson o Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy (2888fac)
132562b8ce58SNick Mathewson o Update Doxyfile to produce more useful output (aea0555)
132662b8ce58SNick Mathewson
132762b8ce58SNick MathewsonTEST FIXES
132862b8ce58SNick Mathewson o Fix up test_evutil_snprintf (caf695a)
132962b8ce58SNick Mathewson o Fix tinytest invocation from windows shell (57def34 Ed Day)
133062b8ce58SNick Mathewson
133162b8ce58SNick MathewsonBUILD FIXES
133262b8ce58SNick Mathewson o Use AM_CPPFLAGS in sample/Makefile.am, not AM_CFLAGS (4a5c82d)
133362b8ce58SNick Mathewson o Fix select.c compilation on systems with no NFDBITS (49d1136)
133462b8ce58SNick Mathewson o Fix a few warnings on OpenBSD (8ee9f9c Nicholas Marriott)
133562b8ce58SNick Mathewson o Don't break when building tests from git without python installed (b031adf)
133662b8ce58SNick Mathewson o Don't install event_rpcgen.py when --disable-libevent-install is used (e23cda3 Harlan Stenn)
133762b8ce58SNick Mathewson o Fix AIX build issue with TAILQ_FOREACH definition (e934096)
133860c1426fSNick Mathewson
133960c1426fSNick Mathewson
1340452a8342SNick MathewsonChanges in version 2.0.12-stable (4 Jun 2011)
1341c3555837SNick MathewsonBUGFIXES
1342c3555837SNick Mathewson o Fix a warn-and-fail bug in kqueue by providing kevent() room to report errors (28317a0)
1343c3555837SNick Mathewson o Fix an assert-inducing fencepost bug in the select backend (d90149d)
1344c3555837SNick Mathewson o Fix failing http assertion introducd in commit 0d6622e (0848814 Kevin Ko)
1345c3555837SNick Mathewson o Fix a bug that prevented us from configuring IPv6 nameservers. (74760f1)
1346c3555837SNick Mathewson o Prevent size_t overflow in evhttp_htmlescape. (06c51cd Mansour Moufid)
1347c3555837SNick Mathewson o Added several checks for under/overflow conditions in evhttp_handle_chunked_read (a279272 Mark Ellzey)
1348c3555837SNick Mathewson o Added overflow checks in evhttp_read_body and evhttp_get_body (84560fc Mark Ellzey)
1349c3555837SNick Mathewson
1350c3555837SNick MathewsonDOCUMENTATION:
1351c3555837SNick Mathewson o Add missing words to EVLOOP_NONBLOCK documentation (9556a7d)
1352c3555837SNick Mathewson
1353c3555837SNick MathewsonBUILD FIXES
1354c3555837SNick Mathewson o libssl depends on libcrypto, not the other way around. (274dd03 Peter Rosin)
1355c3555837SNick Mathewson o Libtool brings in the dependencies of libevent_openssl.la automatically (7b819f2 Peter Rosin)
1356c3555837SNick Mathewson o Use OPENSSL_LIBS in Makefile.am (292092e Sebastian Hahn)
1357c3555837SNick Mathewson o Move the win32 detection in configure.in (ceb03b9 Sebastian Hahn)
1358c3555837SNick Mathewson o Correctly detect openssl on windows (6619385 Sebastian Hahn)
1359c3555837SNick Mathewson o Fix a compile warning with zlib 1.2.4 and 1.2.5 (5786b91 Sebastian Hahn)
1360c3555837SNick Mathewson o Fix compilation with GCC 2, which had no __builtin_expect (09d39a1 Dave Hart)
1361c3555837SNick Mathewson o Fix new warnings from GCC 4.6 (06a714f)
1362c3555837SNick Mathewson o Link with -lshell32 and -ladvapi32 on Win32. (86090ee Peter Rosin)
1363c3555837SNick Mathewson o Make the tests build when OpenSSL is not available. (07c41be Peter Rosin)
1364c3555837SNick Mathewson o Bring in the compile script from automake, if needed. (f3c7a4c Peter Rosin)
1365c3555837SNick Mathewson o MSVC does not provide S_ISDIR, so provide it manually. (70be7d1 Peter Rosin)
1366c3555837SNick Mathewson o unistd.h and sys/time.h might not exist. (fe93022 Peter Rosin)
1367c3555837SNick Mathewson o Make sure TINYTEST_LOCAL is defined when building tinytest.c (8fa030c Peter Rosin)
1368c3555837SNick Mathewson o Fix winsock2.h #include issues with MSVC (3d768dc Peter Rosin)
1369c3555837SNick Mathewson o Use evutil_gettimeofday instead of relying on the system gettimeofday. (0de87fe Peter Rosin)
1370c3555837SNick Mathewson o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
1371c3555837SNick Mathewson o InitializeCriticalSectionAndSpinCount requires _WIN32_WINNT >= 0x0403. (816115a Peter Rosin)
1372c3555837SNick Mathewson o cygwin: make it possible to build DLLs (d54d3fc)
1373c3555837SNick Mathewson
1374c3555837SNick Mathewson
1375c3555837SNick Mathewson
1376d30466fcSNick MathewsonChanges in version 2.0.11-stable (27 Apr 2011)
1377d30466fcSNick Mathewson  [Autogenerated from the Git log, sorted and cleaned by hand.]
1378d30466fcSNick MathewsonBUGFIXES:
1379d30466fcSNick Mathewson o Fix evport handling of POLLHUP and POLLERR (b42ce4b)
1380d30466fcSNick Mathewson o Fix compilation on Windows with NDEBUG (cb8059d)
1381d30466fcSNick Mathewson o Check for POLLERR, POLLHUP and POLLNVAL for Solaris event ports (0144886 Trond Norbye)
1382d30466fcSNick Mathewson o Detect and handle more allocation failures. (666b096 Jardel Weyrich)
1383d30466fcSNick Mathewson o Use event_err() only if the failure is truly unrecoverable. (3f8d22a Jardel Weyrich)
1384d30466fcSNick Mathewson o Handle resize failures in the select backend better. (83e805a)
1385d30466fcSNick Mathewson o Correctly free selectop fields when select_resize fails in select_init (0c0ec0b)
1386d30466fcSNick Mathewson o Make --enable-gcc-warnings a no-op if not using gcc (3267703)
1387d30466fcSNick Mathewson o Fix a type error in our (unused) arc4random_stir() (f736198)
1388d30466fcSNick Mathewson o Correctly detect and stop non-chunked http requests when the body is too long (63a715e)
1389d30466fcSNick Mathewson o Have event_base_gettimeofday_cached() always return wall-clock time (a459ef7)
1390d30466fcSNick Mathewson o Workaround for http crash bug 3078187 (5dc5662 Tomash Brechko)
1391d30466fcSNick Mathewson o Fix incorrect assertions and possible use-after-free in evrpc_free() (4b8f02f Christophe Fillot)
1392d30466fcSNick Mathewson o Reset outgoing http connection when read data in idle state. (272823f Tomash Brechko)
1393d30466fcSNick Mathewson o Fix subtle recursion in evhttp_connection_cb_cleanup(). (218cf19 Tomash Brechko)
1394d30466fcSNick Mathewson o Fix the case when failed evhttp_make_request() leaved request in the queue. (0d6622e Tomash Brechko)
1395d30466fcSNick Mathewson o Fix a crash bug in evdns server circular list code (00e91b3)
1396d30466fcSNick Mathewson o Handle calloc failure in evdns. (Found by Dave Hart) (364291e)
1397d30466fcSNick Mathewson o Fix a memory leak on win32 socket->event map. (b4f89f0)
1398d30466fcSNick Mathewson o Add a forgotten NULL check to evhttp_parse_headers (12311ff Sebastian Hahn)
1399d30466fcSNick Mathewson o Fix possible NULL-deref in evdns_cancel_request (5208544 Sebastian Hahn)
1400d30466fcSNick Mathewson
1401d30466fcSNick MathewsonPORTABILITY:
1402d30466fcSNick Mathewson o Fall back to sscanf if we have no other way to implement strtoll (453317b)
1403d30466fcSNick Mathewson o Build correctly on platforms without sockaddr_storage (9184563)
1404d30466fcSNick Mathewson o Try to build correctly on platforms with no IPv6 support (713c254)
1405d30466fcSNick Mathewson o Build on systems without AI_PASSIVE (cb92113)
1406d30466fcSNick Mathewson o Fix http unit test on non-windows platforms without getaddrinfo (6092f12)
1407d30466fcSNick Mathewson o Do not check for gethostbyname_r versions if we have getaddrinfo (c1260b0)
1408d30466fcSNick Mathewson o Include arpa/inet.h as needed on HPUX (10c834c Harlan Stenn)
1409d30466fcSNick Mathewson o Include util-internal.h as needed to build on platforms with no sockaddr_storage (bbf5515 Harlan Stenn)
1410d30466fcSNick Mathewson o Check for getservbyname even if not on win32. (af08a94 Harlan Stenn)
1411d30466fcSNick Mathewson o Add -D_OSF_SOURCE to fix hpux builds (0b33479 Harlan Stenn)
1412d30466fcSNick Mathewson o Check for allocation failures in apply_socktype_protocol_hack (637d17a)
1413d30466fcSNick Mathewson o Fix the check for multicast or broadcast addresses in evutil_check_interfaces (1a21d7b)
1414d30466fcSNick Mathewson o Avoid a free(NULL) if out-of-memory in evdns_getaddrinfo. Found by Dave Hart (3417f68)
1415d30466fcSNick Mathewson
1416d30466fcSNick MathewsonDEFENSIVE PROGRAMMING:
1417d30466fcSNick Mathewson o Add compile-time check for AF_UNSPEC==PF_UNSPEC (3c8f4e7)
1418d30466fcSNick Mathewson
1419d30466fcSNick MathewsonBUGS IN TESTS:
1420d30466fcSNick Mathewson o Fix test.sh output on solaris (b4f89b6 Dave Hart)
1421d30466fcSNick Mathewson o Make test-eof fail with a timeout if we never get an eof. (05a2c22 Harlan Stenn)
1422d30466fcSNick Mathewson o Use %s with printf in test.sh (039b9bd)
1423d30466fcSNick Mathewson o Add an assert to appease clang's static analyzer (b0ff7eb Sebastian Hahn)
1424d30466fcSNick Mathewson o Add a forgotten return value check in the unit tests (3819b62 Sebastian Hahn)
1425d30466fcSNick Mathewson o Actually send NULL request in http_bad_request_test (b693c32 Sebastian Hahn)
1426d30466fcSNick Mathewson o add some (void) casts for unused variables (65707d7 Sebastian Hahn)
1427d30466fcSNick Mathewson o Refactor test_getaddrinfo_async_cancel_stress() (48c44a6 Sebastian Hahn)
1428d30466fcSNick Mathewson o Be nice and "handle" error return values in sample code (4bac793 Sebastian Hahn)
1429d30466fcSNick Mathewson o Check return value of evbuffer_add_cb in tests (93a1abb Sebastian Hahn)
1430d30466fcSNick Mathewson o Remote some dead code from dns-example.c (744c745 Sebastian Hahn)
1431d30466fcSNick Mathewson o Zero a struct sockaddr_in before using it (646f9fe Sebastian Hahn)
1432d30466fcSNick Mathewson
1433d30466fcSNick MathewsonBUILD FIXES:
1434d30466fcSNick Mathewson o Fix warnings about AC_LANG_PROGRAM usage (f663112 Sebastian Hahn)
1435d30466fcSNick Mathewson o Skip check for zlib if we have no zlib.h (a317c06 Harlan Stenn)
1436d30466fcSNick Mathewson o Fix autoconf bracket issues; make check for getaddrinfo include netdb.h (833e5e9 Harlan Stenn)
1437d30466fcSNick Mathewson o Correct an AM_CFLAGS to an AM_CPPFLAGS in test/Makefile.am (9c469db Dave Hart)
1438d30466fcSNick Mathewson o Fix make distcheck & installation of libevent 1 headers (b5a1f9f Dave Hart)
1439d30466fcSNick Mathewson o Fix compilation under LLVM/clang with --enable-gcc-warnings (ad9ff58 Sebastian Hahn)
1440d30466fcSNick Mathewson
1441d30466fcSNick MathewsonFEATURES:
1442d30466fcSNick Mathewson o Make URI parser able to tolerate nonconformant URIs. (95060b5)
1443d30466fcSNick Mathewson
1444d30466fcSNick MathewsonDOCUMENTATION:
1445d30466fcSNick Mathewson o Clarify event_set_mem_functions doc (926f816)
1446d30466fcSNick Mathewson o Correct evhttp_del_accept_socket documentation on whether socket is closed (f665924)
1447d30466fcSNick Mathewson o fix spelling mistake in whatsnew-2.0.txt (deb2f73)
1448d30466fcSNick Mathewson o Fix sample/http-server ipv6 fixes (eb692be)
1449d30466fcSNick Mathewson o Comment internal headers used in sample code. (4eb281c)
1450d30466fcSNick Mathewson o Be explicit about how long event loops run in event.h documentation (f95bafb)
1451d30466fcSNick Mathewson o Add comment to configure.in to explain gc-sections test logic (c621359)
1452d30466fcSNick Mathewson o Fix a couple of memory leaks in samples/http-server.c. Found by Dave Hart. (2e9f665)
1453d30466fcSNick Mathewson
145437145c56SNick Mathewson
1455143cb613SNick Mathewson
1456143cb613SNick MathewsonBUILD IMPROVEMENTS:
1457143cb613SNick Mathewson Libevent 2.1.2-alpha modernizes Libevent's use of autotools, and makes
1458143cb613SNick Mathewson numerous other build system. Parallel builds should be faster, and all
1459143cb613SNick Mathewson builds should be quieter.
1460143cb613SNick Mathewson
1461143cb613SNick Mathewson   o Split long lists in Makefile.am into one-item-per-line (2711cda)
1462143cb613SNick Mathewson   o Remove unnecessary code in configure.in. (e65914f Ross Lagerwall)
1463143cb613SNick Mathewson   o attempt to support OpenSSL in Makefile.nmake (eba0eb2 Patrick Pelletier)
1464143cb613SNick Mathewson   o Use newer syntax for autoconf/automake init (7d60ba8)
1465143cb613SNick Mathewson   o Enable silent build rules by default. Override with V=1 (7b18e5c)
1466143cb613SNick Mathewson   o Switch to non-recursive makefiles (7092f3b)
1467143cb613SNick Mathewson   o Rename subordinate Makefile.ams to include.am (6cdfeeb)
1468143cb613SNick Mathewson   o Make quiet build even quieter (371a123)
1469143cb613SNick Mathewson   o New --quiet option for event_rpcgen.py (aa59c1e)
1470143cb613SNick Mathewson   o Be quiet when making regress.gen.[ch] (607a8ff)
1471143cb613SNick Mathewson   o Fix handling of no-python case for nonrecursive make (1e3123d)
1472143cb613SNick Mathewson   o We now require automake 1.9 or later. Modernize! (b7f6e89)
1473143cb613SNick Mathewson   o Rename configure.in to configure.ac. (b3fea67 Ross Lagerwall)
1474143cb613SNick Mathewson   o Use correct openssl libs and includes in pkgconfig file (d70af27)
1475143cb613SNick Mathewson   o Use the same CFLAGS for openssl when building unit tests as with
1476143cb613SNick Mathewson     libevent (1d9d511)
1477143cb613SNick Mathewson
1478143cb613SNick MathewsonDOCUMENTATION
1479143cb613SNick Mathewson   o Note that make_base_notifiable should not be necessary (26ee5f9)
1480143cb613SNick Mathewson   o Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs (371efeb)
1481143cb613SNick Mathewson   o Add caveat to docs about bufferevent_free() with data in outbuf (6fab9ee)
1482143cb613SNick Mathewson   o Make it more clear that NOLOCK means "I promise, no multithreading"
1483143cb613SNick Mathewson    (9444524)
1484143cb613SNick Mathewson   o Fix a comment in test-fdleak after 077c7e949. (3881d8f Ross Lagerwall)
1485143cb613SNick Mathewson   o Make the Makefile.nmake warning slightly less dire (e7bf4c8)
1486143cb613SNick Mathewson   o Fix typo : events instead of evets (05f1aca Azat Khuzhin)
1487143cb613SNick Mathewson   o Additional comments about OPENSSL_DIR variable, prompted by Dave Hart
1488143cb613SNick Mathewson     (6bde2ef Patrick Pelletier)
1489143cb613SNick Mathewson
1490143cb613SNick MathewsonEVHTTP:
1491143cb613SNick Mathewson   o ignore LWS after field-content in headers (370a2c0 Artem Germanov)
1492143cb613SNick Mathewson   o Clean up rtrim implementation (aa59d80)
1493143cb613SNick Mathewson   o Remove trailing tabs in HTTP headers as well. (ac42519)
1494143cb613SNick Mathewson   o Remove internal ws from multiline http headers correctly (c6ff381)
1495143cb613SNick Mathewson   o Move evutil_rtrim_lws_ to evutil.c where it belongs (61b93af)
1496143cb613SNick Mathewson   o add evhttp_request_get_response_code_line (4f4d0c9 Jay R. Wren)
1497143cb613SNick Mathewson   o Use EVUTIL_SOCKET_ERROR() wrapper to save/restore errno in
1498143cb613SNick Mathewson     evhttp_connection_fail_ (7afbd60)
1499143cb613SNick Mathewson   o preserve errno in evhttp_connection_fail_ for inspection by the
1500143cb613SNick Mathewson     callback (36d0ee5 Patrick Pelletier)
1501143cb613SNick Mathewson
1502143cb613SNick MathewsonBUGFIXES:
1503143cb613SNick Mathewson   o Correctly handle running on a system where accept4 doesn't work. (9fbfe9b)
1504143cb613SNick Mathewson   o Avoid double-free on error in evbuffer_add_file. Found by
1505143cb613SNick Mathewson     coverity. (6a81b1f)
1506143cb613SNick Mathewson   o Fix another possible uninitialized read in dns regression tests. Found
1507143cb613SNick Mathewson     by coverity. (13525c5)
1508143cb613SNick Mathewson   o Add checks for functions in test-ratelim.c; found by Coverity (aa501e1)
1509143cb613SNick Mathewson   o Avoid memory leak in test_event_calloc unit test; found by coverity
1510143cb613SNick Mathewson     (92817a1)
1511143cb613SNick Mathewson   o Fix a shadowed variable in addfile_test_readcb; found by coverity
1512143cb613SNick Mathewson     (225344c)
1513143cb613SNick Mathewson   o Check return value when using LEV_OPT_DEFERRED_ACCEPT. Found by
1514143cb613SNick Mathewson     coverity (6487f63)
1515143cb613SNick Mathewson   o Prevent reference leak of bufferevent if getaddrinfo fails. (b757786
1516143cb613SNick Mathewson     Joachim Bauch)
1517143cb613SNick Mathewson   o Make event_base_getnpriorities work with old "implicit base" code
1518143cb613SNick Mathewson     (c46cb9c)
1519143cb613SNick Mathewson   o Simplify and correct evutil_open_closeonexec_ (0de587f)
1520143cb613SNick Mathewson   o Fix event_dlist definition when sys/queue not included (81b6209
1521143cb613SNick Mathewson     Derrick Pallas)
1522143cb613SNick Mathewson
1523143cb613SNick Mathewson
1524d9a55153SNick Mathewson
15252dedff36SNick MathewsonChanges in version 2.1.1-alpha (4 Apr 2012)
1526d30466fcSNick Mathewson
15272dedff36SNick Mathewson Libevent 2.1.1-alpha includes a number of new features and performance
15282dedff36SNick Mathewson improvements.  The log below tries to organize them by rough area of
15292dedff36SNick Mathewson effect.  It omits some commits which were pure bugfixes on other commits
15302dedff36SNick Mathewson listed below.  For more detail, see the git changelogs.  For more
15312dedff36SNick Mathewson insight, see the "whatsnew-2.1.txt" document included in the Libevent
15322dedff36SNick Mathewson 2.1.1-alpha distribution.
1533d30466fcSNick Mathewson
15342dedff36SNick Mathewson Performance: Core
15352dedff36SNick Mathewson   o Replace several TAILQ users with LIST. LIST can be a little faster than
15362dedff36SNick Mathewson     TAILQ for cases where we don't need queue-like behavior. (f9db33d,
15372dedff36SNick Mathewson     6494772, d313c29, 974d004)
15382dedff36SNick Mathewson   o Disabled code to optimize the case where we reinsert an existing
15392dedff36SNick Mathewson     timeout (e47042f, 09cbc3d)
15402dedff36SNick Mathewson   o Remove a needless base-notify when rescheduling the first timeout (77a96fd)
15412dedff36SNick Mathewson   o Save a needless comparison when removing/adjusting timeouts (dd5189b)
15422dedff36SNick Mathewson   o Possible optimization: split event_queue_insert/remove into
15432dedff36SNick Mathewson     separate functions. needs testing (efc4dc5)
154488b4f0bbSNick Mathewson   o Make event_count maintenance branchless at the expense of an
15452dedff36SNick Mathewson     extra shift. Needs benchmarking (d1cee3b)
15462dedff36SNick Mathewson   o In the 2.1 branch, let's try out lazy gettimeofday/clock_gettime
15472dedff36SNick Mathewson     comparison (2a83ecc)
15482dedff36SNick Mathewson   o Optimization in event_process_active(): ignore maxcb & endtime
15492dedff36SNick Mathewson     for highest priority events. (a9866aa Alexander Drozdov)
15502dedff36SNick Mathewson   o Bypass event_add when using event_base_once() for a 0-sec timeout (35c5c95)
15512dedff36SNick Mathewson   o Remove the eventqueue list and the ev_next pointers. (604569b 066775e)
1552d30466fcSNick Mathewson
15532dedff36SNick Mathewson Performance: Evbuffers
15542dedff36SNick Mathewson   o Roughly 20% speed increase when line-draining a buffer using
15552dedff36SNick Mathewson     EVBUFFER_EOL_CRLF (5dde0f0 Mina Naguib)
15562dedff36SNick Mathewson   o Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF (7b9d139)
15572dedff36SNick Mathewson   o Fix a bug in the improved EOL_CRLF code (d927965)
15582dedff36SNick Mathewson   o Remove a needless branch in evbuffer_drain() (d19a326)
1559d30466fcSNick Mathewson
15602dedff36SNick Mathewson Performance: Linux
15612dedff36SNick Mathewson   o Infrastructure for using faster/fewer syscalls when creating
15622dedff36SNick Mathewson     sockets (a1c042b)
15632dedff36SNick Mathewson   o Minimize syscalls during socket creation in listener.c (7e9e289)
15642dedff36SNick Mathewson   o Use a wrapper function to create the notification
15652dedff36SNick Mathewson     pipe/socketpair/eventfd (ca76cd9)
15662dedff36SNick Mathewson   o Use pipes for telling signals to main thread when possible (a35f396)
15672dedff36SNick Mathewson   o Save syscalls when constructing listener sockets for evhttp (af6c9d8)
15682dedff36SNick Mathewson   o Save some syscalls when creating evdns sockets (713e570)
15692dedff36SNick Mathewson   o Save some syscalls when constructing a socket for a bufferevent (33fca62)
15702dedff36SNick Mathewson   o Prefer epoll_create1 on Linuxen that have it (bac906c)
1571d30466fcSNick Mathewson
15722dedff36SNick Mathewson Performance: Epoll backend
15732dedff36SNick Mathewson   o Use current event set rather than current pending change when
15742dedff36SNick Mathewson     deciding whether to no-op a del (04ba27e Mike Smellie)
15752dedff36SNick Mathewson   o Replace big chain of if/thens in epoll.c with a table lookup (8c83eb6)
15762dedff36SNick Mathewson   o Clean up error handling in epoll_apply_one_change() a little (2d55a19)
1577d30466fcSNick Mathewson
15782dedff36SNick Mathewson Performance: Evport backend
15792dedff36SNick Mathewson   o evport: use evmap_io to track fdinfo status. Should save time and
15802dedff36SNick Mathewson     RAM. (4687ce4)
15812dedff36SNick Mathewson   o evport: Remove a linear search over recent events when
15822dedff36SNick Mathewson     reactivating them (0f77efe)
15832dedff36SNick Mathewson   o evport: Use portev_user to remember fdinfo struct (276ec0e)
15842dedff36SNick Mathewson   o evport: don't scan more events in ed_pending than needed (849a5cf)
15852dedff36SNick Mathewson   o evport: Remove artificial low limit on max events per getn call (c04d927)
15862dedff36SNick Mathewson   o Reenable main/many_events_slow_add for evport in 2.1 (e903db3)
1587d30466fcSNick Mathewson
15882dedff36SNick Mathewson Performance: Windows
15892dedff36SNick Mathewson   o Use GetSystemTimeAsFileTime to implement gettimeofday on
15902dedff36SNick Mathewson     win32. It's faster and more accurate than our old
15912dedff36SNick Mathewson     approach. (b8b8aa5)
1592d30466fcSNick Mathewson
15932dedff36SNick Mathewson New functions and features: debugging
15942dedff36SNick Mathewson   o Add event_enable_debug_logging() to control use of debug logs (e30a82f)
1595d30466fcSNick Mathewson
15962dedff36SNick Mathewson New functions and features: core
15972dedff36SNick Mathewson   o Add event_config function to limit time/callbacks between calls
15982dedff36SNick Mathewson     to dispatch (fd4de1e, 9fa56bd, a37a0c0, 3c63edd)
15992dedff36SNick Mathewson   o New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no
16002dedff36SNick Mathewson     events are pending (084e68f)
16012dedff36SNick Mathewson   o Add event_base_get_npriorities() function. (ee3a4ee Alexander Drozdov)
16022dedff36SNick Mathewson   o Make evbase_priority_init() and evbase_get_npriorities()
16032dedff36SNick Mathewson     threadsafe (3c55b5e)
16042dedff36SNick Mathewson   o New event_base_update_cache_time() to set cached_tv to current
16052dedff36SNick Mathewson     time (212533e Abel Mathew)
16062dedff36SNick Mathewson   o Add event_self_cbarg() to be used in conjunction with
16072dedff36SNick Mathewson     event_new(). (ed36e6a Ross Lagerwall, fa931bb, 09a1906, 1338e6c,
16082dedff36SNick Mathewson     33e43ef)
16092dedff36SNick Mathewson   o Add a new libevent_global_shutdown() to free all globals before
16102dedff36SNick Mathewson     exiting. (041ca00 Mark Ellzey, f98c158, 15296d0, 55e991b)
16112dedff36SNick Mathewson   o Use getifaddrs to detect our interfaces if possible (7085a45)
16122dedff36SNick Mathewson   o Add event_base_get_running_event() to get the event* whose cb we
16132dedff36SNick Mathewson     are in (c5732fd, 13dad99)
1614d30466fcSNick Mathewson
16152dedff36SNick Mathewson New functions and features: building
16162dedff36SNick Mathewson   o Implement --enable-gcc-hardening configure option (7550267 Sebastian Hahn)
1617d30466fcSNick Mathewson
16182dedff36SNick Mathewson New functions and features: evbuffers
16192dedff36SNick Mathewson   o Add evbuffer_add_file_segment() so one fd can be used efficiently
16202dedff36SNick Mathewson     in more than one evbuffer_add_file at a time (e72afae, c2d9884,
16212dedff36SNick Mathewson     3f405d2, 0aad014)
16222dedff36SNick Mathewson   o Fix windows file segment mappings (8254de7)
16232dedff36SNick Mathewson   o Allow evbuffer_ptr_set to yield a point just after the end of the
16242dedff36SNick Mathewson     buffer. (e6fe1da)
16252dedff36SNick Mathewson   o Allow evbuffer_ptr to point to position 0 in an empty evbuffer
16262dedff36SNick Mathewson     (7aeb2fd Nir Soffer)
162788b4f0bbSNick Mathewson   o Set the special "not found" evbuffer_ptr consistently. (e3e97ae Nir Soffer)
16282dedff36SNick Mathewson   o support adding buffers to other buffers non-destructively
16292dedff36SNick Mathewson     (9d7368a Joachim Bauch)
16302dedff36SNick Mathewson   o prevent nested multicast references, reworked locking (26041a8
16312dedff36SNick Mathewson     Joachim Bauch)
16322dedff36SNick Mathewson   o New EVBUFFER_EOL_NUL to read NUL-terminated strings from an
16332dedff36SNick Mathewson     evbuffer (d7a8b36 Andrea Montefusco, 54142c9)
16342dedff36SNick Mathewson   o Make evbuffer_file_segment_types adaptable (c6bbbf1)
16352dedff36SNick Mathewson   o Added evbuffer_add_iovec and unit tests. (aaec5ac Mark Ellzey, 27b5398)
16362dedff36SNick Mathewson   o Add evbuffer_copyout_from to copy data from the middle of a
16372dedff36SNick Mathewson     buffer (27e2225)
1638d30466fcSNick Mathewson
16392dedff36SNick Mathewson New functions and features: bufferevents
16402dedff36SNick Mathewson   o Allow users to set allow_dirty_shutdown (099d27d Catalin Patulea)
16412dedff36SNick Mathewson   o Tweak allow_dirty_shutdown documentation (a44cd2b)
16422dedff36SNick Mathewson   o Fix two issues in the allow_dirty_shutdown code. (f3b89de)
16432dedff36SNick Mathewson   o Add a bufferevent_getcb() to find a bufferevent's current
16442dedff36SNick Mathewson     callbacks (a650394)
16452dedff36SNick Mathewson   o bufferevent: Add functions to set/get max_single_read/write
16462dedff36SNick Mathewson     values. (998c813 Alexander Drozdov)
16472dedff36SNick Mathewson   o bev_ssl: Be more specific in event callbacks. evhttp in particular gets
16482dedff36SNick Mathewson     confused without at least one of BEV_EVENT_{READING|WRITING}. (f7eb69a
16492dedff36SNick Mathewson     Catalin Patulea)
1650d30466fcSNick Mathewson
16512dedff36SNick Mathewson New functions and features: evconnlisteners
16522dedff36SNick Mathewson   o Support TCP_DEFER_ACCEPT sockopts for listeners (5880e4a Mark Ellzey,
16532dedff36SNick Mathewson     a270728)
16542dedff36SNick Mathewson   o Add another caveat to the TCP_DEFER_ACCEPT documentation (a270728)
16552dedff36SNick Mathewson   o Allow evconnlistener to be created in disabled state. (9593a33
16562dedff36SNick Mathewson     Alexander Drozdov)
16572dedff36SNick Mathewson   o The LEV_OPT_CLOSE_ON_EXEC flag now applies to accepted listener
16582dedff36SNick Mathewson     sockets too (4970329)
1659d30466fcSNick Mathewson
16602dedff36SNick Mathewson Evhttp:
16612dedff36SNick Mathewson   o Add new evhttp_{connection_}set_timeout_tv() functions to set
16622dedff36SNick Mathewson     finger-grained http timeouts (6350e6c Constantine Verutin)
16632dedff36SNick Mathewson   o Performance tweak to evhttp_parse_request_line. (aee1a97 Mark Ellzey)
16642dedff36SNick Mathewson   o Add missing break to evhttp_parse_request_line (0fcc536)
16652dedff36SNick Mathewson   o Add evhttp callback for bufferevent creation; this lets evhttp
16662dedff36SNick Mathewson     support SSL. (8d3a850)
16672dedff36SNick Mathewson   o Remove calls to deprecated bufferevent functions from evhttp.c (4d63758)
16682dedff36SNick Mathewson   o evhttp: Add evhttp_foreach_bound_socket. (a2c48e3 Samy Al Bahra)
1669d30466fcSNick Mathewson
16702dedff36SNick Mathewson Build improvements:
16712dedff36SNick Mathewson   o Add AC_USE_SYSTEM_EXTENSIONS to configure.in. Requires follow on
16722dedff36SNick Mathewson     patches for correctness and robustness. (1fa7dbe Kevin Bowling)
16732dedff36SNick Mathewson   o Filter '# define' statements from autoconf and generate
16742dedff36SNick Mathewson     event-private.h (321b558 Kevin Bowling)
16752dedff36SNick Mathewson   o Remove internal usage of _GNU_SOURCE (3b26541 Kevin Bowling)
16762dedff36SNick Mathewson   o Eliminate a couple more manual internal _GNU_SOURCE defines (c51ef93
16772dedff36SNick Mathewson     Kevin Bowling)
16782dedff36SNick Mathewson   o Add AC_GNU_SOURCE to the fallback case. (ea8fa4c Kevin Bowling)
16792dedff36SNick Mathewson   o Use a Configuration Header Template for evconfig-private.h (868f888
16802dedff36SNick Mathewson     Kevin Bowling)
16812dedff36SNick Mathewson   o Fix a comment warning and add evconfig-private.h to .gitignore
16822dedff36SNick Mathewson     (f6d66bc Kevin Bowling)
16832dedff36SNick Mathewson   o Include evconfig-private.h in internal files for great good. (0915ca0
16842dedff36SNick Mathewson     Kevin Bowling)
16852dedff36SNick Mathewson   o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
16862dedff36SNick Mathewson     (ad03952 Kevin Bowling)
16872dedff36SNick Mathewson   o Prefer the ./configure evconfig-private.h in MinGW, just in
16882dedff36SNick Mathewson     case. (f964b72 Kevin Bowling)
16892dedff36SNick Mathewson   o Shell hack for weird mkdir -p commands (fd7b5a8 Kevin Bowling)
16902dedff36SNick Mathewson   o Add evconfig-private to remaining files (ded0a09 Kevin Bowling)
16912dedff36SNick Mathewson   o Allow use of --enable-silent-rules for quieter compilation with
16922dedff36SNick Mathewson     automake 1.11 (f1f8514 Dave Hart)
16932dedff36SNick Mathewson   o Use "_WIN32", not WIN32: it's standard and we don't need to fake it
16942dedff36SNick Mathewson     (9f560b)
16952dedff36SNick Mathewson   o In configure, test for _WIN32 not WIN32. (85078b1 Peter Rosin)
16962dedff36SNick Mathewson   o Do not define WIN32 in Makefile.nmake (d41f3ea Peter Rosin)
16972dedff36SNick Mathewson   o Provide the autoconf m4 macros for the new OpenSSL via pkg-config
16982dedff36SNick Mathewson     stuff. (674dc3d Harlan Stenn)
16992dedff36SNick Mathewson   o Use pkg-config (if available) to handle OpenSSL. (1c63860 Harlan Stenn)
17002dedff36SNick Mathewson   o We need AM_CPPFLAGS when compiling bufferevent_openssl.c (6d2613b
17012dedff36SNick Mathewson     Harlan Stenn)
17022dedff36SNick Mathewson   o Fix OSX build: $(OPENSSL_INCS) needs to be after
17032dedff36SNick Mathewson     $(AM_CPPFLAGS). (46f1769 Zack Weinberg)
17042dedff36SNick Mathewson   o Make gcc warnings on by default, and --enable-gcc-warnings only add
17052dedff36SNick Mathewson     -Werror (d46517e Sebastian Hahn)
17062dedff36SNick Mathewson   o Split up extra-long AC_CHECK_FUNCS/HEADERS lines in configure.in (88a30ad)
17072dedff36SNick Mathewson   o Move libevent 1.x headers to include/, to put all public headers in
17082dedff36SNick Mathewson     one place. (bbea8d6)
17092dedff36SNick Mathewson   o Put #ifdef around some files to support alternate build
17102dedff36SNick Mathewson     systems. (76d4c92 Ross Lagerwall)
17112dedff36SNick Mathewson   o Also make win32select.c conditional for IDE users (bf2c5a7)
1712d30466fcSNick Mathewson
17132dedff36SNick Mathewson Debugging:
17142dedff36SNick Mathewson   o Add a magic number to debug_locks to better catch lock-coding
17152dedff36SNick Mathewson     errors. (b4a29c0 Dave Hart)
17162dedff36SNick Mathewson   o munge the debug_lock signature before freeing it: it might help us
17172dedff36SNick Mathewson     catch use-after-free (f28084d)
17182dedff36SNick Mathewson   o Added --enable-event-debugging in configure (bc7b4e4, a9c2c9a Mark Ellzey)
17192dedff36SNick Mathewson   o Debug addition for printing usec on TIMEOUT debugging. (ac43ce0 Mark Ellzey)
17202dedff36SNick Mathewson   o Added usec debug in another area for debug (3baab0d Mark Ellzey)
17212dedff36SNick Mathewson   o added timeout debug logs to include event ptr. (4b7d298 Mark Ellzey)
17222dedff36SNick Mathewson   o more event dbg updates (6727543 Mark Ellzey)
17232dedff36SNick Mathewson   o Clarify event_enable_debug_logging a little (6207826)
17242dedff36SNick Mathewson   o Make --enable-verbose-debug option match its help text (10c3450)
17252dedff36SNick Mathewson   o Add argument checks to some memory functions in `event.c'. (c8953d1
17262dedff36SNick Mathewson     Mansour Moufid)
1727d30466fcSNick Mathewson
17282dedff36SNick Mathewson Testing:
17292dedff36SNick Mathewson   o More abstraction in test.sh (cd74c4e)
17302dedff36SNick Mathewson   o Add failing test for evbuffer_search_range. (8e26154 Nir Soffer)
17312dedff36SNick Mathewson   o Tweaks to return types with end-of-buf ptrs (9ab8ab8)
17322dedff36SNick Mathewson   o Add an (internal) usleep function for use by unit tests (f25d9d3)
17332dedff36SNick Mathewson   o Synchronize with upstream tinytest (6c81be7)
17342dedff36SNick Mathewson   o Make test-changelist faster (7622d26)
17352dedff36SNick Mathewson   o Reduce the timeout in the main/fork test. (ab14f7c)
17362dedff36SNick Mathewson   o New evhttp function to adjust initial retry timeout (350a3c4)
17372dedff36SNick Mathewson   o Make regression tests run over 3x faster. (67a1763)
17382dedff36SNick Mathewson   o Use test_timeval_diff_eq more consistently (b77b43f)
17392dedff36SNick Mathewson   o Allow more slop in deferred_cb_skew test; freebsd needs it (b9f7e5f)
17402dedff36SNick Mathewson   o When including an -internal.h header outside the main tree, do so
17412dedff36SNick Mathewson     early (95e2455)
17422dedff36SNick Mathewson   o Add a new test: test-fdleak which tests for fd leaks by creating many
17432dedff36SNick Mathewson     sockets. (2ef9278 Ross Lagerwall, f7af194, 1c4288f, etc)
17442dedff36SNick Mathewson   o Add a unit test for event_base_dump_events() (7afe48a, 8d08cce)
17452dedff36SNick Mathewson   o Test more bufferevent_ratelim features (c24f91a)
1746d30466fcSNick Mathewson
17472dedff36SNick Mathewson Documentation:
17482dedff36SNick Mathewson   o Improve evbuffer_ptr documentation (261ba63)
174988b4f0bbSNick Mathewson   o added comments to describe refcounting of multicast chains (ba24f61
17502dedff36SNick Mathewson     Joachim Bauch)
17512dedff36SNick Mathewson   o Add doxygen for event_base_dump_events (cad5753)
1752d30466fcSNick Mathewson
17532dedff36SNick Mathewson OSX:
17542dedff36SNick Mathewson   o Use "unlimited select" on OSX so that we can have more than
17552dedff36SNick Mathewson     FD_SETSIZE fds (1fb5cc6)
1756d30466fcSNick Mathewson
17572dedff36SNick Mathewson KQueue:
17582dedff36SNick Mathewson   o Use SIG_IGN instead of a do-nothing handler for signal events with
17592dedff36SNick Mathewson     kqueue (148458e Zack Weinberg)
1760d30466fcSNick Mathewson
17612dedff36SNick Mathewson evprc:
17622dedff36SNick Mathewson   o event_rpcgen.py now prints status information to stdout and errors to
17632dedff36SNick Mathewson     stderr. (ffb0ba0 Ross Lagerwall)
1764d30466fcSNick Mathewson
17652dedff36SNick Mathewson Code improvement and refactoring:
17662dedff36SNick Mathewson   o Make event_reinit() more robust and maintainable (272033e)
17672dedff36SNick Mathewson   o Restore fast-path event_reinit() for slower backends (2c4b5de)
17682dedff36SNick Mathewson   o Check changelist as part of checking representational integrity (39b3f38)
17692dedff36SNick Mathewson   o Fix a compile warning in event_reinit (e4a56ed Sebastian Hahn)
17702dedff36SNick Mathewson   o Refactor the functions that run over every event. (c89b4e6)
17712dedff36SNick Mathewson   o Remove the last vestiges of _EVENT_USE_EVENTLIST (a3cec90)
17722dedff36SNick Mathewson   o Make event-config.h depend on Makefile.am (2958a5c)
1773d30466fcSNick Mathewson
17742dedff36SNick Mathewson Build fixes:
17752dedff36SNick Mathewson   o Don't do clang version detection when disabling some flags (083296b
17762dedff36SNick Mathewson     Sebastian Hahn)
1777d30466fcSNick Mathewson
17782dedff36SNick Mathewson C standards conformance:
17792dedff36SNick Mathewson   o Check for NULL return on win32 mm_calloc, and set ENOMEM. (af7ba69)
17802dedff36SNick Mathewson   o Convert event-config.h macros to avoid reserved identifiers (68120d9)
17812dedff36SNick Mathewson   o Generate event-config.h using the correct macros. (f82c57e)
17822dedff36SNick Mathewson   o Convert include-guard macro convention to avoid reserved identifiers
17832dedff36SNick Mathewson     (3f8c7cd)
178488b4f0bbSNick Mathewson   o Make event_rpcgen.py output conform to identifier conventions (372bff1)
17852dedff36SNick Mathewson   o Stop referring to an obsolete include guard in bench_http.h (5c0f7e0)
17862dedff36SNick Mathewson   o Make the generated event-config.h use correct include guards (639383a)
17872dedff36SNick Mathewson   o Fix all identifiers with names beginning with underscore. (cb9da0b)
178888b4f0bbSNick Mathewson   o Make event_rpcgen.py output conform to identifier conventions, more
17892dedff36SNick Mathewson     (bcefd24)
17902dedff36SNick Mathewson   o Fix some problems introduced by automated identifier cleanup script
17912dedff36SNick Mathewson     (c963534)
17922dedff36SNick Mathewson   o Have all visible internal function names end with an underscore. (8ac3c4c)
17932dedff36SNick Mathewson   o Apply the naming convention to our EVUTIL_IS* functions (c7848fa)
17942dedff36SNick Mathewson   o Clean up lingering _identifiers. (946b584)
17952dedff36SNick Mathewson   o Fix doxygen to use new macro conventions (da455e9)
1796d30466fcSNick Mathewson
17972dedff36SNick Mathewson Bugfixes:
17982dedff36SNick Mathewson   o Do not use system EAI/AI values if we are not using the system
17992dedff36SNick Mathewson     getaddrinfo. (7bcac07)
1800d30466fcSNick Mathewson
18012dedff36SNick Mathewson Sample Code:
18022dedff36SNick Mathewson   o Fix up sample/event-test.c to use newer interfaces and make it
18032dedff36SNick Mathewson     actually work. (19bab4f Ross Lagerwall)
18042dedff36SNick Mathewson   o On Unix, remove event.fifo left by sample/event-test.c. (c0dacd2 Ross
18052dedff36SNick Mathewson     Lagerwall)
18062dedff36SNick Mathewson   o Rename event-test.c to event-read-fifo.c. (a5b370a Ross Lagerwall)
18072dedff36SNick Mathewson   o event-read-fifo: Use EV_PERSIST appropriately (24dab0b)
180815be0493SNick Mathewson
18091aa6826fSNiels Provos
181087bef9e9SNiels Provos
181111a0a9e4SNiels Provos
1812