ChangeLog 114 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162
  1. Changes in version 2.1.12-stable (05 Jul 2020)
  2. This release contains mostly bug fixes (I decided not to port some features
  3. that can be ported even without ABI breakage, if you cannot find feature that
  4. you are interested in, please give us a note!)
  5. Since 2.1.12 libevent will use github actions as main CI, since
  6. it recommends itself better then travis/appveyor (and had been removed from
  7. upstream).
  8. Look carefully at "slightly touches the behaviour" section.
  9. Below you will find some of changes (this list has been cleaned up from the
  10. patches that touches only tests and similar):
  11. CI:
  12. o Backport github actions to 2.1 (be3acd7c Azat Khuzhin)
  13. o Merge branch 'event_rpcgen.py-cleanup' (f0ded5f3, 48e04887 Enji Cooper)
  14. o Add API/ABI checker (using LVC) (709210d4, 2af1f6cc yuangongji)
  15. test:
  16. o tinytest: support timeout on Windows (794e8f75 yuangongji)
  17. o Merge branch 'osx-clock' (e85afbe3 Azat Khuzhin)
  18. o test-ratelim: calculate timers bias (for slow CPUs) to avoid false-positive (8ad26d0b Azat Khuzhin)
  19. fixes:
  20. o buffer: do not pass NULL to memcpy() from evbuffer_pullup() (5b063049 Azat Khuzhin)
  21. o http: fix undefined-shift in EVUTIL_IS*_ helpers (6b8d02a7 Azat Khuzhin)
  22. o Check error code of evhttp_add_header_internal() in evhttp_parse_query_impl() (97e28f09 Azat Khuzhin)
  23. o http: fix EVHTTP_CON_AUTOFREE in case of timeout (and some else) (1be25938 Azat Khuzhin)
  24. o evdns: Add additional validation for values of dns options (c2972453 ayuseleznev)
  25. o There is typo in GetAdaptersAddresses windows library. It should be iphlpapi.dll (891adda9 Aleksandr-Melnikov)
  26. o Merge branch 'EV_CLOSED-and-EV_ET-fixes' (db2efdf5 Azat Khuzhin)
  27. o Fix memory corruption in EV_CLOSURE_EVENT_FINALIZE with debug enabled (8ccd8f56 Jan Kasiak)
  28. o increase segment refcnt only if evbuffer_add_file_segment() succeeds (30662a3c yuangongji)
  29. o evdns: fix a crash when evdns_base with waiting requests is freed (6f8e0e97 ayuseleznev)
  30. o event_base_once: fix potential null pointer threat (2e9ceb16 chenguolong)
  31. o http: do not assume body for CONNECT (1b42270b Azat Khuzhin)
  32. o evbuffer_add_file: fix freeing of segment in the error path (5f017bde Azat Khuzhin)
  33. o Fix checking return value of the evdns_base_resolv_conf_parse() (fc51bf2c Azat Khuzhin)
  34. o Merge branch 'fix-signal-leak' (poll/select now needs reinit) (1c9cc07b Azat Khuzhin)
  35. improvements:
  36. o evutil_time: improve evutil_gettimeofday on Windows (a8219143 Nick Grifka)
  37. o Support EV_CLOSED on linux for poll(2) (2530e7c6 Azat Khuzhin)
  38. o Parse IPv6 scope IDs. (f602211f Philip Homburg)
  39. o evutil_time: Implements usleep() using wait funtion on Windows (d42240d1 yuangongji)
  40. o evutil_time: detect and use _gmtime64_s()/_gmtime64() (f4a6152c yuangongji)
  41. slightly touches the behaviour:
  42. o bufferevent: allow setting priority on socket and openssl type (4dd3acdd Nicolas J. Bouliane)
  43. o Fix EV_CLOSED detection/reporting (epoll only) (1df324d4 Azat Khuzhin) (XXX)
  44. o Revert "Warn if forked from the event loop during event_reinit()" (71f5c0d3 Azat Khuzhin)
  45. samples:
  46. o https-client: load certificates from the system cert store on Windows (e9478640 yuangongji)
  47. build fixes:
  48. o Do not use sysctl.h on linux (it had been deprecated) (d2871a37 Azat Khuzhin)
  49. o cmake: avoid problems from use of CMAKE_USE_PTHREADS_INIT (a62ec765 Paul Osborne)
  50. o Update list of cmake files for autotools dist archive (2016f017 Azat Khuzhin)
  51. o LibeventConfig.cmake: restore CMAKE_FIND_LIBRARY_SUFFIXES and LIBEVENT_STATIC_LINK default (640f9cf6 Mario Emmenlauer)
  52. o cmake: fix getaddrinfo checking error (dea51c2e yuangongji)
  53. o autoconf: fix getaddrinfo checking errors on mingw (b9bf7fa7 yuangongji)
  54. o Do not use shared global structures on CYGWIN (8a9b5655 Azat Khuzhin)
  55. o Added uninstall target check to cmakelists (3f1fb1f9 Dimo Markov)
  56. o Fix compilation without OPENSSL_API_COMPAT (921bdcdd Azat Khuzhin)
  57. o cmake: improve package config file (1c047618, baec84f2 yuangongji)
  58. o Link with iphlpapi only on windows (976f7d34 Azat Khuzhin)
  59. o autotools: fails build when need but can not find openssl (93174bb5 yuangongji)
  60. o Merge branch 'http-connect' (e2424229 Azat Khuzhin)
  61. o Fix compat with NetBSD >= 10 (5febb4e1 Kamil Rytarowski)
  62. o cmake: fix getrandom() detection (e0e5f3bd Azat Khuzhin)
  63. o arc4random: replace sysctl() with getrandom (on linux) (66ec78fd Azat Khuzhin)
  64. o Upgrade autoconf (after upgrading minimum required to 2.67) (45da7d9d yuangongji)
  65. o eliminate some C4267 warnings in Windows (9e468c77 yuangongji)
  66. o autotools: attach doxygen target into all target (5d1e8570 yuangongji)
  67. o cmake: attach doxygen target into all target (7a85300a yuangongji)
  68. o Change the minimum version of automake to 1.13 and autoconf to 2.67 (fdb8fb66 ygj6)
  69. o Add Uninstall.cmake.in into dist archive (877f2355 Azat Khuzhin)
  70. Changes in version 2.1.11-stable (01 Aug 2019)
  71. This release contains one ABI breakage fix (that had been introduced in
  72. 2.1.10, and strictly speaking this release breaks ABI again to make it
  73. compatible with 2.1.9 and less, please take a look at 18104973 for more
  74. details). Apart from that it contains some bug fixes, that grouped below.
  75. And even though the return value for evbuffer_setcb() had been changed it
  76. should ABI compatible (anyway that function is in -compat.h header).
  77. There is also one patch that introduce new functionality, this is 546a366c,
  78. to tune SO_RCVBUF/SO_SNDBUF in evdns, but one can count it as a bug-fix on
  79. the application level, since before you cannot tune this settings and hence
  80. you could stumble on problems.
  81. ABI breakage:
  82. o Protect min_heap_push_ against integer overflow. (8c899768 Tobias Stoeckmann)
  83. o Revert "Protect min_heap_push_ against integer overflow." (18104973 Azat Khuzhin)
  84. functionality:
  85. o evdns: add new options -- so-rcvbuf/so-sndbuf (546a366c Azat Khuzhin)
  86. build:
  87. o Change autoconf version to 2.62 and automake version to 1.11.2 (2a333008 yuangongji)
  88. o cmake: install shared library only if it was requested (596855f7 Azat Khuzhin)
  89. o Missing <winerror.h> on win7/MinGW(MINGW32_NT-6.1)/MSYS (9559349c yuangongji)
  90. o cmake: set library names to be the same as with autotools (305251b9 yuangongji)
  91. o Enable _GNU_SOURCE for Android (f013fc7d Keith Smiley)
  92. o Enable kqueue for APPLE targets (3aa68a82 Keith Smiley)
  93. o autotools: do not install bufferevent_ssl.h under --disable-openssl (5349a07e Azat Khuzhin)
  94. o cmake: link against shell32.lib/advapi32.lib (c9ce638c Azat Khuzhin)
  95. o Add README.md into dist archive (3660a4cc Azat Khuzhin)
  96. o cmake: add missing autotools targets (doxygen, uninstall, event_rpcgen.py) (2d65071c yuangongji)
  97. o m4/libevent_openssl.m4: fix detection of openssl (d4056e59 Fabrice Fontaine)
  98. o Fix detection of the __has_attribute() for apple clang [ci skip] (7fd7c5ef Azat Khuzhin)
  99. lib:
  100. o buffer: fix possible NULL dereference in evbuffer_setcb() on ENOMEM (598f247d Azat Khuzhin)
  101. o Warn if forked from the event loop during event_reinit() (b75922ae Azat Khuzhin)
  102. o evutil: set the have_checked_interfaces in evutil_check_interfaces()
  103. (ef498aa2, a09265ac jeremyerb)
  104. samples:
  105. o https-client: correction error checking (a8a04565 wenyg)
  106. Changes in version 2.1.10-stable (26 May 2019)
  107. This release contains mostly fixes (some evbuffer oddity, AF_UNIX handling in
  108. http server, some UB fixes and others) but also some new functionality
  109. (without ABI breakage as usual) and now dist archive can be used for building
  110. on windows (getopt had been added into it).
  111. Above you will find changelog for this particular release (but with some
  112. trivial fixes pruned out from it - to make it a little bit more informative).
  113. To view full changelog please use git:
  114. git log --format=' o %s (%h %aN)' release-2.1.9-beta...release-2.1.10-stable
  115. dist:
  116. o Add getopt into dist archive (7042ff24 Azat Khuzhin)
  117. functionality:
  118. o evdns: add DNS_OPTION_NAMESERVERS_NO_DEFAULT/EVDNS_BASE_NAMESERVERS_NO_DEFAULT
  119. (58e81106 Azat Khuzhin)
  120. o Add support for EV_TIMEOUT to event_base_active_by_fd (3f893f0a John Ohl)
  121. fixes:
  122. o Merge branch 'evbuffer-fixes-806-v2' (2fea04b3 Azat Khuzhin)
  123. o Merge branch 'issue-807-accept4-getnameinfo-AF_UNIX' (7c4da937, e2790a7f
  124. Azat Khuzhin)
  125. o kqueue: Avoid undefined behaviour. (e70e18e9 Tobias Stoeckmann)
  126. o Prevent integer overflow in kq_build_changes_list. (43a55a23 Tobias Stoeckmann)
  127. o evdns: fix lock/unlock mismatch in evdns_close_server_port() (54103883 zhuizhuhaomeng)
  128. o Merge remote-tracking branch 'official/pr/804' -- Enforce limit of NSIG
  129. signals (87fa93a8 Tobias Stoeckmann)
  130. o Protect min_heap_push_ against integer overflow. (0b46bb8c Tobias Stoeckmann)
  131. o le-proxy: initiate use of the Winsock DLL (2a1e1530 linxiaohui)
  132. o Fix leaks in error path of the bufferevent_init_common_() (bb0f8fe7 Azat Khuzhin)
  133. o buffer: make evbuffer_prepend() of zero-length array no-op (61fa7b7d Azat Khuzhin)
  134. o Merge branch 'evbuffer-empty-chain-handling' (6a3dd717 Azat Khuzhin)
  135. o Don't loose top error in SSL (3d1a7a1d Yury Korzhetsky)
  136. o Remove needless check for arc4_seeded_ok (6602a97d Seong-Joong Kim)
  137. o Merge pull request #769 from sungjungk/fix-return-handling (91084140 Nathan French)
  138. build:
  139. o Define `_GNU_SOURCE` properly/consistently per autoconf (00ba9fa2 Enji Cooper)
  140. o signal: guard __cdecl definition with #ifdef (d89045a6 Azat Khuzhin)
  141. o Link test/regress with event_core/event_extra over event (22380996 Azat Khuzhin)
  142. tests:
  143. o Use kill() over raise() for raising the signal (fixes osx 10.14 with
  144. kqueue) (3db5296b, a45f6733 Azat Khuzhin)
  145. o tinytest: implement per-test timeout (via alarm() under !win32 only)
  146. (b64dbfb6, 75d7e1ff Azat Khuzhin)
  147. Changes in version 2.1.9-beta (10 February 2019)
  148. This changelog will differs from other releases in the next few clauses:
  149. - contains only highlighted changes (so now it will not contains a lot of
  150. patches that fixes some stuff in regression tests, typos, leaks fixes in
  151. samples and so forth)
  152. - no authors (since merge commits breaks them anyway, but AUTHORS sections in
  153. README will be kept up to date)
  154. - group name trimmed from commit subjects trimmed
  155. - it's been 2 years since the previoius release, so it is pretty huge
  156. And I think that this is more useful, so from now on it will always has the
  157. same look (until there will too many objections of course).
  158. To view full changelog please use git:
  159. git log --format=' o %s (%h %aN)' release-2.1.8-stable...release-2.1.9-beta
  160. dist archive:
  161. o Add cmake rules into dist archive (bf3a67cf)
  162. o Add missing print-winsock-errors.c into dist archive (822d6462)
  163. o Include openssl-compat.h into dist archive (08658136)
  164. core:
  165. o Merge branch 'check-O_NONBLOCK-in-debug' (a39898f3, a8155c62)
  166. o Merge branch 'event-ET-#636-v2' (ca4b6404)
  167. o Fix visibility issues under (mostly on win32)
  168. (349081e1g, 802be13ag, a1f28e2f)
  169. o Define __EXT_POSIX2 for QNX (a2176f2c)
  170. o Cleanup __func__ detection (b3af7bdd)
  171. o Add convenience macros for user-triggered events (06ec5de6)
  172. o Notify event base if there are no more events, so it can exit without delay (d9d1c09e)
  173. o Fix base unlocking in event_del() if event_base_set() runned in another thread (4f0f40e3)
  174. o If precise_time is false, we should not set EVENT_BASE_FLAG_PRECISE_TIMER (27dee54d)
  175. o Fix race in access to ev_res from event loop with event_active() (43d92a6d)
  176. o Return from event_del() after the last event callback termination (876c7ac7)
  177. http:
  178. o Merge branch 'http-EVHTTP_CON_READ_ON_WRITE_ERROR-fixes-v2' (eb7b472b)
  179. o Preserve socket error from listen across closesocket cleanup (2ccd00a6)
  180. o fix connection retries when there more then one request for connection (d30e7bba)
  181. o improve error path for bufferevent_{setfd,enable,disable}() (a8cc449e)
  182. o Fix conceivable UAF of the bufferevent in evhttp_connection_free() (6ac2ec25)
  183. o Merge branch 'http-request-line-parsing' (cdcfbafe)
  184. o Fix evhttp_connection_get_addr() fox incomming http connections (4215c003)
  185. o fix leaks in evhttp_uriencode() (123362e9)
  186. o CONNECT method only takes an authority (7d1ffe64)
  187. o Allow bodies for GET/DELETE/OPTIONS/CONNECT (23eb38b9)
  188. o Do not crash when evhttp_send_reply_start() is called after a timeout. (826f1134)
  189. o Fix crashing http server when callback do not reply in place (5b40744d, b2581380)
  190. o fix handling of close_notify (ssl) in http with openssl bufferevents (7e91622b)
  191. evrpc:
  192. o use *_new_with_arg() to match function prototype (a95cc9e3)
  193. o avoid NULL dereference on request is not EVHTTP_REQ_POST (e05136c7)
  194. regression tests:
  195. o Merge branch 'TT_RETRIABLE' (6ea1ec68, f9b592aa)
  196. bufferevent:
  197. o Merge branch 'iocp-fixes' (6bfac964)
  198. o Merge branch 'be-wm-overrun-v2' (3f692fff)
  199. o bufferevent_socket_connect{,_hostname}() missing event callback and use ret code (1dde74ef)
  200. o don't fail be_null_filter if bytes are copied (b92b0792)
  201. o Call underlying bev ctrl GET_FD on filtered bufferevents (ebfac517)
  202. bufferevent_openssl/openssl:
  203. o Merge branch 'ssl_bufferevent_wm_filter-fix' (30020a35)
  204. o be_openssl: avoid leaking of SSL structure (e86ccfe5)
  205. o Fix build with LibreSSL 2.7 (894ca48a)
  206. o Add missing includes into openssl-compat.h (01bc36c1)
  207. o Explicitly call SSL_clear when reseting the fd. (29b7a516)
  208. o Unbreak build with LibreSSL after openssl 1.1 support added (230af9f0)
  209. samples:
  210. o Merge branch 'sample-http-server' (b6309bcc)
  211. o sample/https-client: use host SSL certificate store by default (5c0132f3)
  212. listener:
  213. o ipv6only socket bind support (ba148796)
  214. o Merge branch 'listener-immediate-close' (df2ed13f)
  215. o Merge branch 'evconnlistener-do-not-close-client-fd' (42e851bb)
  216. evdns:
  217. o evdns: handle NULL filename explicitly (0033f5cc)
  218. o Merge branch 'evdns_getaddrinfo-race-fix' (3237d697)
  219. o Generating evdns_base_config_windows_nameservers docs on all platforms (3bd2ce43)
  220. utils:
  221. o Merge branch 'evutil_found_ifaddr-dev' (b07e43e6)
  222. o Avoid possible SEGVs in select() (in unit tests) (8818c86c)
  223. o Port `event_rpcgen.py` and `test/check-dumpevents.py` to Python 3. (532a8cc3)
  224. buffer:
  225. o Fix assert() condition in evbuffer_drain() for IOCP (d6326104)
  226. o fix incorrect unlock of the buffer mutex (for deferred callbacks) (2b4d127d)
  227. o Fix wrong assert in evbuffer_drain() (9f4d0dce)
  228. cmake:
  229. o fix checking of devpoll backend (like in autotools, by devpoll.h existence) (7f161902)
  230. o support static runtime (MSVC) (c8b3ec17, 61fb055a)
  231. o do not build both (SHARED and STATIC) for MSVC/win32 (bc7f2fd9)
  232. o introduce EVENT__LIBRARY_TYPE option (eb10a738)
  233. o ensure windows dll's are installed as well as lib files (29590718)
  234. o Fix generation of LibeventConfig.cmake for the installation tree (7fa08c4b)
  235. o fix pkgconfig generation (copy-paste typo) (cc554d87)
  236. o Merge branch 'cmake-missing-bits' (9806b126)
  237. o Fix detection of timerfd_create() in CMake. (e50af331)
  238. o Merge branch 'cmake-configure-fixes-v2' (a0bfe2c4)
  239. o Do not add epoll_sub (syscall wrappers) for epoll in cmake (cea61de6)
  240. o Fix RPATH for APPLE (45b1f379)
  241. autotools:
  242. o include win32 specific headers for socklen_t detection on win32/mingw (d7579fb9)
  243. o Ignore evconfig-private.h for autotools (37423849)
  244. o config.h can't be prefixed unconditionally (63a054f8)
  245. o Merge branch 'pull-628' (7e56c8b2)
  246. o Provide Makefile variables LIBEVENT_{CFLAGS,CPPFLAGS,LDFLAGS} (2f060c5f)
  247. o confirm openssl is working before using (b39ccf8e)
  248. o pass $(OPENSSL_INCS) for samples (FTBFS macOS) (c2495265)
  249. o Add configure check for midipix (d433201e)
  250. o Fix tests with detached builds (c46ff439)
  251. build:
  252. o Fix arc4random_addrandom() detecting and fallback (regression) (303d6d77)
  253. o Merge branch 'win32-fixes' (ebd12e6d)
  254. o Merge branch 'fix-openssl-linking' (e7bd9e03)
  255. o Merge branch 'fix-struct-linger' (8567f2f5)
  256. CI:
  257. o travis-ci/appveyor now uses fast_finish+allow_failures
  258. (5e97b6e6, dd472e7d, dfb5fc167)
  259. o Merge branch 'travis-ci-osx-fixes' (9f02b39c)
  260. o Merge branch 'win64-fixes' (aee0fcd5)
  261. Changes in version 2.1.8-stable (22 January 2017)
  262. Libevent 2.1.8-stable, it contains openssl fixes for resetting fd and using
  263. bufferevent_openssl_filter_new(). vagrant fixes, some build fixes, increased
  264. timeout for some tests (to reduce number of failures due to timing issues),
  265. date in RFC1123 format and running tests in parallel.
  266. There are highlighted changes above.
  267. Build fixes:
  268. o Fix _FILE_OFFSET_BITS redinition (solaris/autotools) (336f3b11 Azat Khuzhin)
  269. o util-internal: fix __func__ redefinition (netbsd) (253e7fa9 Azat Khuzhin)
  270. o Fix signedness differ for iov_base (solaris) (2c62062e Azat Khuzhin)
  271. o evutil_time: include <unistd.h> when there is only sleep()/usleep() (3e75194c Azat Khuzhin)
  272. o http: fix formatter for pritnf for req->ntoread (osx) (1cbf26f6 Azat Khuzhin)
  273. Testing environment:
  274. o Merge branch 'automake-tests-parallel-v4' (*includes ci bits also*) (59e217df Azat Khuzhin)
  275. Vagrant env fixes:
  276. o vagrant/netbsd: missing libtool (9c9be399 Azat Khuzhin)
  277. o vagrant/netbsd: more reliable way of installing packages (36da6877 Azat Khuzhin)
  278. o vagrant/osx: use make instead of gmake (there is no gmake) (f7c70aef Azat Khuzhin)
  279. o vagrant: add centos box (ca591c5b Azat Khuzhin)
  280. Tests:
  281. o test/dns: replace servname since solaris does not have "http" (d6bafbbe Azat Khuzhin)
  282. o test/thread: netbsd is too slow, increase timeout for conditions_simple (3c7422fc Azat Khuzhin)
  283. o test/dns: run async resolving after sync one (to avoid timeouts) (07862531 Azat Khuzhin)
  284. o test/http: turn off some tests that based on backlog filling (falky) (26f416c1 Azat Khuzhin)
  285. Bugfixes:
  286. o Merge branch 'openssl-filter-fixes-v4' (83e0f43b Azat Khuzhin)
  287. o Merge branch 'date-rfc1123' (68def435,4798de6c,4545807d Azat Khuzhin)
  288. o Merge branch 'be-openssl-fd-reset-fix-v2' (86fa0070,32adf434 Azat Khuzhin)
  289. o Merge branch 'openssl-1.1-init-fixes-v2' (18a161f0 Azat Khuzhin)
  290. o Fix incorrect MIME type (23f9a20e johnsonlee)
  291. Trivial fixes:
  292. Documentation updates:
  293. o Update README.md (3821cca1 Breaker)
  294. Changes in version 2.1.7-rc (2 Novemer 2016)
  295. Libevent 2.1.7-rc contains openssl 1.1 support, build fixes, CI improvements
  296. and plus Vagrantfile for testing under multiple OS'es.
  297. Continious Integration:
  298. o Use coveralls.io via travis (9ac000c Azat Khuzhin)
  299. o travis-ci: use container-based infrastructure (7e12e96 Azat Khuzhin)
  300. o travis-ci/osx: fix compiling/linking openssl libraries (9d2f8d4 Azat Khuzhin)
  301. o travis-ci: use gcc-5 (fixes osx|gcc failures) (d7ceae5 Azat Khuzhin)
  302. o Testing with vagrant for 6 OS and cmake+autoconf (9585338 Azat Khuzhin)
  303. o travis-ci/osx: install lcov (e4e099b Azat Khuzhin)
  304. Build Improvements/Fixes:
  305. o Fix cmake -DEVENT__COVERAGE=ON (40fbffc Azat Khuzhin)
  306. o autogen.sh: learn about gmake (9376ac4 Azat Khuzhin)
  307. o autogen.sh: remove all autoconf/automake caches, if any (69cce25 Azat Khuzhin)
  308. o cmake: fix finding python2, and check that it is really 2 (3453c08 Azat Khuzhin)
  309. o cmake: fix CheckFunctionExistsEx/CheckPrototypeDefinition (CMP0054) (43b69b2 Azat Khuzhin)
  310. o cmake: cleanup (dc624ad Zonr Chang)
  311. o cmake/win32: fix running regress, but fixing finding python2 interpreter (bcb990a Azat Khuzhin)
  312. o cmake: use PYTHON_EXECUTABLE to find python2 (a4d044c Azat Khuzhin)
  313. o Merge branch 'force-disable-clockgettime' (83c7cdf Azat Khuzhin)
  314. Code Improvements (core)
  315. o use ev_uint16_t instead of unsigned short for port (e983712 Thomas Bernard)
  316. o Merge branch 'contrib-guide-v2' (b9c5077 Azat Khuzhin)
  317. o poll: Prevent libevent from spinning if POLLNVAL occurs (675974c Tim Hentenaar)
  318. Testing:
  319. o test/regress: cover a polling of invalid fd (cb0df5c Tim Hentenaar)
  320. Code Improvements (bufferevent_openssl)
  321. o Make it build using OpenSSL 1.1.0 (3e9e0a0 Kurt Roeckx)
  322. o Don't call BIO_number_{read|written} on NULL BIOs. (6702da1 Adam Langley)
  323. o Switch from a 512 to 2048-bit RSA key. (f9803a6 Adam Langley)
  324. Trivial fixes:
  325. o Ignore temporary configure files (8fb08ae Azat Khuzhin)
  326. o README.md: fix typo: ar -> are (2361616 Simone Basso)
  327. o be: just a simple mistake, reinclude the <errno.h> (7521664 Seven)
  328. Changes in version 2.1.6-beta (4 July 2016)
  329. Libevent 2.1.6-beta contains mostly bug fixes (evbuffers, evthread, evdns,
  330. bufferevents, core, http, samples), improvements but mostly to fix some
  331. possible issues (EVHTTP_CON_LINGERING_CLOSE), a lot of new unit tests and new
  332. appveyor integration.
  333. Security Fixes (utils)
  334. o evutil_parse_sockaddr_port(): fix buffer overflow (329acc1 Azat Khuzhin)
  335. Security Fixes (evdns)
  336. o evdns: name_parse(): fix remote stack overread (96f64a0 Azat Khuzhin)
  337. o evdns: fix searching empty hostnames (ec65c42 Azat Khuzhin)
  338. New APIs (evdns)
  339. o New function to get address for nameserver. (537177d Nick Mathewson)
  340. New APIs (bufferevents)
  341. o expose bufferevent_incref/decref (with fewer modifications) (1ed6718 Mark Ellzey)
  342. New APIs (internal)
  343. o evdns: export cancel via callbacks in util (like async lib core/extra issues) (8cbe65d Azat Khuzhin)
  344. New APIs/Improvements (http)
  345. o http: take EVHTTP_CON_LINGERING_CLOSE into account for "Expect: 100-Continue" (ac448a7 Azat Khuzhin)
  346. o http: lingering close (like nginx have) for entity-too-large (9fde518 Azat Khuzhin)
  347. o http: read server response even after server closed the connection (680742e Azat Khuzhin)
  348. o http: export evhttp_connection_set_family() (714fc70 Azat Khuzhin)
  349. o http: reuse connected address only with EVHTTP_CON_REUSE_CONNECTED_ADDR (a50f5f0 Azat Khuzhin)
  350. o http: use IP address that we got before (if any) during retrying (54c887d Azat Khuzhin)
  351. Bugfixes (core)
  352. o Fix getaddrinfo under solaris (for multiprotocol case) (40730ae Azat Khuzhin)
  353. o Check for Mac OS X 10.4 kqueue bug properly (df6f99e Mark Mentovai)
  354. o event_reinit: make signals works after fork() without evsig_add() (88640aa Nicholas Marriott)
  355. o event_reinit: always re-init signal's socketpair (ad0c237 Nicholas Marriott)
  356. o Free event queues even for recursive finalizers (7c8d015 Azat Khuzhin)
  357. o Fix checking for make_base_notifiable() (f337296 Azat Khuzhin)
  358. o Set correct socklen for PF_INET6 sockaddr len (3499ad9 Mark Ellzey)
  359. o Fix garbage value in socketpair util function, stdint? (043ae74 Mark Ellzey)
  360. o fix the return value of event_deferred_cb_schedule_ (38cef64 Greg Hazel)
  361. o event_free_debug_globals_locks(): disable lock debugging (e5c87d1 Azat Khuzhin)
  362. o event: call event_disable_debug_mode() in libevent_global_shutdown() (941faae Azat Khuzhin)
  363. o ht-internal: don't reset hth_table_length explicitly in name_##HT_CLEAR (597c7b2 Azat Khuzhin)
  364. Bugfixes (evthread)
  365. o evthread: fix evthread_setup_global_lock_() for debug-lock with a real-lock case (e4556fc Azat Khuzhin)
  366. o evthread: evthreadimpl_disable_lock_debugging_() for libevent_global_shutdown() (ccc5593 Azat Khuzhin)
  367. Bugfixes (evdns)
  368. o evdns: avoid double-free in evdns_base_free() for probing requests (4db15e0 Azat Khuzhin)
  369. o evdns: evdns_base_free(): fix UAF of evdns_base with @fail_requests (00313c5 Azat Khuzhin)
  370. o evdns: evdns_base_free(): free requests before namservers (14f84bb Azat Khuzhin)
  371. o evdns: fix randomize-case by make case-insensitive as required (9c238de Azat Khuzhin)
  372. Bugfixes (bufferevents)
  373. o be_sock: handle readv() returns ECONNREFUSED (freebsd 9.2) (3189eb0 Azat Khuzhin)
  374. o be_filter: avoid data stuck under active watermarks (b627ad8 Eduardo Panisset)
  375. o Fix bufferevent_pair to properly set BEV_EVENT_{READING,WRITING} on flush. (2851889 David Paschich)
  376. o be_openssl: clear all pending errors before SSL_*() calls (38e0f4a Azat Khuzhin)
  377. o be_sock: cancel in-progress dns requests (86dfd2c Azat Khuzhin)
  378. o be_sock: unfreeze buffers on fd changing (255525d Azat Khuzhin)
  379. o be_sock: bufferevent_socket_connect_hostname(): make it thread-safe (809bb39 Azat Khuzhin)
  380. o be_openssl: don't call do_write() directly from outbuf_cb (da52933 Azat Khuzhin)
  381. o be_openssl: use bufferevent_enable() instead of bufferevent_add_event_() (0c66d32 Azat Khuzhin)
  382. o be_openssl: don't add events during bev creation (like be_sock) (f4b6284 Azat Khuzhin)
  383. o Fix lock leak in be_pair_flush() if flush type is BEV_NORMAL (f45d39d Bill Vaughan)
  384. o be_openssl: don't use *_auto() in do_handshake() we can't have fd == -1 there (877280d Azat Khuzhin)
  385. o be_openssl: don't call set_open_callbacks() if fd == -1 (e8a2da9 Azat Khuzhin)
  386. o be_openssl: get rid off hackish "fd_is_set", to fix some corner cases (40b0379 Azat Khuzhin)
  387. o be: we don't need to use getpeername() we we have conn_address (2c271e2 Azat Khuzhin)
  388. o Call underlying bev ctrl SET_FD on filtered bufferevents (c2aa7dc Mark Ellzey)
  389. o be_pair: release shared lock with the latest of bufferevent_pair (92a359e Azat Khuzhin)
  390. Bugfixes (http)
  391. o [Issue #313] set method to ASCII "NULL" if evhttp_method() returns NULL (17cc636 Mark Ellzey)
  392. o evhttp_have_expect(): fix -Wlogical-not-parentheses (24b5214 Azat Khuzhin)
  393. o http: set fd to -1 unconditioally, to avoid leaking of DNS requests (7a4b472 Azat Khuzhin)
  394. o http: avoid leaking of fd in evhttp_connection_free() (f0e1341 Azat Khuzhin)
  395. o http: get fd from be layer during connection reset (4a53c54 Azat Khuzhin)
  396. o http: fix EVHTTP_CON_READ_ON_WRITE_ERROR when it doesn't supported by OS (2ff164a Azat Khuzhin)
  397. o http: do not do function calls under EVUTIL_ASSERT() to fix NDEBUG builds (7c89999 Azat Khuzhin)
  398. o http: fix leaking of response_code_line (8f18a62 Azat Khuzhin)
  399. o http: fix "Expect: 100-continue" client side (0b46b39 Azat Khuzhin)
  400. o http: fix conflicts EVHTTP_CON_AUTOFREE and EVHTTP_CON_REUSE_CONNECTED_ADDR (4dc0979 Azat Khuzhin)
  401. o http: avoid epoll_ctl() on already closed fd (triggers by http/chunk_out) (ab3bc69 Azat Khuzhin)
  402. o http: install timeout for read too during connect for ssl (040000d Azat Khuzhin)
  403. o http: fix evhttp_request_own() by checking EVHTTP_USER_OWNED in more cases (b0d3964 Azat Khuzhin)
  404. o http: fix detecting EOF without write (7ed02ac Azat Khuzhin)
  405. o evhttp: Fix failure to send all output data for POST/PUT requests (24eea0d John Ohl)
  406. o Fix evhttp_uriencode() regression. (c6b1ec1 Mark Ellzey)
  407. o removed unused vars (e94250c Mark Ellzey)
  408. o pointer overflow checks for evhttp_uriencode (72afe4c Zonr Chang)
  409. Bugfixes (evbuffers)
  410. o buffer: fix overflow check in evbuffer_expand_singlechain() (a3f4ccd Azat Khuzhin)
  411. o buffer: evbuffer_add_buffer(): clean empty chains from destination buffer (26fd932 Azat Khuzhin)
  412. o Fix n_add_for_cb in evbuffer_prepend() in case of new buffer required (0abd039 Azat Khuzhin)
  413. o be_filter: actually disable output_filter during processing output (c031215 Simon Perreault)
  414. o evbuffer_add: Use last_with_datap if set, not last. (a8769ef Marcus Sundberg)
  415. o EVBUFFER_PTR_SET -> EVBUFFER_PTR_ADD (8674e4f jer-gentoo)
  416. Bugfixes (evconnlistener)
  417. o listener: unlock lev on error in listener_read_cb() (2a71b33 Azat Khuzhin)
  418. o Fix potential fd leak in listener_read_cb() (a695a72 Mark Ellzey)
  419. Testing
  420. o tests: use waitpid(..., WNOWAIT) to fix failing of main/fork under solaris (43eb56c Azat Khuzhin)
  421. o test: replace sleeping with syncing pair in main/fork (16d220c Azat Khuzhin)
  422. o test/http: do not run tests that based on backlog filling (freebsd) (500b6b7 Azat Khuzhin)
  423. o test/bufferevent/iocp: fix test name for "bufferevent_connect_fail_eventcb" (4410e9d Azat Khuzhin)
  424. o test/ssl: use send()/recv()/EVUTIL_ERR_RW_RETRIABLE()/EVUTIL_SOCKET_ERROR() to fix win32 (a9e8cd6 Azat Khuzhin)
  425. o test/https_basic: increase timeout for complete write (fixes win32) (d5a2f2f Azat Khuzhin)
  426. o test: fix building with --disable-thread-support under win32 (a487706 Azat Khuzhin)
  427. o test/buffer: evbuffer_add_buffer() with empty chains (a272bc4 Azat Khuzhin)
  428. o test/buffer: evbuffer_remove_buffer() with empty chains (prepend) (f0cfa14 Azat Khuzhin)
  429. o test/buffer: evbuffer_remove_buffer() with empty chains (evbuffer_add_buffer()) (2880ce6 Azat Khuzhin)
  430. o test/buffer: cover evbuffer_expand() for overflow (48dab7a Azat Khuzhin)
  431. o test/be_filter: creating test case for data stuck with active watermarks (766194b Eduardo Panisset)
  432. o test/http: avoid using conditionals with omitted operands (fixes VS2015) (2a4bf29 Azat Khuzhin)
  433. o test/http: don't mix declarations and code (fixes -Wdeclaration-after-statement) (aabf1c2 Azat Khuzhin)
  434. o test/buffer: fix leak in test_evbuffer_prepend() (c08d90b Azat Khuzhin)
  435. o test/buffer: avoid errors with --no-fork (reinitialize static vars) (e7d1e39 Azat Khuzhin)
  436. o test/buffer: cover n_add_for_cb when evbuffer_prepend() need to allocate buffer (e77ff41 Azat Khuzhin)
  437. o test/tinytest_macros: add new one tt_nstr_op() (bd19a28 Azat Khuzhin)
  438. o test/bufferevent: check that output_filter disabled during processing output (ae28812 Azat Khuzhin)
  439. o test/listener: regression for missing unlock in listener_read_cb() (7d85651 Azat Khuzhin)
  440. o test/regress: add tests for evbuffer_add() breakage on empty last chain (d5ee739 Marcus Sundberg)
  441. o test/http: fix running some tests sequential (with --no-fork) (bddad71 Azat Khuzhin)
  442. o test/http: localize evhttp server structure (cbc3209 Azat Khuzhin)
  443. o test/dns: regression for empty hostname (d7348ba Azat Khuzhin)
  444. o test/http: fix SERVER_TIMEOUT tests under win32 (d49a658 Azat Khuzhin)
  445. o test/http: add a helper for creating timedout/failed request (376f107 Azat Khuzhin)
  446. o test/http: adopt for C90 (mixed code and declarations) (d02a285 Azat Khuzhin)
  447. o test/http: cover NS timed out during request cancellations separatelly (0c343af Azat Khuzhin)
  448. o test/http: request cancellation with resolving/{conn,write}-timeouts in progress (334340d Azat Khuzhin)
  449. o test/http: exit from the loop in the errorcb to wait cancellation (927ab33 Azat Khuzhin)
  450. o regress_clean_dnsserver(): reset global port vars (351207f Azat Khuzhin)
  451. o test/http: read_on_write_error: fix it for win32 (3b58169 Azat Khuzhin)
  452. o test/http: separate coverage for EVHTTP_CON_READ_ON_WRITE_ERROR (5c2b4c1 Azat Khuzhin)
  453. o test/http: cover "Expect: 100-continue" client-server interaction (31d8116 Azat Khuzhin)
  454. o test/http: *lingering tests shouldn't have "Expect: 100-continue" (ed469ab Azat Khuzhin)
  455. o test: use EVUTIL_SHUT_WR (04fc82f Azat Khuzhin)
  456. o test/http: avoid huge stack allocations to fix win32 builds (3166765 Azat Khuzhin)
  457. o test: http/lingering_close: cover EVHTTP_SERVER_LINGERING_CLOSE (e122ca1 Azat Khuzhin)
  458. o test: http/non_lingering_close: cover ~EVHTTP_SERVER_LINGERING_CLOSE (f41e1b0 Azat Khuzhin)
  459. o test: http/*: update expected HTTP codes for body exceeds `max_body_size` (addf2b9 Azat Khuzhin)
  460. o test: http/data_length_constrains: set EVHTTP_CON_READ_ON_WRITE_ERROR (d38a723 Azat Khuzhin)
  461. o test: increase buffer size for http/data_length_constraints to trigger EPIPE (0792e1e Azat Khuzhin)
  462. o test/tinytest_demo: include <windows.h> for win32 to fix tdm-gcc (f062bbe Azat Khuzhin)
  463. o test/regress: cover event_del() waiting mechanism (5b58b70 Azat Khuzhin)
  464. o test/regress: cover existing signal callbacks and fork() + event_reinit() (ceddc60 Azat Khuzhin)
  465. o test/regress: cover signals after fork() + event_reinit() (b075b81 Azat Khuzhin)
  466. o test/regress: main/fork: rewrite assertions by just removing event in callback (088d8b3 Azat Khuzhin)
  467. o test/dns: check exit code of evdns_getaddrinfo() (0b9d432 Azat Khuzhin)
  468. o test/dns: cover evdns_getaddrinfo() and evdns_base_free() with @fail_requests (4ad3483 Azat Khuzhin)
  469. o test/dns: cover @fail_requests for evdns_base_free() (d6c6fb4 Azat Khuzhin)
  470. o test/dns: more graceful coverage of @fail_requests (123d372 Azat Khuzhin)
  471. o test/ssl: cover busy-loop (i.e. {read,write}-blocked-on-{write,read} stuff) (da0ea7a Azat Khuzhin)
  472. o test/http: write_during_read for https (23c77b6 Azat Khuzhin)
  473. o test/http: connection_fail for https (7ea26f7 Azat Khuzhin)
  474. o test/http: stream_out for https (ac04968 Azat Khuzhin)
  475. o test/http: chunk_out for https (a71ffb9 Azat Khuzhin)
  476. o test/regress: fix ssl-less builds (need to make this prettier) (3160716 Azat Khuzhin)
  477. o test/http: allow dirty shutdown for ssl to fix https_incomplete (1ede326 Azat Khuzhin)
  478. o test/http: https basic (59714b4 Azat Khuzhin)
  479. o test/http: incomplete{,_timeout} for https (615490d Azat Khuzhin)
  480. o test/http: add simplest test for http/https/https_dirty_shutdown (93b19dc Azat Khuzhin)
  481. o test/http: https: retry coverage (7c2d24a Azat Khuzhin)
  482. o test/http: https server support (plus some helpers) (a7088ad Azat Khuzhin)
  483. o test/http: more sanity checks (a27c53c Azat Khuzhin)
  484. o test/ssl: export getkey()/getcert()/get_ssl_ctx()/init_ssl() for https (0c4c387 Azat Khuzhin)
  485. o test/regress_be: basic coverage bufferevent_flush() for pair/sock layers (ad52602 Azat Khuzhin)
  486. o test/regress_be: socket_filter_inactive: check bufferevent after creation (f8081af Azat Khuzhin)
  487. o test/regress_be: cover finalizers from inactive to active queue (337684b Azat Khuzhin)
  488. o test/regress_buffer: fix clang compilation warnings (d8fd4c0 Azat Khuzhin)
  489. o test/regress_http: fix compilation warnings (-Wmissing-field-initializers) (cd422e0 Azat Khuzhin)
  490. o test/regress_dns: fix compilation warnings (-Wmissing-field-initializers/for) (f55db98 Azat Khuzhin)
  491. o tests/regress_dns: cover that randomize-case works case-insensitive (1e8bfbc Azat Khuzhin)
  492. o test: fix bufferevent/bufferevent_pair_release_lock in debug mode (3f749e9 Azat Khuzhin)
  493. o test: fix bufferevent/bufferevent_pair_release_lock for freebsd (79f9ace Azat Khuzhin)
  494. o test/regress_be: bufferevent_enable() shouldn't call eventcb by it's own (a0f308d Azat Khuzhin)
  495. o test/regress_be: introduce fake_listener_create() (37dc9e0 Azat Khuzhin)
  496. o test/regress_http: cover evhttp_request_own() (6f6fa0d Azat Khuzhin)
  497. o test/regress_http: cover write during read (3d15aeb Azat Khuzhin)
  498. o test/regress_http: verify that closecb will be called without multiple write (4be6c70 Azat Khuzhin)
  499. o test/regress: fix bufferevent_pair_release_lock with EVENT_DEBUG_MODE (6ea6655 Azat Khuzhin)
  500. o test/regress_ssl: check events fd/pending after timeout triggered (cdafdf0 Azat Khuzhin)
  501. o test/regress_ssl: cover case when server didn't up (failed with timeout) (74845f1 Azat Khuzhin)
  502. o test/regress_ssl: covert that we can't change fd with underlying (df507af Azat Khuzhin)
  503. o test/regress_ssl: cover that events (read/write) at finish not pending (762edb4 Azat Khuzhin)
  504. o test/regress_ssl: cover fd manipulations (b78a829 Azat Khuzhin)
  505. o test/regress_ssl: convert open_ssl_bufevs() to mask (46bba73 Azat Khuzhin)
  506. o test/regress_ssl: convert client/server to mask too (3455991 Azat Khuzhin)
  507. o test/regress_ssl: cover "allow_dirty_shutdown" (0430327 Azat Khuzhin)
  508. o test/regress_ssl: convert regress_bufferevent_openssl() to bitmask (342e116 Azat Khuzhin)
  509. o tests/regress_ssl: drop duplicated assert (25e56fd Azat Khuzhin)
  510. o test/regress_http: initialize "dns_base" to avoid reading trash (9f0bff3 Azat Khuzhin)
  511. o test/http: cover retrying with saved conn_address by shutting down dns server (f4874d8 Azat Khuzhin)
  512. o be_pair/regress: cover use of shared lock (lock/unlock/free) (a558fcd Azat Khuzhin)
  513. o regress_dns: drop hack for event_debug_map_HT_GROW in leak tests (3540a19 Azat Khuzhin)
  514. Sample code
  515. o Fix memory leak in signal-test.c (666db91 basavesh.as)
  516. o sample/hello-world: exAmple, not eXMple (2d3cd35 kirillDanshin)
  517. o dns-example: allow to set ns from args (df19a97 Azat Khuzhin)
  518. o dns-example: convert to getopt() (32f8592 Azat Khuzhin)
  519. o http-connect: make it win32 compilable (1bf7595 Azat Khuzhin)
  520. o sample/https-client: allow to change path to ca-certificates (fdf713a Azat Khuzhin)
  521. o sample/https-client: check for ERR_remove_thread_state() existence (c4e9d9b Azat Khuzhin)
  522. o sample/https-client: replace ERR_remove_state() by ERR_remove_thread_state() (77ad68a Azat Khuzhin)
  523. o sample/https-client: add -timeout option (4637aa8 Azat Khuzhin)
  524. o sample/https-client: don't try to free uninitialized SSL (f3d7ff5 Azat Khuzhin)
  525. o sample/https-client: graceful exit with freeing memory (to make valgrind happy) (24a1f25 Azat Khuzhin)
  526. o https-client: correctly handle URLs with no path (like "https://host:port") (29a0482 Andrey Skriabin)
  527. o sample/http-connect: don't use assert() to make it work with NDEBUG (6dc71e7 Azat Khuzhin)
  528. o sample/http-connect: made it compatible with C90 (f976d43 Azat Khuzhin)
  529. o sample: add HTTP CONNECT tunnelling example using libevent http layer (1d34498 Azat Khuzhin)
  530. o Update dns-example. (620ff24 Mark Ellzey)
  531. Documentation
  532. o Update README.md (b8ec70c Mark Ellzey)
  533. o Update README.md (80faee9 Mark Ellzey)
  534. o Update README.md (ad4a897 Mark Ellzey)
  535. o Update README.md (a2b2e1e Mark Ellzey)
  536. o Update README.md (0dfa5dc Mark Ellzey)
  537. Code Improvements (evthread)
  538. o evthread: add evthread_get_{lock,condition}_callbacks() helpers (c0b34f6 Azat Khuzhin)
  539. Code Improvements (core)
  540. o util: make @sa const for evutil_socket_connect_() (a8d32c2 Azat Khuzhin)
  541. Code Improvements (http)
  542. o http: assert's that evbuffer_drain() success on connection reset (2185e63 Azat Khuzhin)
  543. o http: introduce evhttp_request_free_() helper (22061ac Azat Khuzhin)
  544. o http: introduce evhttp_is_request_connection_close() helper (6540da3 Azat Khuzhin)
  545. Code Improvements (bufferevents)
  546. o be_sock: bufferevent_socket_set_conn_address(): assert instead of silent no-op (0ab88c2 Azat Khuzhin)
  547. o be_sock: sanity check in bufferevent_socket_set_conn_address() (eedbeff Azat Khuzhin)
  548. o be: replace sockaddr_storage with sockaddr_in6 for conn_address (3889612 Azat Khuzhin)
  549. o be: replace conn_address by full struct instead of pointer (e5615aa Azat Khuzhin)
  550. o bufferevent: move conn_address out from http into bufferevent (8bb3842 Azat Khuzhin)
  551. o be: make @sa const for bufferevent_socket_connect() (dc33c78 Azat Khuzhin)
  552. Cleanups (core)
  553. o Refactoring conditional directives that break parts of statements. (4b41eeb lzmths)
  554. o epoll: introduce PRINT_CHANGES() macro to avoid copy-pasting (a1b142b Azat Khuzhin)
  555. o tab (6e7a580 Greg Hazel)
  556. Cleanups (evbuffers)
  557. o buffer_compat: fix comment -- we have EVBUFFER_EOL_ANY not EOL_STYLE_ANY (575ff67 Azat Khuzhin)
  558. Cleanups (bufferevents)
  559. o be_sock: evutil_getaddrinfo_async_() always return 0 (dbff101 Azat Khuzhin)
  560. o be_sock: drop be_sock_add() macro (useless and debug unfriendly) (fad5fe2 Azat Khuzhin)
  561. o be: introduce bufferevent_generic_adj_existing_timeouts_() (3c1f58f Azat Khuzhin)
  562. o be: add_event: use evutil_timerisset() (a96b73b Azat Khuzhin)
  563. o be_openssl: introduce be_openssl_auto_fd() helper (2a8a711 Azat Khuzhin)
  564. o be_openssl: introduce set_open_callbacks_auto() (510da71 Azat Khuzhin)
  565. Cleanups (http)
  566. o http: make fallback for EVHTTP_CON_READ_ON_WRITE_ERROR more cleaner (d405492 Azat Khuzhin)
  567. o http: coding style issue (365f181 Azat Khuzhin)
  568. Cleanups (evdns)
  569. o evnds: inline TEST_NAME macro to make debuggin easier (0c615f4 Azat Khuzhin)
  570. Portability Fixes
  571. o [#372] check for errno.h (3031617 Mark Ellzey)
  572. o Fixed Unicode issue in error messages. (e8b7895 Mattes D)
  573. o Assume that ke_udata is an integer type on CloudABI. (5602e45 Ed Schouten)
  574. o Add missing include of <netinet/in.h>. (b2c68bc Ed Schouten)
  575. o Include <sys/ioctl.h>, <sys/resource.h> and <sys/wait.h> optionally. (c1404b5 Ed Schouten)
  576. o Test against SO_REUSEADDR (along with _WIN32). (ce1776c Ed Schouten)
  577. o Always define missing TAILQ functions from sys/queue.h (2828bdb Christopher Wiley)
  578. o Don't use BSD u_* types. (fd36647 Ed Schouten)
  579. o Remove BSD-ism: TIMEVAL_TO_TIMESPEC(). (193c7de Ed Schouten)
  580. o be: include all variations of headers for sockaddr_in6 struct (c212291 Azat Khuzhin)
  581. o be: fix sockaddr_in6 type definition for win32 (c42bc6b Azat Khuzhin)
  582. Continious Integration:
  583. o travis: split long lines, and make it cleaner (685a6a1 Azat Khuzhin)
  584. o travis: fix autotools on osx by reinstalling libtool (088ea5e Azat Khuzhin)
  585. o appveyor/autotools: link with openssl by passing LDFLAGS/CFLAGS (6fcfa25 Azat Khuzhin)
  586. o appveyor: image already had openssl installed (4634b85 Azat Khuzhin)
  587. o appveyor: check -DUNICODE -D_UNICODE according to ReleaseChecklist (cmake only) (e9acc44 Azat Khuzhin)
  588. o appveyor: ignore failure of mingw-get (1810857 Azat Khuzhin)
  589. o appveyor: drop shallow_clone, since we use tags for detecting version in cmake (ac90133 Azat Khuzhin)
  590. o appveyor: support cmake & autotools using build matrix (like travis-ci has) (8f95015 Azat Khuzhin)
  591. o travis-ci/osx: relink gcc/g++ instead of clang (481481d Azat Khuzhin)
  592. o travis-ci: enable multi-os mode (osx, linux) (79917e4 Azat Khuzhin)
  593. o travis-ci: increase matrix (--disable-foo) (59649f7 Azat Khuzhin)
  594. o travis-ci: adjust alignment (c8be339 Azat Khuzhin)
  595. o travis: add builds without debug mode into matrix (3e56da2 Azat Khuzhin)
  596. o test: run regress with EVENT_DEBUG_MODE=1 and without (cf2cf2a Azat Khuzhin)
  597. o Update travis config for status updates (37453ab Mark Ellzey)
  598. o Use autotools for appveyor until cmake is fixed. (1cc2e29 Mark Ellzey)
  599. o Fix the link for appveyor OpenSSL installer (WIN32) (107d565 Mark Ellzey)
  600. o Forgot to install OpenSSL for appveyor (26164a5 Joakim Söderberg)
  601. o Add support for appveyor.com windows CI (5f89c37 Joakim Söderberg)
  602. Build Improvements/Fixes:
  603. o evutil: mark ai_find_protocol() static (prototype-less) (5a157c8 Azat Khuzhin)
  604. o cmake/solaris: set CMAKE_REQUIRED_LIBRARIES to fix functions detections (dc95823 Azat Khuzhin)
  605. o cmake/solaris: fix building (link with socket,nsl) (050bfc7 Azat Khuzhin)
  606. o cmake: check for ZLIB_INCLUDE_DIR, since we can have only library without headers (c4dfb93 Azat Khuzhin)
  607. o autotools/win32: fix searching ssl library (671a24f Azat Khuzhin)
  608. o cmake/win32: do not compile regress_thread on -DEVENT__DISABLE_THREAD_SUPPORT=ON (de0c196 Azat Khuzhin)
  609. o cmake/win32: do not compile evthread_win32 on -DEVENT__DISABLE_THREAD_SUPPORT=ON (ecb0ec8 Azat Khuzhin)
  610. o cmake: fix -DEVENT__ENABLE_VERBOSE_DEBUG (typo on -DUSE_DEBUG) (e35f224 Azat Khuzhin)
  611. o cmake: do not use stderr for notifications/version-info (38716c6 Azat Khuzhin)
  612. o autoconf: fix --disable-thread-support build under win32 (bb09535 Azat Khuzhin)
  613. o buffer: don't mix code and declarations (8892f4c Azat Khuzhin)
  614. o Update gitignore file to ignore cscope gen'ed files (0aaa4fb Neeraj Badlani)
  615. o For non GCC/clang on OSX the -Wno-deprecated-declarations may not be valid (b5ca365 Rainer Keller)
  616. o automake: define serial-tests only if automake have this option (61179de Azat Khuzhin)
  617. o test/automake: don't use paralell test harness (since automake 1.12) (44d755e Azat Khuzhin)
  618. o Ignore all pkgconfig generated stuff (ce38993 Azat Khuzhin)
  619. o libevent_core and libevent_extra also deserve a pkgconfig file (b8d7c62 Jan Heylen)
  620. o Ignore verify_tests.bat (win32 version) (0f2de10 Azat Khuzhin)
  621. o cmake: require 3.1 only for win32 to make it work under ubunty precise (87f7238 Azat Khuzhin)
  622. o cmake: require at least 3.1 for target_sources() (c46ead5 Azat Khuzhin)
  623. o cmake: fix adding of compiler flags, and now it will (36588e1 Azat Khuzhin)
  624. o Replace -Wswitch-enum with -Wswitch, and add it into cmake rules too (f29f59e Azat Khuzhin)
  625. o test/regress_ssl: Fix compile problems for win32 (73d0360 Trond Norbye)
  626. o util: fix "%zu" format on TDM-gcc/MinGW-w64 (79b69d8 Azat Khuzhin)
  627. o cmake: don't define EVENT__NEED_DLLIMPORT always (fixes VS2013 static build) (49bd790 Azat Khuzhin)
  628. o Add missing return statement to del_wait_thread so libevent can build. (4f778ab Nick Mathewson)
  629. o cmake: fix building dns-example under win32 (missing getopt) (a1609a8 Azat Khuzhin)
  630. o visibility: align it to make it more readable (bb6b53d Azat Khuzhin)
  631. o cmake: Fix detection of ssize_t/SSIZE_T (7707f6b Azat Khuzhin)
  632. o Ignore more configure stuff (configure.lineno) (8d34302 Azat Khuzhin)
  633. o Fixed issue with cmake version generation (d56efd9 Mark Ellzey)
  634. o Cmake is now officially working. (7f9646d Mark Ellzey)
  635. o More cmake updates, lot's of missing definitions (49a5381 Mark Ellzey)
  636. o CMake syntax fixes fo .in files (6aad23d Mark Ellzey)
  637. o Revert "The Windows socket type is defined as SOCKET." (a264da8 Mark Ellzey)
  638. o CMAKE CMAKE CMAKE CLEANUPS (a9db46a Mark Ellzey)
  639. o Lot's of cmake updates (8b228e2 Mark Ellzey)
  640. 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)
  641. o The Windows socket type is defined as SOCKET. (c9e6c3d billsegall)
  642. o autotools: fix getservbyname() detection (959a4c2 Azat Khuzhin)
  643. o Add missing <string.h> for openssl_hostname_validation module (3316a21 Azat Khuzhin)
  644. o make test/regress_ssl.c compile without warnings (9f02a44 Thomas Bernard)
  645. o test/regress_be: drop debug __asm__(int3) to fix arm build (8240379 Azat Khuzhin)
  646. o event_debug_created_threadable_ctx_: fix compilation without debug mode (a068f2e Azat Khuzhin)
  647. o Add a prototype for event_disable_debug_mode() (bfcedee Sebastian Hahn)
  648. o http: eliminate warning about "socklen" in evhttp_connection_connect_() (dfad1a4 Azat Khuzhin)
  649. o Updated gitignore (1dbb55d Mark Ellzey)
  650. o Update bench_httpclient.c (cb96931 Seungmo Koo)
  651. o *fix: bench_httpclient to support win32 (4e9325e zeliard)
  652. o Commented out a WIN32 threading / timing test for now (e84e269 Mark Ellzey)
  653. o Fix mixed declarations and code (forbidden by ISO C90) (0c7f217 Thomas Bernard)
  654. o Fix "function declaration isn’t a prototype" (746d2c5 Thomas Bernard)
  655. o This fixes a bug introduced in 27bd9faf498b91923296cc91643e03ec4055c230 (19ba454 Joakim Söderberg)
  656. o changed strtotimeval signature as per #211 (bdbc823 Xiao Bao Clark)
  657. o Added cmake-generated files to ignore list. (6c12bfe Matyas Dolak)
  658. o Ignore `make dist` generated files (8a2c6c7 Azat Khuzhin)
  659. Debugging
  660. o Debug mode option to error on evthread init AFTER other event calls. (dcfb19a Mark Ellzey)
  661. Changes in version 2.1.5-beta (5 January 2015)
  662. Security Fixes (evbuffers)
  663. o Avoid integer overflow bugs in evbuffer_add() and related functions. See CVE-2014-6272 advisory for more information. (d49bc0e88b81a5812116074dc007f1db0ca1eecd)
  664. New APIs (evconnlistener)
  665. o Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT (b625361 Maciej Soltysiak)
  666. Bugfixes (core)
  667. o Fix use-after-free error in EV_CLOSURE_EVENT callback (3cc0eac John Ohl)
  668. o Fix race caused by event_active (3c7d6fc vjpai)
  669. Bugfixes (evbuffer)
  670. o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (ba59923)
  671. o Consistently check for failure from evbuffer_pullup() (60f8f72)
  672. o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)
  673. Bugfixes (windows, IOCP)
  674. o be async: avoid double close() (f133b86 Azat Khuzhin)
  675. Bugfixes (bufferevents)
  676. o Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE (2c82aa0 John Ohl)
  677. o make bufferevent_getwatermark api more robust (a21e510 ufo2243)
  678. o [Bugfix] fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
  679. o bufferevent_openssl: reset fd_is_set when setfd with -1 is called (3da84c2 Azat Khuzhin)
  680. o Fix compilation for older OpenSSL versions. (5c7282f Joakim Soderberg)
  681. New APIs (evhttp)
  682. o Add evhttp_connection_set_family() to set addrinfo->family for DNS requests (12c29b0 Azat Khuzhin)
  683. o Implement interface that provides the ability to have an outbound evhttp_connection free itself once all requests have completed (2b9ec4c,10fe4f John Ohl)
  684. New APIs (core)
  685. o Implement new/free for struct evutil_monotonic_timer and export monotonic time functions (f2645f8 Andrea Shepard)
  686. Bugfixes (evdns)
  687. o Load hosts file on Windows. (a0b247c Vilmos Nebehaj)
  688. o Don't truncate hosts file path on Windows. (d0dc861 Vilmos Nebehaj)
  689. o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)
  690. o evdns: avoid read-after-free in evdns_request_timeout_callback() (61262a0 Azat Khuzhin)
  691. o Correctly handle allocation failures in evdns_getaddrinfo (6a53d15)
  692. o evdns: fix EVDNS_BASE_DISABLE_WHEN_INACTIVE in case retransmit/retry (74d0eee Azat Khuzhin)
  693. o evdns: add retry/reissue tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE (3ca9d43 Azat Khuzhin)
  694. o evdns: fail ns after we are failing/retrasmitting request (97c750d Azat Khuzhin)
  695. Bugfixes (evhttp)
  696. o http: reset connection before installing retry timer (fix http retries handling) (bc79cc5 Azat Khuzhin)
  697. Testing
  698. o regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests (2fdc5f2 Azat Khuzhin)
  699. o test: add family argument for http_connection_test_() (177b8a7 Azat Khuzhin)
  700. o test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPEC (42aefeb Azat Khuzhin)
  701. o test/http: add regress test for set family to AF_INET6 (3fbf3cc Azat Khuzhin)
  702. o Update to a more recent tinytest_macros. (8da5a18)
  703. o test/regress: add simplestsignal: to track reorder bugs separately (b897bef Azat Khuzhin)
  704. o test/evbuffer_peek: add regress in case we have first buffer greater (e2d139d Azat Khuzhin)
  705. o More evbuffer_peek() test cases (154006a)
  706. o use correct tt macro for pointer compare (08c88ea)
  707. o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
  708. o Fix a use-after-free in unit tests. CID 752027 (3739057)
  709. o Fix a dead-code warning in unit tests. CID 1193548 (c119f24)
  710. o Use evutil_weakrand() in unit tests. (a677b72, 364c110)
  711. o Use a more precise calculation for max in time-ratelim.c (ca5b5c7)
  712. o Make a buffer larger in the tests to avoid a scary evbuffer_copyout_from() (fb57b8b)
  713. o Fix several memory leaks in the unit tests. (89c1a3b)
  714. o Add test for evhttp_connection_free_on_completion (b0e9924 John Ohl)
  715. o Fix annoying heisenbug in test-time.c (cb73704)
  716. Sample code
  717. o Make http-server.c output into good html5 (6d72bdc)
  718. o Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
  719. o https-client: add -retries argument, for connection retries (d9da844 Azat Khuzhin)
  720. Bugfixes (build)
  721. o Add missing headerfile for cmake (15d90cc Trond Norbye)
  722. o ignore one more test binary (b6593aa Michael Richardson)
  723. o ignore config.cache/test-driver files (c83f333 Mike Frysinger)
  724. o add a --disable-samples configure flag (0c492b3 Mike Frysinger)
  725. o Add a few files created by "make verify" to .gitignore. (1a8295a Pierre Phaneuf)
  726. o updates in cmake build (27bd9fa Sergey Nikulov)
  727. o Fix cmake error when the Module path has more than one entry. (befbd13 Acer Yang)
  728. o Fix CMake shared library build (e69d910 Nobuaki Sukegawa)
  729. o Fix warnings when compiling with clang 3.5 (f5b4765 John Ohl)
  730. o Fix mixed declarations and code (forbidden by ISO C90) (8afbdbc Thomas Bernard)
  731. Bugfixes (miscellaneous)
  732. o tree.h: drop duplicated content of tree.h (6193187 Azat Khuzhin)
  733. o evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE (610410b,ad0493e,fea86a6,d83b337,5ca9e97 Azat Khuzhin)
  734. o [Bugfix] fix grammer error (3a4d249 ufo2243)
  735. o Change return type of evutil_load_windows_system_library_ to HMODULE (f691389)
  736. o Fix a c90 warning (76643dd)
  737. o Fix a typo in a doxygen comment. Reported by 亦得. (be1aeff)
  738. o remove trailing comma from enum (b361b8a Jean-Philippe Ouellet)
  739. Bugfixes (FreeBSD)
  740. 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)
  741. Changes in version 2.1.4-alpha (21 Mar 2014)
  742. Libevent 2.1.4-alpha adds a number of new miscellaneous APIs to make
  743. Libevent more useful, including support for early close detection with
  744. epoll via EPOLLRDHUP, triggering bufferevent callbacks, adding more
  745. evhttp callbacks, and more. There are also numerous bugfixes, including
  746. a number for finalize-related issues from 2.1.3-alpha; and an
  747. alternative (non-primary!) cmake-based build mechanism.
  748. New APIs (core)
  749. o Added event_base_get_num_events() (0fa107d Mobai Zhang)
  750. o New event_base_active_by_fd API (865a142 Greg Hazel, 5c9da9a, 87fa2b0)
  751. o Add event_base_active_by_signal by analogy (4865943)
  752. o Add access to max event count stats (5173bef, efbd3dc, 26230a2
  753. Andrew Sweeney)
  754. o Implemented EV_CLOSED event for epoll backend
  755. (EPOLLRDHUP). (b1b69ac Diego Giagio, 53d2793, 43ffcf6, dfe1e52
  756. Marcin Juszkiewicz, ff26633 Joakim Soderberg, 3908a5e)
  757. New APIs (evutil_secure_rng)
  758. o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
  759. New APIs (bufferevents)
  760. o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
  761. o Pass and return const for bufferevent_get_token_bucket_cfg (1c77fbb
  762. Mark Ellzey)
  763. o Add watermark introspection (4ce242b Ondřej Kuzník)
  764. o Add an option to trigger bufferevent I/O callbacks (61ee18b Ondřej Kuzník)
  765. o Add an option to trigger bufferevent event callbacks (a7384c7
  766. Ondřej Kuzník)
  767. o Clarifications in response to merge req. comments (bd41947 Ondřej
  768. Kuzník)
  769. o Minor optimizations on bufferevent_trigger options (a3172a4)
  770. New APIs (evhttp)
  771. o Add evhttp_connection_get_server(). (a7f82a3 Maxime Henrion)
  772. o add a http default content type option (5a5acd9 Nicolas Martyanoff)
  773. o http: implement new evhttp_connection_get_addr() api. (0c7f040 Azat
  774. Khuzhin)
  775. o Add a variant of evhttp_send_reply_chunk() with a callback on
  776. evhttp_write_buffer() (8d8decf Julien BLACHE)
  777. o Allow registering callback for parsing HTTP headers (b0bd7fe Balint Reczey)
  778. o Provide on request complete callback facility (b083ca0 Andrew Sweeney)
  779. o evhttp_request_set_on_complete_cb to be more specific about what
  780. the function actually does and usage (da86dda Andrew Sweeney)
  781. o Update unit test to make sure that the callback happens after the
  782. output data is written (b85f398 Andrew Sweeney)
  783. Features (evdns)
  784. o bug fix for issues #293 evdns_base_load_hosts doesn't remove
  785. outdated addresses (954d2f9, f03d353, 45eba6f Kuldeep Gupta)
  786. Features: (cmake build support)
  787. o Initial CMake commit. (e415196 Joakim Soderberg)
  788. o Add all tests and benchmarks to CMake project. (e9fc014 Joakim Soderberg)
  789. o More work on adding tests to CMake project (99c1dc3 Joakim Soderberg)
  790. o Generate a dummy evconfig-private.h so things build
  791. properly. (ce14def Joakim Soderberg)
  792. o Link libm on unix platforms. (58fcd42 Joakim Soderberg)
  793. o Added some GCC specific options. (19222e5 Joakim Soderberg)
  794. o Use evutil_closesocket instead. (dbf2b51 Joakim Soderberg)
  795. o Add copyright and licensing files for CMake modules. (c259d53
  796. Joakim Soderberg)
  797. o Only include WIN32 getopt where it is used. (9bbce0b Joakim Soderberg)
  798. o Fix bench_cascade program on Windows. (78da644 Joakim Soderberg)
  799. o Don't segfault on no found event backend. (8f2af50 Joakim Soderberg)
  800. o Only test the event backends available on the system. (7ea4159
  801. Joakim Soderberg)
  802. o Added a "make verify" target. (e053c4f Joakim Soderberg)
  803. o Fix the make "verify" target on Windows. (67e5d74 Joakim Soderberg)
  804. o Get rid of deprecation warnings for OpenSSL on OSX 10.7+ (69c3516
  805. Joakim Söderberg)
  806. o Fix kqueue support. (a831f2f Joakim Söderberg)
  807. o Added a test for testing if kqueue works with pipes. (2799b35
  808. Joakim Söderberg)
  809. o Change the BSD license from 4 to 3-clause. (86df3ed Joakim Soderberg)
  810. o Minimum required python version is 2.4. (968e97b Joakim Soderberg)
  811. o Get rid of unknown pragma warnings. (0ef1d04 Joakim Soderberg)
  812. o Add a "make verify_coverage" target generation coverage
  813. info. (f2483f8 Joakim Soderberg)
  814. o Fix the "make verify" target on NetBSD (4ac086a Joakim Soderberg)
  815. o Only look for ZLib when it is used (if tests are
  816. included). (f780593 Joakim Soderberg)
  817. o Added EVENT__ENABLE_GCC_WARNINGS, turns all warnings into
  818. errors. (dd413bd Joakim Soderberg)
  819. o Add CMake config and install targets. (f3446ed Joakim Soderberg)
  820. o Fix typo (4b754df Joakim Soderberg)
  821. o Some work on making it possible to simply do add_subdirectory() on
  822. the project. (49ab363 Joakim Soderberg)
  823. o Set USE_DEBUG=1 on EVENT__ENABLE_VERBOSE_DEBUG (fd42e70 Joakim Soderberg)
  824. o Fix so that old nmake project still builds. (24d6466 Joakim
  825. Soderberg)
  826. o Rename README to README.md and use markdown to format. (d2bc39a
  827. Joakim Soderberg)
  828. o Update README with CMake build instructions. (604b8cc Joakim Soderberg)
  829. o Clean up the README some. (8d4cb35 JoakimSoderberg)
  830. o Forgotten headers for old nmake project compatability. (8697b99
  831. Joakim Soderberg)
  832. o Change all uses of WIN32 to _WIN32 (4e14395 Joakim Söderberg)
  833. o Fix include bug. (2024467 Joakim Söderberg)
  834. o Check if we're on OSX before disabling deprecation in le-proxy
  835. (8b40a5b Joakim Söderberg)
  836. o Fix broken autotools build. (ae1bd82 Joakim Söderberg)
  837. o Disclaimerize cmake a little in the README (d03b5bf)
  838. o Fix CMake compile when OpenSSL is disabled. (e423d42 Joakim
  839. Söderberg)
  840. o CMake: Get rid of python not found warning when regress tests
  841. turned off. (d38d798 Joakim Söderberg)
  842. o Fix https-client compilation on Windows. (d7be788 Joakim Soderberg)
  843. o Guard against EVENT_NOWIN32 being set during testing. (f1715b4
  844. Joakim Soderberg)
  845. o Check for OSX when checking for clang. (e212c54 Joakim Soderberg)
  846. o Added a Travis-CI configuration file. (8c0f0a9 Joakim Soderberg)
  847. o Added -Qunused-arguments for clang on macosx (ed99d92 Trond Norbye)
  848. o Rename event_extras to event_extra (a0dd5df Trond Norbye)
  849. o Add option to build shared library (4545fa9 Trond Norbye)
  850. o Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)
  851. o Add cmake-related files to .gitignore (e061321 Trond Norbye)
  852. o Export event_extra not event_extras. (2b41bcf Joakim Söderberg)
  853. Bugfixes (core)
  854. o If evsel->del() fails, don't leave the evmap in an inconsistent
  855. state (9b5a527 Maxime Henrion)
  856. o Move event_debug_note_teardown_ before mm_free. (69b5c64)
  857. o Check CLOCK_MONOTONIC_* at runtime if needed. (911abf3)
  858. o Fix reinit of fds with EV_WRITE but not EV_READ. (ebfd8a8 maksqwe)
  859. o Tweaked callbacks to prevent race condition
  860. (https://github.com/libevent/libevent/issues/104) (40830f1, 2ea15ed
  861. John Ohl)
  862. o Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE
  863. case (9805972)
  864. Bugfixes (evhttp)
  865. o Fix a double close() bug in evhttp when the underlying bufferevent uses
  866. BEV_OPT_CLOSE_ON_FREE. (31db8a0 Maxime Henrion)
  867. o Fix an unlikely but possible error case for http connections (f22049e)
  868. o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)
  869. Bugfixes on 2.0 (Windows)
  870. o Use windows vsnprintf fixup logic on all windows environments (e826f19)
  871. o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
  872. (b8f5980 Frank Denis)
  873. Bugfixes (evutil_secure_rng)
  874. o When we seed from /proc/sys/kernel/random/uuid, count it as success
  875. (e35b540)
  876. o We should return after arc4random_buf() (1ea1f26 Makoto Kato)
  877. o Avoid other RNG initialization FS reads when urandom file is
  878. specified (9695e9c)
  879. o Really remove RNG seeds from the stack (f5ced88)
  880. o Fix another arc4random_buf-related warning (e64a2b0)
  881. Bugfixes (bufferevents)
  882. o Initialize async bufferevent timeout CBs unconditionally (af9b2a7)
  883. Bugfixes (evdns)
  884. o Checking request nameserver for NULL, before using it. (5c710c0
  885. Belobrov Andrey)
  886. o Fix SEGFAULT after evdns_base_resume if no nameservers
  887. installed. (14971a8 Azat Khuzhin)
  888. o Actually use the log facility for reporting evdns problems. (e1766a1)
  889. o Fix SEGFAULT after evdns_base_resume if no nameservers
  890. installed. (f8d7df8 Azat Khuzhin)
  891. o fix for ServFail from RIPE Atlas release (62f596b Antony Antony)
  892. Bugfixes (compilation)
  893. o Fix test compilation with nmake: add the gdi.lib dependency (5ba8ab7)
  894. o Whoops. It is gdi.lib, not gdi32.lib. (github issue #61) (8ab612e)
  895. o Don't use return since return type is void and build error occurs
  896. using clang (838161d Makoto Kato)
  897. o Use void casts to suppress some "unchecked return value" warns (7080d55)
  898. o rpcgen: Generate regress.gen.[c,h] in build rather than src dir
  899. (243386c Ross Lagerwall)
  900. o Fix a compiler warning when checking for arc4random_buf linker
  901. breakage. (5cb3865)
  902. o Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES
  903. (239d834)
  904. o Fix a c90 warning (c207682)
  905. o Fix consts in WIN32-Code/getopt*.[ch] (57abb35)
  906. Bugfixes (locks, synchronization)
  907. o Missed lock acquire/release in event_base_cancel_single_callback_()
  908. (d3d999a Azat Khuzhin)
  909. o Fix locking in bufferevent_get_options_(). (dbc9cd4 Maxime Henrion)
  910. Bugfixes (leaks)
  911. o Avoid leaking segment mappings when offset is not a page multiple (d409514)
  912. Testing
  913. o Add tests for evdns_base_resume(). (1cd9ff5 Azat Khuzhin)
  914. o Fix dns/leak_resume_send_err test. (7e876df Azat Khuzhin)
  915. o Add checks for evhttp_connection_get_server() in unit
  916. tests. (fbc323b Maxime Henrion)
  917. o Fix a (failure-only) null dereference in the unit tests (1104d0b)
  918. o Fix a logic error in test_evbuffer_freeze (7765884)
  919. o Add missing check to test_evbuffer_file_segment_add_cleanup_cb (eba4506)
  920. o Fix some crash-on-fail cases in DNS regression tests (87cd6f0)
  921. o DNS tests: add a missing check (f314900)
  922. o Finalize tests: add a missing check (82b6956)
  923. o test_evutil_rtrim: add another missing check. (e193c95)
  924. o regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
  925. (611e28b Azat Khuzhin)
  926. o regress_http: add tests for evhttp_connection_get_addr() (4dd500c
  927. Azat Khuzhin)
  928. o Update to the latest version of tinytest (7a80476)
  929. o Heap-allocate zlib data structure in regress_zlib tests (4947c18)
  930. Performance tweaks (core)
  931. o Avoid redundant syscall to make a nonblocking socket nonblocking
  932. (42c03da Maxime Henrion)
  933. o Avoid redundant syscall if making a socket cloexec twice (1f29b18)
  934. o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
  935. Documentation
  936. o Document that arc4random is not a great cryptographic PRNG. (6e49696)
  937. o Small doxygen tweaks (6e67b51)
  938. o Try another doxygen tweak (ccf432b)
  939. o Clarify event_base_loop exit conditions (031a803)
  940. o Fix a typo (be7bf2c Ondřej Kuzník)
  941. o Document deferred eventcb behaviour (13a9a02 Ondřej Kuzník)
  942. o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
  943. o Fix duplicate paragraph in evbuffer_ptr documentation (58408ee)
  944. Code Improvements (coverity)
  945. o Fix a pile of coverity warnings in the unit tests (867f401)
  946. o Fix coverity warnings in benchmark tools. (ff7f739)
  947. o Whoops; fix compilation in bench.c (544cf88)
  948. o Remove spurious checks in evrpc.c error cases (coverity) (991b362)
  949. o Fix a couple of compilation warnings in regress_http.c (860767e)
  950. o Fix even more coverity warnings. (d240328)
  951. o Stop checking for inet_aton; we don't use it. (f665d5c)
  952. o Add an include to evrpc-internal to fix openbsd compilation warning
  953. (5e161c6)
  954. Cleanups
  955. o Remove an unreachable return statement in minheap-internal.h (e639a9e)
  956. o Refactor evmap_{io,signal}_active_() to tolerate bad inputs (974c60e)
  957. o Fix needless bufferevent includes in evdns.c (254c04e)
  958. o Fix a couple of "#ifdef WIN32" instances (88ecda3)
  959. o Remove unneeded declaration in bufferevent-internal.h (4c8ebcd)
  960. Sample code
  961. o le-proxy: Fail more gracefully if opening listener fails (44b2491)
  962. o http-server: drop uri_root from base_url in http-server. (6171e1c Azat Khuzhin)
  963. o https-client: POST supported, args supported (c5887f7 Alexey Ozeritsky)
  964. o https-client: code cleanup (29af65e Alexey Ozeritsky)
  965. o https-client: Small tweaks to https-client.c (90786eb)
  966. o https-client: Set hostname for SNI extension (by f69m) (d1976f8)
  967. o https-client: add a cast to https-client.c (462e6b6)
  968. Changes in version 2.1.3-alpha (1 May 2013)
  969. Libevent 2.1.3-alpha fixes various bugs, adds new unit tests, and cleans
  970. up the code in a couple of places. It has a new callback in evhttp for
  971. reporting errors during a request, a new feature for allowing evdns to
  972. not keep the event_base looping when there are no requests inflight, and
  973. example code for writing an https client.
  974. Libevent 2.1.3-alpha also has an important new (experimental) event
  975. finalization feature to allow safe event teardown in multithreaded
  976. programs. This ought to fix the longstanding bug with deadlocks in
  977. multithreaded use of SSL-based bufferevents that some people have been
  978. experiencing since Libevent 2.0.
  979. Core (event finalization)
  980. o Implement event_finalize() and related functions to avoid certain
  981. deadlocks (8eedeab)
  982. o Use finalization feature so bufferevents can avoid deadlocks (02fbf68)
  983. o Always run pending finalizers when event_base_free() is called (e9ebef8)
  984. o Remove bufferevent_del_generic_timeout_cbs as now unused (4ea4c6a)
  985. o More documentation for finalization feature (a800b91)
  986. o Make the event_finalize* functions return an error code (5d11f4f)
  987. o Mark the finalize stuff as experiemental in case it needs to
  988. change (23e2e29)
  989. Evdns
  990. o evdns: New flag to make evdns not prevent the event loop from
  991. exiting (6b7fa62 Azat Khuzhin)
  992. Bugfixes (Core)
  993. o Make event_remove_timer behave correctly with persistent timers (5623e80)
  994. o Unit test for event_remove_timer with EV_PERSIST. (96150dd)
  995. o Double-check next timeout when adding events (9443868 Nate Rosenblum)
  996. o event_base_update_cache_time should be a no-op if the loop isn't
  997. running (5e6fa2a)
  998. Bugfixes (evhttp, crash fix, from 2.0)
  999. o fix #73 and fix http_connection_fail_test to catch it (b618204 Greg Hazel)
  1000. Bugfixes (compilation and portability, from 2.0)
  1001. o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
  1002. o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
  1003. o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
  1004. (74d4c44 Kevin Bowling)
  1005. o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake
  1006. 1.13 compat (817ea36)
  1007. o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
  1008. o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
  1009. Bugfixes (resource leaks/lock errors on error, from 2.0)
  1010. o Avoid leaking fds on evconnlistener with no callback set (69db261)
  1011. o Avoid double-close on getsockname error in evutil_ersatz_socketpair
  1012. (0a822a6)
  1013. o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
  1014. Documentation Fixes (from 2.0)
  1015. o Fix a mistake in evbuffer_remove() arguments in example http server code
  1016. (c322c20 Gyepi Sam)
  1017. o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
  1018. Documentation Fixes
  1019. o minor documentation typos (809586a Patrick Pelletier)
  1020. o Fix cut-and-paste err in whatsnew-2.1 (49905ac)
  1021. o Fix comment to refer to sample/include.am correctly (9e8cdf3 Sebastian
  1022. Hahn)
  1023. o Fix typo : Dispatching instead of Dispaching (0c2bacc Volker Lendecke)
  1024. o fix some hinky indentation in evhttp_make_request (80e220e Patrick
  1025. Pelletier)
  1026. o "buffer" spelling (a452811 Patrick Pelletier)
  1027. o Specify return behavior in header for evbuffer_pullup() in corner case
  1028. (cf8d1cd Dan Petro)
  1029. o Clarify an important point about event_base_foreach_event() (920a5e6)
  1030. Compilation Fixes/Tool Support
  1031. o avoid valgrind false positive by zeroing epoll_event (1258614 Patrick
  1032. Pelletier)
  1033. o Fix harmless clang enum warning (b452a43 Sebastian Hahn)
  1034. o remove all exes on "make clean", not just regress.exe (974bfa0 Patrick
  1035. Pelletier)
  1036. o Make --disable-libevent-regress work again (787fd74)
  1037. o Do not build strlcpy.c when it will have no code. (4914620)
  1038. Portability Fixes
  1039. o When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it (bf7a0ff)
  1040. o Preliminary changes for Minix3. (0dda56a Nicholas Heath)
  1041. o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13
  1042. compat (bf278b)
  1043. o Avoid using $(top_srcdir) in TESTS. (2863c83)
  1044. o build test/test-script.sh on systems with a less-featureful $< (f935e21)
  1045. o Implement EVUTIL_ERR_IS_EAGAIN on windows. (42aaf4d)
  1046. Evhttp changes:
  1047. o Fix ipv6 support for http. When URL contain domain, not IP
  1048. address. (71e709c Azat Khuzhin)
  1049. o uri decode: fix for warning "use of uninitialised value" (64b6ece Azat
  1050. Khuzhin)
  1051. o uri decode: changed the test for the existence of the next character
  1052. (e1903e3 Azat Khuzhin)
  1053. o Move prototype of evhttp_decode_uri_internal() to http-internal.h
  1054. (de8101a Azat Khuzhin)
  1055. o Test: decoding just part of string with evhttp_decode_uri_internal()
  1056. (1367653 Azat Khuzhin)
  1057. o Add new error_cb for actual reporting of HTTP request errors. (7b07719
  1058. Azat Khuzhin)
  1059. o Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test() (862c217
  1060. Azat Khuzhin)
  1061. o Drop extra header http_struct.h from regress_http.c (54cc800 Azat Khuzhin)
  1062. Testing
  1063. o Add regress test ipv6_for_domain. (9ec88bd Azat Khuzhin)
  1064. o Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug
  1065. mode (2fad0f3)
  1066. o Add a test with an active_later event at event_base_free time. (1c3147f)
  1067. o Make all tests pass under EVENT_DEBUG_MODE=1 (b1b054f)
  1068. o Add some verbose notes to bufferevent unit tests (9d893c9)
  1069. o New test for active_later->active transition on event_active (a153874)
  1070. o New tests for event_base_foreach_event() (0b096ef)
  1071. o Unit tests for event_base_gettimeofday_cached() and
  1072. event_base_update_cache_time() (30ea291)
  1073. o A test for event_get_assignment() (f09629e)
  1074. o More unit tests for initializing common timeouts. (d596739)
  1075. o Fix a bug in the new main/event_foreach test (702c9aa)
  1076. Windows:
  1077. o use FormatMessage for winsock errors (0c6ec5d, 2078e9b, 4ccdd53, c9ad3af
  1078. Patrick Pelletier)
  1079. o a program to print out the error strings for winsock errors (7296512
  1080. Patrick Pelletier)
  1081. o Fix a warning introduced in 0c6ec5d8 (eeb700c)
  1082. o Fix another warning introduced in 0c6ec5d8 (ed26561)
  1083. Examples (http)
  1084. o Add sample/https-client.c, an example of stacking evhttp as a client on
  1085. top of bufferevent_ssl. (be46c99 Catalin Patulea)
  1086. o use ${OPENSSL_LIBS} instead of -lssl -lcrypto (bf31fa5 Patrick Pelletier)
  1087. o https-client was putting newlines at 256-byte boundaries (42d7441 Patrick
  1088. Pelletier)
  1089. o better handling of OpenSSL errors (5754d96 Patrick Pelletier)
  1090. o use Debian's default root certificate location (aacd674 Patrick Pelletier)
  1091. o use iSECPartners code to validate hostname in certificate (64d9f16
  1092. Patrick Pelletier)
  1093. o avoid sign mismatch warning in openssl_hostname_validation.c (6021cb5
  1094. Patrick Pelletier)
  1095. o pull in wildcard matching code from cURL (4db9da6 Patrick Pelletier)
  1096. o Another tweak to https-client.c (95acdaa)
  1097. o Remove http_struct.h usage in sample/https-client.c (8a90a85)
  1098. Changes in version 2.1.2-alpha (18 Nov 2012)
  1099. Libevent 2.1.2-alpha includes more portable for monotonic timers,
  1100. refactors much of Libevent's internal and external infrastructure,
  1101. closes some longstanding gaps in the interface, makde other
  1102. improvements. Ths log below tries to organize features by rough area of
  1103. effect. It omits a few commits which were pure bugfixes on other commits
  1104. listed below. For more detail, see the git changelogs. For more
  1105. insight, see the "whatsnew-2.1.txt" document included in the Libevent
  1106. 2.1.2-alpha distribution.
  1107. Libevent 2.1.2-alpha also includes all changes made in 2.0.19-stable
  1108. through 2.0.21-stable inclusive.
  1109. Performance (core):
  1110. o Replace pipe-based notification with EVFILT_USER where possible. This
  1111. should make multithreaded programs on OSX and *BSD alert the main thread a
  1112. little faster. (53a07fe)
  1113. o Make th_base_lock nonrecursive. (9cd5acb)
  1114. New/Changed API Functions:
  1115. o New event_get_priority() function to return an event's priority (f90e255)
  1116. o Add a bufferevent_get_priority() function (bd39554)
  1117. o Add an event_base_loopcontinue() to tell Libevent to rescan for more
  1118. events right away (7d6aa5e)
  1119. o Add a new callback to get called on evbuffer_file_segment free
  1120. (e9f8feb yangacer, 64051b9)
  1121. o Expose event_base_foreach_event() as a public API. (84fd6d7 Roman
  1122. Puls, 232055e, ffe1643)
  1123. o Add an event_remove_timer() to remove timer on an event without
  1124. deleting it (e3b2e08)
  1125. o Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible
  1126. semantics (9dee36b)
  1127. o Rename event_enable_lock_debuging() to ..._debugging(). (The old name
  1128. should still work.) (07e132e)
  1129. o Add missing implementation for event_enable_debug_logging (3b3e21d)
  1130. PORTABLE MONOTONIC TIMERS:
  1131. Libevent 2.1.2 includes internal support for monotonic timers on
  1132. (nearly) all supported platforms, including Windows, and OSX. Libevent
  1133. applications should now be more resilient to jumps forwards or backwards
  1134. in the system clock. Also, on Linux systems with epoll, we now
  1135. optionally support microsecond-level timeouts (whereas epoll only
  1136. supports millisecond-precision timeouts).
  1137. o Use mach_absolute_time() for monotonic clock support on OSX. (b8fd6f9)
  1138. o Do not track use_monotonic field when is no monotonic clock (cb653a0)
  1139. o EVENT_BASE_FLAG_PRECISE_TIMER indicates we want fine timer precision
  1140. (ddd69d3)
  1141. o On Linux, use CLOCK_MONOTONIC_COARSE by default (55780a7)
  1142. o Implement a GetTickCount-based monotonic timer for Windows (d5e1d5a)
  1143. o Refactor monotonic timer handling into a new type and set of
  1144. functions; add a gettimeofday-based ratcheting implementation (f5e4eb0)
  1145. o Add EVENT_PRECISE_TIMER environment var for selecting precise-but-slow
  1146. timer (a2598ec)
  1147. o Implement fast/precise monotonic clocks on Windows (2c47045)
  1148. o Simple unit tests for monotonic timers (630f077)
  1149. o Improve the monotonic-time unit test: make it check the step size (7428c78)
  1150. o When PRECISE_TIMERS is set with epoll, use timerfd for microsecond
  1151. precision (26c7582)
  1152. o Split out time-related evutil functions into a new evutil_time.c (c419485)
  1153. o Split out time-related prototypes into time-internal.h (71bca50)
  1154. o Add evutil_time.obj to Makefile.nmake (0ba0683)
  1155. o Avoid giving a spurious warning when timerfd support is unavailable
  1156. (1aaf9f0 Dave Hart)
  1157. o Make test_evutil_monotonic a little more tolerant (def3b83)
  1158. o Avoid unused-var warning on systems with clock_gettime but without
  1159. CLOCK_MONOTONIC_COARSE (9be5468)
  1160. EVENT_BASE_ONCE LEAKS:
  1161. If a callback added by event_base_once() is never invoked, Libevent no
  1162. longer leaks internal memory.
  1163. o Free dangling event_once objects on event_base_free() (c17dd59)
  1164. o Add a unit test in which an event is created with event_base_once()
  1165. but never fires (4343edf)
  1166. TESTING SUPPORT, FIXES AND IMPROVEMENTS:
  1167. Libevent now disables by default its unit tests that would touch the
  1168. network, or that tend to fail on heavily-loaded systems. To re-enable
  1169. them, invoke the ./test/regress program with the @all alias.
  1170. o Simplify test.sh code significantly. (9b856fd Ross Lagerwall)
  1171. o Make all tests that hit the network disabled by default (f2cea87)
  1172. o Avoid a resource leak on error in http client benchmark (ea92fba)
  1173. o Update to latest tinytest (911b4f0349377) (ef7c4f7)
  1174. o Avoid (unlikely) overflow in bench_httpclient.c (5671033)
  1175. o Shave 700 msec off the persistent_timeout_jump test (21205b8)
  1176. o Check return value of write() in regress.c (c8009d2)
  1177. o Make load-dependent monotonic timer tests off-by-default (2b6fe8b)
  1178. o Add deferred_cb_skew to list of timing-dependent tests (34c8f31)
  1179. o Avoid test -e; older shs don't have one. (f1bd938)
  1180. o Fix renegotiation test to work around openssl 1.0.1 bug (c2f3086)
  1181. o Fix a couple of compile warnings in the unit tests (5a9a014)
  1182. MISC:
  1183. o Change evutil_weakrand_() to avoid platform random() (e86af4b Nicholas
  1184. Marriott, 3aa4415)
  1185. INFRASTRUCTURE (Active-later events):
  1186. As a simplification and optimization to Libevent's "deferred callback"
  1187. logic (introduced in 2.0 to avoid callback recursion), Libevent now
  1188. treats all of its deferrable callback types using the same logic it uses
  1189. for active events. Now deferred events no longer cause priority
  1190. inversion, no longer require special code to cancel them, and so on.
  1191. o Refactor the callback part of an event into its own event_callback
  1192. type (cba59e5)
  1193. o Add "active later" event_callbacks to supersede deferred (745a63d)
  1194. o event_base_assert_ok: check value of event_active_count for
  1195. correctness (fec8bae)
  1196. o Replace deferred_cbs with event_callback-based implementation. (ae2b84b)
  1197. o Replace more deferred_cb names with event_callback (a4079aa)
  1198. o Give event_base_process_active a single exit path (581b5be)
  1199. o Restore our priority-inversion-prevention code with deferreds (c0e425a)
  1200. o Refactor event_persist_closure: raise and extract some common logic
  1201. (bec22b4)
  1202. o Remove the unused bits from EVLIST_ALL (9889a3d)
  1203. ||||||| merged common ancestors
  1204. Changes in version 2.0.22-stable (?? Dec 2013)
  1205. (As of 3b77d62829c4393bda6f9105a5d3b73b48a64b71.)
  1206. BUGFIXES (evhttp)
  1207. o fix #73 and fix http_connection_fail_test to catch it (crash fix) (b618204 Greg Hazel)
  1208. o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)
  1209. BUGFIXES (compilation and portability)
  1210. o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
  1211. o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
  1212. o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5) (74d4c44 Kevin Bowling)
  1213. o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13 compat (817ea36)
  1214. o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
  1215. o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
  1216. o Use windows vsnprintf fixup logic on all windows environments (e826f19)
  1217. o Fix a compiler warning when checking for arc4random_buf linker breakage. (5cb3865)
  1218. o Fix another arc4random_buf-related warning (e64a2b0)
  1219. BUGFIXES (resource leaks/lock errors on error)
  1220. o Avoid leaking fds on evconnlistener with no callback set (69db261)
  1221. o Avoid double-close on getsockname error in evutil_ersatz_socketpair (0a822a6)
  1222. o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
  1223. o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer) (b8f5980 Frank Denis)
  1224. BUGFIXES (miscellaneous)
  1225. o Avoid other RNG initialization FS reads when urandom file is specified (9695e9c, bb52471)
  1226. o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
  1227. BUFGIXES (evdns)
  1228. o Checking request nameserver for NULL, before using it. (5c710c0 Belobrov Andrey)
  1229. o Fix SEGFAULT after evdns_base_resume if no nameservers installed. (f8d7df8 Azat Khuzhin)
  1230. BUGFIXES (evutil_secure_random)
  1231. o When we seed from /proc/sys/kernel/random/uuid, count it as success (e35b540)
  1232. o Document that arc4random is not a great cryptographic PRNG. (6e49696)
  1233. o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
  1234. o Really remove RNG seeds from the stack (f5ced88)
  1235. DOCUMENTATION FIXES
  1236. o Fix a mistake in evbuffer_remove() arguments in example http server code (c322c20 Gyepi Sam)
  1237. o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
  1238. Changes in version 2.0.21-stable (18 Nov 2012)
  1239. BUGFIXES:
  1240. o ssl: Don't discard SSL read event when timeout and read come close together (576b29f)
  1241. o ssl: Stop looping in "consider_reading" if reading is suspended. (f719b8a Joachim Bauch)
  1242. o ssl: No need to reserve space if reading is suspended. (1acf2eb Joachim Bauch)
  1243. o dns: Avoid a memory-leak on OOM in evdns. (73e85dd, f2bff75 George Danchev)
  1244. o build: Use python2 rather than python (0eb0109 Ross Lagerwall)
  1245. o build: Compile without warnings on mingw64 (94866c2)
  1246. o build: Fix compilation on mingw64 with -DUSE_DEBUG (62bd2c4)
  1247. o build: Make rpcgen_wrapper.sh work on systems without a "python2" binary (f3009e4)
  1248. o iocp: Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set (cb853ea Juan Pablo Fernandez)
  1249. o core: Avoid crash when event_pending() called with no event_base set on event (e3cccf3)
  1250. o misc: remove stray 'x' so print_err will compile when uncommented (ac35650 Patrick Pelletier)
  1251. o tests: Fix renegotiation test to work around openssl 1.0.1 bug (c2f3086)
  1252. o tests: Warn when openssl version in unit test mismatches compiled version. (ac009f9)
  1253. Changes in version 2.0.20-stable (23 Aug 2012)
  1254. BUGFIXES:
  1255. o core: Make event_pending() threadsafe. (be7a95c Simon Liu)
  1256. o win32: avoid crash when waiting forever on zero fds. (160e58b)
  1257. o evhttp: Fix a memory leak on error in evhttp_uriencode (11c8b31)
  1258. o evbuffer: Avoid possible needless call to writev. Found by coverity. (6a4ec5c)
  1259. o evdns: memset sockaddr_in before using it. Found by coverity. (a1a0e67)
  1260. o evhttp: Check more setsockopt return values when binding sockets. Found by coverity (a0912e3)
  1261. o evdns: Avoid segfault on weird timeout during name lookup. (dc32077 Greg Hazel)
  1262. o bufferevent_ssl: Correctly invoke callbacks when a SSL bufferevent reads some and then blocks. (606ac43)
  1263. PORTABILITY FIXES:
  1264. o check for arc4random_buf at runtime, on OS X (bff5f94 Greg Hazel)
  1265. o Correctly check for arc4random_buf (fcec3e8 Sebastian Hahn)
  1266. o Add explicit AC_PROG_SED to configure.in so all autoconfs will expose $(SED) (ca80ea6)
  1267. BUILD FIXES:
  1268. o Add GCC annotations so that the vsprintf functions get checked properly (117e327)
  1269. o Fix an unused variable warning on *BSD. (c0720c1)
  1270. UNIT TEST FIXES:
  1271. o Fix a couple of memory leaks (found with Valgrind). (3b2529a Ross Lagerwall)
  1272. o Remove deadcode in http regression tests. Found by coverity. (5553346)
  1273. o Fix possible uninitialized read in dns regression tests. Found by coverity. (2259777)
  1274. o Set umask before calling mkstemp in unit tests. Found by coverity (f1ce15d)
  1275. o Fix various check-after-dereference issues in unit tests: found by coverity (4f3732d)
  1276. o Fix resource leaks in the unit tests; found by coverity (270f279)
  1277. o Add some missing null checks to unit tests; found by coverity (f021c3d)
  1278. o Avoid more crashes/bad calls in unit tests; found by coverity (3cde5bf)
  1279. o Remove unused variable; spotted by coverity (6355b2a)
  1280. o Add checks to various return values in unit tests. Found by coverity (b9e7329)
  1281. o Move assignment outside tt_assert in ssl unit tests. Appeases coverity. (a2006c0)
  1282. Changes in version 2.0.19-stable (3 May 2012)
  1283. BUGFIXES (CORE):
  1284. o Refactor event_persist_closure: raise and extract some common logic (bec22b4)
  1285. o If time has jumped so we'd reschedule a periodic event in the past, schedule it for the future instead (dfd808c)
  1286. o If a higher-priority event becomes active, don't continue running events of the current priority. (2bfda40)
  1287. BUGFIXES (SSL):
  1288. o Fixed potential double-readcb execution with openssl bufferevents. (4e62cd1 Mark Ellzey)
  1289. BUGFIXES (DNS):
  1290. o Cancel a probe request when the server is freed, and ignore cancelled probe callbacks (94d2336 Greg Hazel)
  1291. o Remove redundant DNS_ERR_CANCEL check, move comment (46b8060 Greg Hazel)
  1292. o When retransmitting a timed-out DNS request, pick a fresh nameserver. (3d9e52a)
  1293. DOCUMENTATION FIXES:
  1294. o Fix a typo in the bufferevent documentation (98e9119)
  1295. o Add missing ) to changelog; spotted by rransom (4c7ee6b)
  1296. o Fix the website URL in the readme (f775521)
  1297. COMPILATION FIXES:
  1298. o Fix a compilation error with MSVC 2005 due to use of mode_t (336dcae)
  1299. o Configure with gcc older than 2.95 (4a6fd43 Sebastian Hahn)
  1300. o Generate event-config.h with a single sed script (30b6f88 Zack Weinberg)
  1301. FORWARD-COMPATIBILITY:
  1302. o Backport: provide EVENT_LOG_* names, and deprecate _EVENT_LOG_* (d1a03b2)
  1303. TESTING/DEBUGGING SUPPORT:
  1304. o dns-example.c can now take a resolv.conf file on the commandline (6610fa5)
  1305. o Make some evdns.c debug logs more verbose (d873d67)
  1306. o Work-around a stupid gcov-breaking bug in OSX 10.6 (b3887cd)
  1307. Changes in version 2.0.18-stable (22 Mar 2012)
  1308. BUGFIXES (core):
  1309. o Make uses of open() close-on-exec safe by introducing an internal evutil_open_closeonexec. (d2b5f72 Ross Lagerwall, 03dce42)
  1310. BUGFIXES (kqueue):
  1311. o Properly zero the kevent in kq_setup_kevent() (c2c7b39 Sebastian Hahn)
  1312. BUILD FIXES:
  1313. o Added OPENSSL_LDFLAGS env variable which is appended to SSL checks. (9278196 Mark Ellzey)
  1314. o Changed OPENSSL_LDFLAGS to OPENSSL_LIBADD (2d67b63 Mark Ellzey)
  1315. o Don't do clang version detection when disabling some flags (083296b Sebastian Hahn)
  1316. BUGFIXES (dns):
  1317. o Stop crashing in evdns when nameserver probes give a weird error (bec5068)
  1318. Changes in version 2.0.17-stable (10 Feb 2012)
  1319. BUGFIXES (core):
  1320. o Be absolutely sure to clear pncalls before leaving event_signal_closure (11f36a5)
  1321. o check for sysctl before we use it (358c745 Mike Frysinger)
  1322. o Remove bogus casts of socket to int before calling ev_callback (f032516)
  1323. o Make evconnlistener work around bug in older Linux when getting nmapped (ecfc720)
  1324. o Fix a list corruption bug when using event_reinit() with signals present (6e41cdc)
  1325. o Fix a fd leak in event_reinit() (3f18ad1)
  1326. o Do a memberwise comparison of threading function tables (c94a5f2 Nate R)
  1327. o Use C-style comments in C source files (for compatibility with compilers such as xlc on AIX). (d84d917 Greg Hewgill)
  1328. o Avoid crash when freeing event_iocp and using event_set_mem_functions (19715a6)
  1329. o In the kqueue backend, do not report EBADF as an EV_READ (5d7bfa1 Nicholas Marriott)
  1330. BUGFIXES (evbuffer and bufferevents):
  1331. o Fix behavior of evbuffer_peek(buf,-1,NULL,NULL,0) (c986f23 Zack Weinberg)
  1332. o Loop on filtering SSL reads until we are blocked or exhausted. (5b4b812)
  1333. BUGFIXES (evhttp):
  1334. o Force strict validation of HTTP version in response. (790f6b3 Catalin Patulea)
  1335. BUGFIXES (evdns):
  1336. o evdns: fix a bug in circular-queue implementation (d6094b1)
  1337. BUILD FIXES:
  1338. o Fix a silly compilation error with the sun compiler (1927776 Colin Watt)
  1339. o Suppress a gcc warning from ignoring fwrite return in http-sample.c (7206e8c)
  1340. DOCUMENTATION FIXES:
  1341. o Slightly clarify evbuffer_peek documentation (7bbf6ca)
  1342. o Update copyright notices to 2012 (e49e289)
  1343. NEW APIS:
  1344. o Backport evhttp_connection_get_bufferevent to Libevent 2.0 (da70fa7 Arno Bakker)
  1345. TESTS AND TEST FIXES:
  1346. o Fix a race condition in the dns/bufferevent_connect_hostname test. (cba48c7)
  1347. o Add function to check referential integrity of an event_base (27737d5)
  1348. o Check event_base correctness at end of each unit test (3312b02)
  1349. o Workaround in the unit tests for an apparent epoll bug in Linux 3.2 (dab9187)
  1350. o Better workaround for Linux 3.2 edge-triggered epoll bug (9f9e259)
  1351. Changes in version 2.0.16-stable (18 Nov 2011)
  1352. BUGFIXES (core):
  1353. o More detailed message in case of libevent self-debugging failure. (9e6a4ef Leonid Evdokimov)
  1354. o epoll: close fd on alloc fail at initialization (1aee718 Jamie Iles)
  1355. o Fix compile warning from saying event2/*.h inside a comment (447b0ba)
  1356. o Warn when unable to construct base because of failing make_base_notifiable (4e797f3)
  1357. o Don't try to make notifiable event_base when no threading fns are configured (e787413)
  1358. BUGFIXES (evbuffer):
  1359. o unit test for remove_buffer bug (90bd620 Greg Hazel)
  1360. o Fix an evbuffer crash in evbuffer_remove_buffer() (c37069c)
  1361. BUGFIXES (bufferevent_openssl):
  1362. o Refactor amount-to-read calculations in buffervent_ssl consider_reading() (a186e73 Mark Ellzey)
  1363. o Move SSL rate-limit enforcement into bytes_to_read() (96c562f)
  1364. o Avoid spinning on OpenSSL reads (2aa036f Mark Ellzey)
  1365. BUGFIXES (dns)
  1366. o Empty DNS reply with OK status is another way to say NODATA. (21a08d6 Leonid Evdokimov)
  1367. TESTING:
  1368. o Tests for 94fba5b and f72e8f6 (d58c15e Leonid Evdokimov)
  1369. o Test for commit aff6ba1 (f7841bf Leonid Evdokimov)
  1370. o Style and comment tweaks for dns/leak* tests (5e42202)
  1371. o improve test to remove at least one buffer from src (7eb52eb Greg Hazel)
  1372. DOCUMENTATION:
  1373. o Add note about evhttp_send_reply_end to its doxygen (724bfb5)
  1374. o Update copyright dates to 2011. (3c824bd)
  1375. o Fix typo in whatsnew-2.0.txt (674bc6a Mansour Moufid)
  1376. o Improve win32 behavior of dns-sample.c code (a3f320e Gisle Vanem)
  1377. Changes in version 2.0.15-stable (12 Oct 2011)
  1378. BUGFIXES (DNS):
  1379. o DNS: add ttl for negative answers using RFC 2308 idea. (f72e8f6 Leonid Evdokimov)
  1380. o Add DNS_ERR_NODATA error code to handle empty replies. (94fba5b Leonid Evdokimov)
  1381. BUFGIXES (bufferevents and evbuffers):
  1382. o Make evbuffer callbacks get the right n_added value after evbuffer_add (1ef1f68 Alex)
  1383. o Prefer mmap to sendfile unless a DRAINS_TO_FD flag is set. Allows add_file to work with SSL. (0ba0af9)
  1384. BUGFIXES (event loop):
  1385. o When a signal callback is activated to run multiple times, allow event_base_loopbreak to work even before they all have run. (4e8eb6a)
  1386. DOCUMENTATION FIXES:
  1387. o Fix docstring in dns.h (2b6eae5 Leonid Evdokimov)
  1388. o refer to non-deprecated evdns functions in comments (ba5c27d Greg Hazel)
  1389. BUILD AND TESTING FIXES:
  1390. o le-proxy and regress depend on openssl directly (9ae061a Sergey Avseyev)
  1391. o Use _SOURCES, not _sources, in sample/Makefile.am (7f82382)
  1392. o Fixed compiler warnings for unchecked read/write calls. (c3b62fd Mark Ellzey)
  1393. o Make write-checking fixes use tt_fail_perror (2b76847)
  1394. o Fix some "value never used" warnings with gcc 4.6.1 (39c0cf7)
  1395. Changes in version 2.0.14-stable (31 Aug 2011)
  1396. BUGFIXES (bufferevents and evbuffers):
  1397. o Propagate errors on the underlying bufferevent to the user. (4a34394 Joachim Bauch)
  1398. o Ignore OpenSSL deprecation warnings on OS X (5d1b255 Sebastian Hahn)
  1399. o Fix handling of group rate limits under 64 bytes of burst (6d5440e)
  1400. o Solaris sendfile: correctly detect amount of data sent (643922e Michael Herf)
  1401. o Make rate limiting work with common_timeout logic (5b18f13)
  1402. o clear read watermark on underlying bufferevent when creating filtering bev to fix potentially failing fragmented ssl handshakes (54f7e61 Joachim Bauch)
  1403. BUGFIXES (IOCP):
  1404. o IOCP: don't launch reads or writes on an unconnected socket (495c227)
  1405. o Make IOCP rate-limiting group support stricter and less surprising. (a98da7b)
  1406. o Have test-ratelim.c support IOCP (0ff2c5a)
  1407. o Make overlapped reads result in evbuffer callbacks getting invoked (6acfbdd)
  1408. o Correctly terminate IO on an async bufferevent on bufferevent_free (e6af35d)
  1409. BUGFIXES (other):
  1410. o Fix evsig_dealloc memory leak with debugging turned on. (9b724b2 Leonid Evdokimov)
  1411. o Fix request_finished memory leak with debugging turned on. (aff6ba1 Leonid Evdokimov)
  1412. BUILD AND TESTING FIXES:
  1413. o Allow OS-neutral builds for platforms where some versions have arc4random_buf (b442302 Mitchell Livingston)
  1414. o Try to fix 'make distcheck' errors when building out-of-tree (04656ea Dave Hart)
  1415. o Clean up some problems identified by Coverity. (7c11e51 Harlan Stenn)
  1416. Changes in version 2.0.13-stable (18 Jul 2011)
  1417. BUGFIXES
  1418. o Avoid race-condition when initializing global locks (b683cae)
  1419. o Fix bug in SSL bufferevents backed by a bev with a write high-watermarks (e050703 Joachim Bauch)
  1420. o Speed up invoke_callbacks on evbuffers when there are no callbacks (f87f568 Mark Ellzey)
  1421. o Avoid a segfault when all methods are disabled or broken (27ce38b)
  1422. o Fix incorrect results from evbuffer_search_eol(EOL_LF) (4461f1a)
  1423. o Add some missing checks for mm_calloc failures (89d5e09)
  1424. o Replace an assertion for event_base_free(NULL) with a check-and-warn (09fe97d)
  1425. o Report kqueue ebadf, epipe, and eperm as EV_READ events (1fd34ab)
  1426. o Check if the `evhttp_new_object' function in `http.c' returns NULL. (446cc7a Mansour Moufid)
  1427. o Use the correct printf args when formatting size_t (3203f88)
  1428. o Complain if the caller tries to change threading cbs after setting them (cb6ecee)
  1429. DOCUMENTATION FIXES AND IMPROVEMENTS
  1430. o Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy (2888fac)
  1431. o Update Doxyfile to produce more useful output (aea0555)
  1432. TEST FIXES
  1433. o Fix up test_evutil_snprintf (caf695a)
  1434. o Fix tinytest invocation from windows shell (57def34 Ed Day)
  1435. BUILD FIXES
  1436. o Use AM_CPPFLAGS in sample/Makefile.am, not AM_CFLAGS (4a5c82d)
  1437. o Fix select.c compilation on systems with no NFDBITS (49d1136)
  1438. o Fix a few warnings on OpenBSD (8ee9f9c Nicholas Marriott)
  1439. o Don't break when building tests from git without python installed (b031adf)
  1440. o Don't install event_rpcgen.py when --disable-libevent-install is used (e23cda3 Harlan Stenn)
  1441. o Fix AIX build issue with TAILQ_FOREACH definition (e934096)
  1442. Changes in version 2.0.12-stable (4 Jun 2011)
  1443. BUGFIXES
  1444. o Fix a warn-and-fail bug in kqueue by providing kevent() room to report errors (28317a0)
  1445. o Fix an assert-inducing fencepost bug in the select backend (d90149d)
  1446. o Fix failing http assertion introducd in commit 0d6622e (0848814 Kevin Ko)
  1447. o Fix a bug that prevented us from configuring IPv6 nameservers. (74760f1)
  1448. o Prevent size_t overflow in evhttp_htmlescape. (06c51cd Mansour Moufid)
  1449. o Added several checks for under/overflow conditions in evhttp_handle_chunked_read (a279272 Mark Ellzey)
  1450. o Added overflow checks in evhttp_read_body and evhttp_get_body (84560fc Mark Ellzey)
  1451. DOCUMENTATION:
  1452. o Add missing words to EVLOOP_NONBLOCK documentation (9556a7d)
  1453. BUILD FIXES
  1454. o libssl depends on libcrypto, not the other way around. (274dd03 Peter Rosin)
  1455. o Libtool brings in the dependencies of libevent_openssl.la automatically (7b819f2 Peter Rosin)
  1456. o Use OPENSSL_LIBS in Makefile.am (292092e Sebastian Hahn)
  1457. o Move the win32 detection in configure.in (ceb03b9 Sebastian Hahn)
  1458. o Correctly detect openssl on windows (6619385 Sebastian Hahn)
  1459. o Fix a compile warning with zlib 1.2.4 and 1.2.5 (5786b91 Sebastian Hahn)
  1460. o Fix compilation with GCC 2, which had no __builtin_expect (09d39a1 Dave Hart)
  1461. o Fix new warnings from GCC 4.6 (06a714f)
  1462. o Link with -lshell32 and -ladvapi32 on Win32. (86090ee Peter Rosin)
  1463. o Make the tests build when OpenSSL is not available. (07c41be Peter Rosin)
  1464. o Bring in the compile script from automake, if needed. (f3c7a4c Peter Rosin)
  1465. o MSVC does not provide S_ISDIR, so provide it manually. (70be7d1 Peter Rosin)
  1466. o unistd.h and sys/time.h might not exist. (fe93022 Peter Rosin)
  1467. o Make sure TINYTEST_LOCAL is defined when building tinytest.c (8fa030c Peter Rosin)
  1468. o Fix winsock2.h #include issues with MSVC (3d768dc Peter Rosin)
  1469. o Use evutil_gettimeofday instead of relying on the system gettimeofday. (0de87fe Peter Rosin)
  1470. o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
  1471. o InitializeCriticalSectionAndSpinCount requires _WIN32_WINNT >= 0x0403. (816115a Peter Rosin)
  1472. o cygwin: make it possible to build DLLs (d54d3fc)
  1473. Changes in version 2.0.11-stable (27 Apr 2011)
  1474. [Autogenerated from the Git log, sorted and cleaned by hand.]
  1475. BUGFIXES:
  1476. o Fix evport handling of POLLHUP and POLLERR (b42ce4b)
  1477. o Fix compilation on Windows with NDEBUG (cb8059d)
  1478. o Check for POLLERR, POLLHUP and POLLNVAL for Solaris event ports (0144886 Trond Norbye)
  1479. o Detect and handle more allocation failures. (666b096 Jardel Weyrich)
  1480. o Use event_err() only if the failure is truly unrecoverable. (3f8d22a Jardel Weyrich)
  1481. o Handle resize failures in the select backend better. (83e805a)
  1482. o Correctly free selectop fields when select_resize fails in select_init (0c0ec0b)
  1483. o Make --enable-gcc-warnings a no-op if not using gcc (3267703)
  1484. o Fix a type error in our (unused) arc4random_stir() (f736198)
  1485. o Correctly detect and stop non-chunked http requests when the body is too long (63a715e)
  1486. o Have event_base_gettimeofday_cached() always return wall-clock time (a459ef7)
  1487. o Workaround for http crash bug 3078187 (5dc5662 Tomash Brechko)
  1488. o Fix incorrect assertions and possible use-after-free in evrpc_free() (4b8f02f Christophe Fillot)
  1489. o Reset outgoing http connection when read data in idle state. (272823f Tomash Brechko)
  1490. o Fix subtle recursion in evhttp_connection_cb_cleanup(). (218cf19 Tomash Brechko)
  1491. o Fix the case when failed evhttp_make_request() leaved request in the queue. (0d6622e Tomash Brechko)
  1492. o Fix a crash bug in evdns server circular list code (00e91b3)
  1493. o Handle calloc failure in evdns. (Found by Dave Hart) (364291e)
  1494. o Fix a memory leak on win32 socket->event map. (b4f89f0)
  1495. o Add a forgotten NULL check to evhttp_parse_headers (12311ff Sebastian Hahn)
  1496. o Fix possible NULL-deref in evdns_cancel_request (5208544 Sebastian Hahn)
  1497. PORTABILITY:
  1498. o Fall back to sscanf if we have no other way to implement strtoll (453317b)
  1499. o Build correctly on platforms without sockaddr_storage (9184563)
  1500. o Try to build correctly on platforms with no IPv6 support (713c254)
  1501. o Build on systems without AI_PASSIVE (cb92113)
  1502. o Fix http unit test on non-windows platforms without getaddrinfo (6092f12)
  1503. o Do not check for gethostbyname_r versions if we have getaddrinfo (c1260b0)
  1504. o Include arpa/inet.h as needed on HPUX (10c834c Harlan Stenn)
  1505. o Include util-internal.h as needed to build on platforms with no sockaddr_storage (bbf5515 Harlan Stenn)
  1506. o Check for getservbyname even if not on win32. (af08a94 Harlan Stenn)
  1507. o Add -D_OSF_SOURCE to fix hpux builds (0b33479 Harlan Stenn)
  1508. o Check for allocation failures in apply_socktype_protocol_hack (637d17a)
  1509. o Fix the check for multicast or broadcast addresses in evutil_check_interfaces (1a21d7b)
  1510. o Avoid a free(NULL) if out-of-memory in evdns_getaddrinfo. Found by Dave Hart (3417f68)
  1511. DEFENSIVE PROGRAMMING:
  1512. o Add compile-time check for AF_UNSPEC==PF_UNSPEC (3c8f4e7)
  1513. BUGS IN TESTS:
  1514. o Fix test.sh output on solaris (b4f89b6 Dave Hart)
  1515. o Make test-eof fail with a timeout if we never get an eof. (05a2c22 Harlan Stenn)
  1516. o Use %s with printf in test.sh (039b9bd)
  1517. o Add an assert to appease clang's static analyzer (b0ff7eb Sebastian Hahn)
  1518. o Add a forgotten return value check in the unit tests (3819b62 Sebastian Hahn)
  1519. o Actually send NULL request in http_bad_request_test (b693c32 Sebastian Hahn)
  1520. o add some (void) casts for unused variables (65707d7 Sebastian Hahn)
  1521. o Refactor test_getaddrinfo_async_cancel_stress() (48c44a6 Sebastian Hahn)
  1522. o Be nice and "handle" error return values in sample code (4bac793 Sebastian Hahn)
  1523. o Check return value of evbuffer_add_cb in tests (93a1abb Sebastian Hahn)
  1524. o Remote some dead code from dns-example.c (744c745 Sebastian Hahn)
  1525. o Zero a struct sockaddr_in before using it (646f9fe Sebastian Hahn)
  1526. BUILD FIXES:
  1527. o Fix warnings about AC_LANG_PROGRAM usage (f663112 Sebastian Hahn)
  1528. o Skip check for zlib if we have no zlib.h (a317c06 Harlan Stenn)
  1529. o Fix autoconf bracket issues; make check for getaddrinfo include netdb.h (833e5e9 Harlan Stenn)
  1530. o Correct an AM_CFLAGS to an AM_CPPFLAGS in test/Makefile.am (9c469db Dave Hart)
  1531. o Fix make distcheck & installation of libevent 1 headers (b5a1f9f Dave Hart)
  1532. o Fix compilation under LLVM/clang with --enable-gcc-warnings (ad9ff58 Sebastian Hahn)
  1533. FEATURES:
  1534. o Make URI parser able to tolerate nonconformant URIs. (95060b5)
  1535. DOCUMENTATION:
  1536. o Clarify event_set_mem_functions doc (926f816)
  1537. o Correct evhttp_del_accept_socket documentation on whether socket is closed (f665924)
  1538. o fix spelling mistake in whatsnew-2.0.txt (deb2f73)
  1539. o Fix sample/http-server ipv6 fixes (eb692be)
  1540. o Comment internal headers used in sample code. (4eb281c)
  1541. o Be explicit about how long event loops run in event.h documentation (f95bafb)
  1542. o Add comment to configure.in to explain gc-sections test logic (c621359)
  1543. o Fix a couple of memory leaks in samples/http-server.c. Found by Dave Hart. (2e9f665)
  1544. BUILD IMPROVEMENTS:
  1545. Libevent 2.1.2-alpha modernizes Libevent's use of autotools, and makes
  1546. numerous other build system. Parallel builds should be faster, and all
  1547. builds should be quieter.
  1548. o Split long lists in Makefile.am into one-item-per-line (2711cda)
  1549. o Remove unnecessary code in configure.in. (e65914f Ross Lagerwall)
  1550. o attempt to support OpenSSL in Makefile.nmake (eba0eb2 Patrick Pelletier)
  1551. o Use newer syntax for autoconf/automake init (7d60ba8)
  1552. o Enable silent build rules by default. Override with V=1 (7b18e5c)
  1553. o Switch to non-recursive makefiles (7092f3b)
  1554. o Rename subordinate Makefile.ams to include.am (6cdfeeb)
  1555. o Make quiet build even quieter (371a123)
  1556. o New --quiet option for event_rpcgen.py (aa59c1e)
  1557. o Be quiet when making regress.gen.[ch] (607a8ff)
  1558. o Fix handling of no-python case for nonrecursive make (1e3123d)
  1559. o We now require automake 1.9 or later. Modernize! (b7f6e89)
  1560. o Rename configure.in to configure.ac. (b3fea67 Ross Lagerwall)
  1561. o Use correct openssl libs and includes in pkgconfig file (d70af27)
  1562. o Use the same CFLAGS for openssl when building unit tests as with
  1563. libevent (1d9d511)
  1564. DOCUMENTATION
  1565. o Note that make_base_notifiable should not be necessary (26ee5f9)
  1566. o Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs (371efeb)
  1567. o Add caveat to docs about bufferevent_free() with data in outbuf (6fab9ee)
  1568. o Make it more clear that NOLOCK means "I promise, no multithreading"
  1569. (9444524)
  1570. o Fix a comment in test-fdleak after 077c7e949. (3881d8f Ross Lagerwall)
  1571. o Make the Makefile.nmake warning slightly less dire (e7bf4c8)
  1572. o Fix typo : events instead of evets (05f1aca Azat Khuzhin)
  1573. o Additional comments about OPENSSL_DIR variable, prompted by Dave Hart
  1574. (6bde2ef Patrick Pelletier)
  1575. EVHTTP:
  1576. o ignore LWS after field-content in headers (370a2c0 Artem Germanov)
  1577. o Clean up rtrim implementation (aa59d80)
  1578. o Remove trailing tabs in HTTP headers as well. (ac42519)
  1579. o Remove internal ws from multiline http headers correctly (c6ff381)
  1580. o Move evutil_rtrim_lws_ to evutil.c where it belongs (61b93af)
  1581. o add evhttp_request_get_response_code_line (4f4d0c9 Jay R. Wren)
  1582. o Use EVUTIL_SOCKET_ERROR() wrapper to save/restore errno in
  1583. evhttp_connection_fail_ (7afbd60)
  1584. o preserve errno in evhttp_connection_fail_ for inspection by the
  1585. callback (36d0ee5 Patrick Pelletier)
  1586. BUGFIXES:
  1587. o Correctly handle running on a system where accept4 doesn't work. (9fbfe9b)
  1588. o Avoid double-free on error in evbuffer_add_file. Found by
  1589. coverity. (6a81b1f)
  1590. o Fix another possible uninitialized read in dns regression tests. Found
  1591. by coverity. (13525c5)
  1592. o Add checks for functions in test-ratelim.c; found by Coverity (aa501e1)
  1593. o Avoid memory leak in test_event_calloc unit test; found by coverity
  1594. (92817a1)
  1595. o Fix a shadowed variable in addfile_test_readcb; found by coverity
  1596. (225344c)
  1597. o Check return value when using LEV_OPT_DEFERRED_ACCEPT. Found by
  1598. coverity (6487f63)
  1599. o Prevent reference leak of bufferevent if getaddrinfo fails. (b757786
  1600. Joachim Bauch)
  1601. o Make event_base_getnpriorities work with old "implicit base" code
  1602. (c46cb9c)
  1603. o Simplify and correct evutil_open_closeonexec_ (0de587f)
  1604. o Fix event_dlist definition when sys/queue not included (81b6209
  1605. Derrick Pallas)
  1606. Changes in version 2.1.1-alpha (4 Apr 2012)
  1607. Libevent 2.1.1-alpha includes a number of new features and performance
  1608. improvements. The log below tries to organize them by rough area of
  1609. effect. It omits some commits which were pure bugfixes on other commits
  1610. listed below. For more detail, see the git changelogs. For more
  1611. insight, see the "whatsnew-2.1.txt" document included in the Libevent
  1612. 2.1.1-alpha distribution.
  1613. Performance: Core
  1614. o Replace several TAILQ users with LIST. LIST can be a little faster than
  1615. TAILQ for cases where we don't need queue-like behavior. (f9db33d,
  1616. 6494772, d313c29, 974d004)
  1617. o Disabled code to optimize the case where we reinsert an existing
  1618. timeout (e47042f, 09cbc3d)
  1619. o Remove a needless base-notify when rescheduling the first timeout (77a96fd)
  1620. o Save a needless comparison when removing/adjusting timeouts (dd5189b)
  1621. o Possible optimization: split event_queue_insert/remove into
  1622. separate functions. needs testing (efc4dc5)
  1623. o Make event_count maintenance branchless at the expense of an
  1624. extra shift. Needs benchmarking (d1cee3b)
  1625. o In the 2.1 branch, let's try out lazy gettimeofday/clock_gettime
  1626. comparison (2a83ecc)
  1627. o Optimization in event_process_active(): ignore maxcb & endtime
  1628. for highest priority events. (a9866aa Alexander Drozdov)
  1629. o Bypass event_add when using event_base_once() for a 0-sec timeout (35c5c95)
  1630. o Remove the eventqueue list and the ev_next pointers. (604569b 066775e)
  1631. Performance: Evbuffers
  1632. o Roughly 20% speed increase when line-draining a buffer using
  1633. EVBUFFER_EOL_CRLF (5dde0f0 Mina Naguib)
  1634. o Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF (7b9d139)
  1635. o Fix a bug in the improved EOL_CRLF code (d927965)
  1636. o Remove a needless branch in evbuffer_drain() (d19a326)
  1637. Performance: Linux
  1638. o Infrastructure for using faster/fewer syscalls when creating
  1639. sockets (a1c042b)
  1640. o Minimize syscalls during socket creation in listener.c (7e9e289)
  1641. o Use a wrapper function to create the notification
  1642. pipe/socketpair/eventfd (ca76cd9)
  1643. o Use pipes for telling signals to main thread when possible (a35f396)
  1644. o Save syscalls when constructing listener sockets for evhttp (af6c9d8)
  1645. o Save some syscalls when creating evdns sockets (713e570)
  1646. o Save some syscalls when constructing a socket for a bufferevent (33fca62)
  1647. o Prefer epoll_create1 on Linuxen that have it (bac906c)
  1648. Performance: Epoll backend
  1649. o Use current event set rather than current pending change when
  1650. deciding whether to no-op a del (04ba27e Mike Smellie)
  1651. o Replace big chain of if/thens in epoll.c with a table lookup (8c83eb6)
  1652. o Clean up error handling in epoll_apply_one_change() a little (2d55a19)
  1653. Performance: Evport backend
  1654. o evport: use evmap_io to track fdinfo status. Should save time and
  1655. RAM. (4687ce4)
  1656. o evport: Remove a linear search over recent events when
  1657. reactivating them (0f77efe)
  1658. o evport: Use portev_user to remember fdinfo struct (276ec0e)
  1659. o evport: don't scan more events in ed_pending than needed (849a5cf)
  1660. o evport: Remove artificial low limit on max events per getn call (c04d927)
  1661. o Reenable main/many_events_slow_add for evport in 2.1 (e903db3)
  1662. Performance: Windows
  1663. o Use GetSystemTimeAsFileTime to implement gettimeofday on
  1664. win32. It's faster and more accurate than our old
  1665. approach. (b8b8aa5)
  1666. New functions and features: debugging
  1667. o Add event_enable_debug_logging() to control use of debug logs (e30a82f)
  1668. New functions and features: core
  1669. o Add event_config function to limit time/callbacks between calls
  1670. to dispatch (fd4de1e, 9fa56bd, a37a0c0, 3c63edd)
  1671. o New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no
  1672. events are pending (084e68f)
  1673. o Add event_base_get_npriorities() function. (ee3a4ee Alexander Drozdov)
  1674. o Make evbase_priority_init() and evbase_get_npriorities()
  1675. threadsafe (3c55b5e)
  1676. o New event_base_update_cache_time() to set cached_tv to current
  1677. time (212533e Abel Mathew)
  1678. o Add event_self_cbarg() to be used in conjunction with
  1679. event_new(). (ed36e6a Ross Lagerwall, fa931bb, 09a1906, 1338e6c,
  1680. 33e43ef)
  1681. o Add a new libevent_global_shutdown() to free all globals before
  1682. exiting. (041ca00 Mark Ellzey, f98c158, 15296d0, 55e991b)
  1683. o Use getifaddrs to detect our interfaces if possible (7085a45)
  1684. o Add event_base_get_running_event() to get the event* whose cb we
  1685. are in (c5732fd, 13dad99)
  1686. New functions and features: building
  1687. o Implement --enable-gcc-hardening configure option (7550267 Sebastian Hahn)
  1688. New functions and features: evbuffers
  1689. o Add evbuffer_add_file_segment() so one fd can be used efficiently
  1690. in more than one evbuffer_add_file at a time (e72afae, c2d9884,
  1691. 3f405d2, 0aad014)
  1692. o Fix windows file segment mappings (8254de7)
  1693. o Allow evbuffer_ptr_set to yield a point just after the end of the
  1694. buffer. (e6fe1da)
  1695. o Allow evbuffer_ptr to point to position 0 in an empty evbuffer
  1696. (7aeb2fd Nir Soffer)
  1697. o Set the special "not found" evbuffer_ptr consistently. (e3e97ae Nir Soffer)
  1698. o support adding buffers to other buffers non-destructively
  1699. (9d7368a Joachim Bauch)
  1700. o prevent nested multicast references, reworked locking (26041a8
  1701. Joachim Bauch)
  1702. o New EVBUFFER_EOL_NUL to read NUL-terminated strings from an
  1703. evbuffer (d7a8b36 Andrea Montefusco, 54142c9)
  1704. o Make evbuffer_file_segment_types adaptable (c6bbbf1)
  1705. o Added evbuffer_add_iovec and unit tests. (aaec5ac Mark Ellzey, 27b5398)
  1706. o Add evbuffer_copyout_from to copy data from the middle of a
  1707. buffer (27e2225)
  1708. New functions and features: bufferevents
  1709. o Allow users to set allow_dirty_shutdown (099d27d Catalin Patulea)
  1710. o Tweak allow_dirty_shutdown documentation (a44cd2b)
  1711. o Fix two issues in the allow_dirty_shutdown code. (f3b89de)
  1712. o Add a bufferevent_getcb() to find a bufferevent's current
  1713. callbacks (a650394)
  1714. o bufferevent: Add functions to set/get max_single_read/write
  1715. values. (998c813 Alexander Drozdov)
  1716. o bev_ssl: Be more specific in event callbacks. evhttp in particular gets
  1717. confused without at least one of BEV_EVENT_{READING|WRITING}. (f7eb69a
  1718. Catalin Patulea)
  1719. New functions and features: evconnlisteners
  1720. o Support TCP_DEFER_ACCEPT sockopts for listeners (5880e4a Mark Ellzey,
  1721. a270728)
  1722. o Add another caveat to the TCP_DEFER_ACCEPT documentation (a270728)
  1723. o Allow evconnlistener to be created in disabled state. (9593a33
  1724. Alexander Drozdov)
  1725. o The LEV_OPT_CLOSE_ON_EXEC flag now applies to accepted listener
  1726. sockets too (4970329)
  1727. Evhttp:
  1728. o Add new evhttp_{connection_}set_timeout_tv() functions to set
  1729. finger-grained http timeouts (6350e6c Constantine Verutin)
  1730. o Performance tweak to evhttp_parse_request_line. (aee1a97 Mark Ellzey)
  1731. o Add missing break to evhttp_parse_request_line (0fcc536)
  1732. o Add evhttp callback for bufferevent creation; this lets evhttp
  1733. support SSL. (8d3a850)
  1734. o Remove calls to deprecated bufferevent functions from evhttp.c (4d63758)
  1735. o evhttp: Add evhttp_foreach_bound_socket. (a2c48e3 Samy Al Bahra)
  1736. Build improvements:
  1737. o Add AC_USE_SYSTEM_EXTENSIONS to configure.in. Requires follow on
  1738. patches for correctness and robustness. (1fa7dbe Kevin Bowling)
  1739. o Filter '# define' statements from autoconf and generate
  1740. event-private.h (321b558 Kevin Bowling)
  1741. o Remove internal usage of _GNU_SOURCE (3b26541 Kevin Bowling)
  1742. o Eliminate a couple more manual internal _GNU_SOURCE defines (c51ef93
  1743. Kevin Bowling)
  1744. o Add AC_GNU_SOURCE to the fallback case. (ea8fa4c Kevin Bowling)
  1745. o Use a Configuration Header Template for evconfig-private.h (868f888
  1746. Kevin Bowling)
  1747. o Fix a comment warning and add evconfig-private.h to .gitignore
  1748. (f6d66bc Kevin Bowling)
  1749. o Include evconfig-private.h in internal files for great good. (0915ca0
  1750. Kevin Bowling)
  1751. o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
  1752. (ad03952 Kevin Bowling)
  1753. o Prefer the ./configure evconfig-private.h in MinGW, just in
  1754. case. (f964b72 Kevin Bowling)
  1755. o Shell hack for weird mkdir -p commands (fd7b5a8 Kevin Bowling)
  1756. o Add evconfig-private to remaining files (ded0a09 Kevin Bowling)
  1757. o Allow use of --enable-silent-rules for quieter compilation with
  1758. automake 1.11 (f1f8514 Dave Hart)
  1759. o Use "_WIN32", not WIN32: it's standard and we don't need to fake it
  1760. (9f560b)
  1761. o In configure, test for _WIN32 not WIN32. (85078b1 Peter Rosin)
  1762. o Do not define WIN32 in Makefile.nmake (d41f3ea Peter Rosin)
  1763. o Provide the autoconf m4 macros for the new OpenSSL via pkg-config
  1764. stuff. (674dc3d Harlan Stenn)
  1765. o Use pkg-config (if available) to handle OpenSSL. (1c63860 Harlan Stenn)
  1766. o We need AM_CPPFLAGS when compiling bufferevent_openssl.c (6d2613b
  1767. Harlan Stenn)
  1768. o Fix OSX build: $(OPENSSL_INCS) needs to be after
  1769. $(AM_CPPFLAGS). (46f1769 Zack Weinberg)
  1770. o Make gcc warnings on by default, and --enable-gcc-warnings only add
  1771. -Werror (d46517e Sebastian Hahn)
  1772. o Split up extra-long AC_CHECK_FUNCS/HEADERS lines in configure.in (88a30ad)
  1773. o Move libevent 1.x headers to include/, to put all public headers in
  1774. one place. (bbea8d6)
  1775. o Put #ifdef around some files to support alternate build
  1776. systems. (76d4c92 Ross Lagerwall)
  1777. o Also make win32select.c conditional for IDE users (bf2c5a7)
  1778. Debugging:
  1779. o Add a magic number to debug_locks to better catch lock-coding
  1780. errors. (b4a29c0 Dave Hart)
  1781. o munge the debug_lock signature before freeing it: it might help us
  1782. catch use-after-free (f28084d)
  1783. o Added --enable-event-debugging in configure (bc7b4e4, a9c2c9a Mark Ellzey)
  1784. o Debug addition for printing usec on TIMEOUT debugging. (ac43ce0 Mark Ellzey)
  1785. o Added usec debug in another area for debug (3baab0d Mark Ellzey)
  1786. o added timeout debug logs to include event ptr. (4b7d298 Mark Ellzey)
  1787. o more event dbg updates (6727543 Mark Ellzey)
  1788. o Clarify event_enable_debug_logging a little (6207826)
  1789. o Make --enable-verbose-debug option match its help text (10c3450)
  1790. o Add argument checks to some memory functions in `event.c'. (c8953d1
  1791. Mansour Moufid)
  1792. Testing:
  1793. o More abstraction in test.sh (cd74c4e)
  1794. o Add failing test for evbuffer_search_range. (8e26154 Nir Soffer)
  1795. o Tweaks to return types with end-of-buf ptrs (9ab8ab8)
  1796. o Add an (internal) usleep function for use by unit tests (f25d9d3)
  1797. o Synchronize with upstream tinytest (6c81be7)
  1798. o Make test-changelist faster (7622d26)
  1799. o Reduce the timeout in the main/fork test. (ab14f7c)
  1800. o New evhttp function to adjust initial retry timeout (350a3c4)
  1801. o Make regression tests run over 3x faster. (67a1763)
  1802. o Use test_timeval_diff_eq more consistently (b77b43f)
  1803. o Allow more slop in deferred_cb_skew test; freebsd needs it (b9f7e5f)
  1804. o When including an -internal.h header outside the main tree, do so
  1805. early (95e2455)
  1806. o Add a new test: test-fdleak which tests for fd leaks by creating many
  1807. sockets. (2ef9278 Ross Lagerwall, f7af194, 1c4288f, etc)
  1808. o Add a unit test for event_base_dump_events() (7afe48a, 8d08cce)
  1809. o Test more bufferevent_ratelim features (c24f91a)
  1810. Documentation:
  1811. o Improve evbuffer_ptr documentation (261ba63)
  1812. o added comments to describe refcounting of multicast chains (ba24f61
  1813. Joachim Bauch)
  1814. o Add doxygen for event_base_dump_events (cad5753)
  1815. OSX:
  1816. o Use "unlimited select" on OSX so that we can have more than
  1817. FD_SETSIZE fds (1fb5cc6)
  1818. KQueue:
  1819. o Use SIG_IGN instead of a do-nothing handler for signal events with
  1820. kqueue (148458e Zack Weinberg)
  1821. evprc:
  1822. o event_rpcgen.py now prints status information to stdout and errors to
  1823. stderr. (ffb0ba0 Ross Lagerwall)
  1824. Code improvement and refactoring:
  1825. o Make event_reinit() more robust and maintainable (272033e)
  1826. o Restore fast-path event_reinit() for slower backends (2c4b5de)
  1827. o Check changelist as part of checking representational integrity (39b3f38)
  1828. o Fix a compile warning in event_reinit (e4a56ed Sebastian Hahn)
  1829. o Refactor the functions that run over every event. (c89b4e6)
  1830. o Remove the last vestiges of _EVENT_USE_EVENTLIST (a3cec90)
  1831. o Make event-config.h depend on Makefile.am (2958a5c)
  1832. Build fixes:
  1833. o Don't do clang version detection when disabling some flags (083296b
  1834. Sebastian Hahn)
  1835. C standards conformance:
  1836. o Check for NULL return on win32 mm_calloc, and set ENOMEM. (af7ba69)
  1837. o Convert event-config.h macros to avoid reserved identifiers (68120d9)
  1838. o Generate event-config.h using the correct macros. (f82c57e)
  1839. o Convert include-guard macro convention to avoid reserved identifiers
  1840. (3f8c7cd)
  1841. o Make event_rpcgen.py output conform to identifier conventions (372bff1)
  1842. o Stop referring to an obsolete include guard in bench_http.h (5c0f7e0)
  1843. o Make the generated event-config.h use correct include guards (639383a)
  1844. o Fix all identifiers with names beginning with underscore. (cb9da0b)
  1845. o Make event_rpcgen.py output conform to identifier conventions, more
  1846. (bcefd24)
  1847. o Fix some problems introduced by automated identifier cleanup script
  1848. (c963534)
  1849. o Have all visible internal function names end with an underscore. (8ac3c4c)
  1850. o Apply the naming convention to our EVUTIL_IS* functions (c7848fa)
  1851. o Clean up lingering _identifiers. (946b584)
  1852. o Fix doxygen to use new macro conventions (da455e9)
  1853. Bugfixes:
  1854. o Do not use system EAI/AI values if we are not using the system
  1855. getaddrinfo. (7bcac07)
  1856. Sample Code:
  1857. o Fix up sample/event-test.c to use newer interfaces and make it
  1858. actually work. (19bab4f Ross Lagerwall)
  1859. o On Unix, remove event.fifo left by sample/event-test.c. (c0dacd2 Ross
  1860. Lagerwall)
  1861. o Rename event-test.c to event-read-fifo.c. (a5b370a Ross Lagerwall)
  1862. o event-read-fifo: Use EV_PERSIST appropriately (24dab0b)