ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/Changes
(Generate patch)

Comparing AnyEvent/Changes (file contents):
Revision 1.552 by root, Sat May 12 23:14:29 2012 UTC vs.
Revision 1.648 by root, Wed Jul 29 13:02:48 2020 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: document TCP_*** constants 3TODO: document TCP_*** constants
4TODO: add debug/trace logging to some modules 4TODO: add debug/trace logging to some modules
5TODO: use the eval-with-cb-call trick also to speed up JSON? 5TODO: use the eval-with-cb-call trick also to speed up JSON?
6TODO: common pitfalls? invoke-before-return 6TODO: FAQ: common pitfalls? invoke-before-return
7TODO: FAQ: scope-ids? hosts file order?
7TODO: AnyEvent::Handle with AnyEvent::IO? 8TODO: AnyEvent::Handle with AnyEvent::IO?
9TODO: invalid. and localhost. specialcasing inside AEDNS and not AESocket (rfc6761)
10TODO: maybe implement env variable to give hosts precedence
11TODO: more formats for parse_ipv6 (single ipv6 address without port, ...p80, ...#80)
12TODO: inet_aton maybe pack C4? no, add a comment why not
13TODO: socket prepare callbacks, can they easily signal failure as well?
14TODO: Олег Г <verdrehung@gmail.com>, empty A record response causes
15AnyEvent::resolve_sockaddr to eventually call pack_sockaddr with undef -
16broken dns server, but maybe improve the response.
17TODO: AnyEvent::Loop should not use POSIIX when ti isn't used.
18
19TODO: AnyEvent::Log contexts should have a way to inject log messages received form elsewhere, using timestamp etc.
20TODO: add some cheta-sheet to log synopsis regarding AE_LOG=AnyEvent::MP=+
21TODO: tcp_connect option for AnyEvent::Handle?
22TODO: hosts files on windows probably contain \r, which is not stripped
23 - AnyEvent::Loop no longer loads the POSIX module if Time::HiRes
24 has monotonic clock support (suggested by Felipe Gasper).
25 - since Net::SSLeay (up to 1.88-1) is _still not ported to openssl 1.1
26 and many distributions therefore will have a completely broken
27 Net::SSLeay module for the forseeable future, AnyEvent::TLS
28 will now log a warning (that is not seen by default unless you
29 increase log verbosity).
30 - expose error method of AnyEvent::Handle for general use.
31 - add tlsv1_3 disable switch to AnyEvent::TLS.
32 - add experimental "tls" method support for AnyEvent::TLS.
33 - tls methods were lowercase, but documented to be uppercase.
34 fix documentation.
35 - EV backend now uses EV::break when waiting for condvars,
36 making waiting for condvars more efficient. This might
37 "break" already-broken programs that recursively enter
38 the event loop even more.
39 - add a dependency on Coro 6.57 if the installed version is older,
40 to avoid an incompatibility.
41
427.17 Wed Sep 18 03:04:49 CEST 2019
43 - work around antique openssl version in RHEL 7 by formatting
44 dh parameters differently (reported by several people).
45 - add t/13_weaken.t.
46
477.16 Fri Jul 19 18:00:21 CEST 2019
48 - add ffdhe group dh parameters from RFC 7919, and use ffdhe3072
49 as new default, instead of schmorp1539.
50 - AnyEvent::Log did not reassess logging status of
51 AnyEvent::Log::logger's when contexts were changed with
52 ->attach/detach/slaves, causing them to not log even though a
53 recent attach should have caused them to log.
54 - added some more logging configuration examples.
55 - mention RFC 8482 in AnyEvent::DNS.
56
577.15 Tue Feb 26 03:07:42 CET 2019
58 - INCOMPATIBLE CHANGE: AnyEvent::Handle's tls_detect documentation gave
59 separate major and minor versions, while code passed only a single
60 value. This version follows the documentation and now passes separate
61 major and minor values.
62 - work around Net::SSLeay not having been ported to openssl 1.1, but many
63 distributions compiling it against openssl 1.1, which unfortunately
64 succeeds and results in a very broken module.
65 - AnyEvent::DNS::dns_unpack now stores the original DNS packet
66 in the __ member, to allow decoding of undecodable resouce records
67 containing compressed domian names.
68 - AnyEvent::Socket::parse_ipv6 would NOT, as advertised, accept ipv4
69 addresses. It now does and converts them to ipv4 mapped addresses.
70 - support CAA records, based on patch by Steve Atkins.
71 - add freenom and cloudflare nameservers as dns fallback.
72 - AnyEvent::Strict would not properly ward against io watchers
73 on files when the handle passed was a file descriptor.
74 - document "internal" variables used by the dns en-/decoder to allow
75 enterprising users to extend them in a semi-official way.
76
777.14 Sat Jun 24 01:44:19 CEST 2017
78 - fix a crash bug in AnyEvent::Handle with openssl 1.1.0 (patched
79 by Paul Howarth and apparently tracked down by Mike McCauley).
80 - AnyEvent::Handle->keepalive was documented (and defined) twice
81 (found by Matt Merhar).
82 - AnyEvent::Socket::tcp_bind/tcp_server would immediately unlink a unix
83 listening socket unless a guard is used. Change this so that no
84 cleanup will be performed unless a guard is used and document this more
85 clearly.
86 - make tcp_bind/tcp_server error messages more regular.
87 - work around latest perl upstream breakage - this time, perl5porters were
88 apparently bullied by a bogus CVE (CVE-2016-1238), and since distros
89 stupidly apply anything that has "security fix" stamped on it, it's likely
90 going to be a problem in practise (and working around it is trivial on
91 windows and unix).
92 - add TCP_FASTOPEN/MSG_FASTOPEN and MSG_NOSIGNAL/MSG_MORE/MSG_DONTWAIT
93 to constants.
94 - update warnings to common::sense 3.74 standards.
95
967.13 Sat Sep 17 04:31:49 CEST 2016
97 - Only call tlsext_host_name for non-empty common names (reported
98 by Maxime Soulé).
99 - log a (single) notice message if SNI is not supported.
100 - upgrade to UTS-46:9.0.0 draft and switch to non-transitional
101 behaviour, beating thunderbird, ie, edge, chrome and safari to it :)
102 (see also https://bugzilla.mozilla.org/show_bug.cgi?id=1218179)
103 - turns out the UTS-46 IDNA testcase failures were indeed bugs in the
104 testcases and the specification and not in the code - the post-9.0.0
105 unicode files have all known problems fixed, so finally the AnyEvent
106 IDNA implementation can pass the full IDNA testsuite - without needing
107 a single fix :)
108 - guarantee (and document) that condvar callbacks will be removed
109 on invocation - important to avoid circular references.
110
1117.12 Wed Jan 27 19:12:26 CET 2016
112 - use common name as hostname for tls connects, if Net::SSLeay
113 supports SNI.
114 - fix documentation of tls_autostart read type in AnyEvent::Handle,
115 analyzed by Felix Ostmann.
116
1177.11 Thu Jul 16 14:36:00 CEST 2015
118 - AnyEvent::Socket::parse_ipv6 could accept malformed ipv6
119 addresses (extra "::" at end and similar cases).
120 - add a more explicit warning to AnyEvent::Handle that it doesn't
121 work on files, people keep getting confused.
122 - new function AnyEvent::Socket::tcp_bind.
123 - new functions AnyEvent::fh_block and AnyEvent::fh_unblock.
124 - aligned ipv6 address formatting with RFC 5952 (by not shortening
125 a single :0: to ::).
126 - added stability canary support.
127
1287.09 Sat May 2 16:38:53 CEST 2015
129 - AnyEvent::Debug called an internal function (AnyEvent::Log::ft)
130 that was renamed to AnyEvent::Log:format_time. uinder its old name
131 (analyzed by Michael Stovenour).
132 - update AnyEvent::DNS fallback resolver addresses:
133 seems google effectively killed most other free dns resolvers,
134 so remove them, but add cable and wireless (ecrc) since it was
135 stable for 20 years or so, official or not, and there should be
136 an alternative to google.
137 - perl5porters broke windows error codes in 5.20, and mapped
138 WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and
139 WSAEINPROGRESS into the incompatible ERINPROGRESS code, probably
140 because they were so cool. They probably broke other error codes
141 for no reason, too, but I didn't care for checking, it's too
142 depressing. This version only works around the WSAEWOULDBLOCK
143 issue, because I don't have a nice way to work around the
144 WSAEINPROGRESS bug.
145
1467.08 Wed Dec 10 05:27:17 CET 2014
147 - work around a newly introduced bug in Socket 2.011 (an
148 errornous sun_length check) (analyzed by Maxime Soulé).
149 - AnyEvent::TLS didn't load (but refer to) AnyEvent::Socket
150 (analyzed by Ben Magistro).
151 - AnyEvent::Strict will now confess, not croak. This is in line with
152 it being a development/debugging tool.
153 - work around a number of libglib bugs (debug builds of libglib enforce
154 certain undocumented behaviour patterns such as not being able to
155 remove a child watch source after it has fired, which we will try
156 to emulate to avoid "criticals". what where they thinking...).
157 - mention json security issues in AnyEvent::Handle, now that Douglas
158 Crockford has foolishly and incompatibly changed JSON.
159 - changed default dns resolver "max_outstanding" value from 1 to 10,
160 the latter beinfg the intended value all along
161 (reported by Ilya Chesnokov).
162 - added new "AnyEvent::Impl::UV" interface module to the UV event lib
163 (written by Mike Lowell).
164
1657.07 Tue Dec 17 17:45:02 CET 2013
166 - the documentation for custom tls verify schemes was wrong. make it agree
167 with the code (reported by Maxime Soulé).
168 - added cbor read and write types to AnyEvent::Handle (using CBOR::XS).
169 - work around an API change in openssl that could cause wrong tls connection
170 aborts, likely on windows only (analyzed by sten).
171 - calling AnyEvent->now_update with AnyEvent::Impl::Perl caused an
172 endless loop (reported by Dietrich Rebmann).
173 - add tlsv1_1 and tlsv1_2 protocols to AnyEvent::TLS
174 (patch by Maxime Soulé).
175 - document AnyEvent::Impl::IOAsync::set_loop and
176 $AnyEvent::Impl::IOAsync::LOOP. Though only documented now, this
177 functionality has _always_ been available.
178 - force a toplevel domain name in t/81_hosts.t (analyzed by
179 David Jack Wange Olrik).
180 - document that AnyEvent::Log uses AnyEvent::IO.
181 - warn about AnyEvent::Filesys::Notify performance.
182 - praise the joys of AnyEvent::Fork::*.
183 - time for an =encoding directive.
184 - do no longer use JSON to create a default json coder, use
185 JSON::XS or JSON::PP directly.
186
1877.05 Wed Aug 21 10:38:08 CEST 2013
188 - uts46data.pl couldn't be found due to wrong naming of the file
189 (reported by Fulko Hew).
190 - handle lone \015's properly in AE::Handle's default line read
191 (reported by various people).
192 - untaint ip addresses found in /etc/hosts (patch by José Micó).
193 - the memleak fix in 7.03 caused resolving via /etc/hosts to always
194 fail on first use (reported and testcase by Andrew Whatson).
195 - expose AnyEvent::Log::format_time, and allow users to redefine it.
196 - expose AnyEvent::Log::default_format, and allow redefinition.
197 - expose AnyEvent::Log::fatal_exit, to allow redefinition.
198 - AnyEvent::Debug shell can now run coro shell commands, if available.
199 - t/63* tests were wrongly in MANIFEST.
200 - kernel.org's finger server went MIA, switch to freebsd.org and
201 icculus.org.
202 - clarify that IO::AIO and AnyEvent::AIO are needed for AnyEvent::IO
203 to function asynchronously (reported by Daniel Carosone).
204 - hard-disable $^W in most tests, it generates too much garbage output.
205 - use a (hopefully) more future-proof method to emulate common::sense.
206 - upgrade to UTS-46:6.2.0.
207 - switch to INSTLIB from INSTLIBDIR, as INSTLIBDIR was wrongly
208 documented. should not affect anything.
209
2107.04 Thu Nov 15 02:23:58 CET 2012
211 - debugging code left in.
212
2137.03 Thu Nov 15 02:16:11 CET 2012
214 - AnyEvent::Socket::inet_aton did not work when dns resolution was
215 used to find the addresses (analyzed and patch by Maxime Soulé).
216 - fix a memory leak in the /etc/hosts lookup code when hosts don't
217 resolve and are not in hosts (analyzed by sten).
218
2197.02 Tue Aug 14 04:27:58 CEST 2012
220 - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test
221 program by Yorhel).
222 - verified that AnyEvent::Socket follows RFC5952.
223 - try to parse "ADDR#PORT" in addition to "ADDR PORT".
8 224
97.01 Sun May 13 01:03:17 CEST 2012 2257.01 Sun May 13 01:03:17 CEST 2012
10 - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but 226 - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but
11 not available, instead of throwing an exception. 227 not available, instead of throwing an exception.
12 - use File::Spec to get the tmpdir in t/*, to avoid needless 228 - use File::Spec to get the tmpdir in t/*, to avoid needless
565 in the common case. 781 in the common case.
566 - add AnyEvent::Handle->push_shutdown method. 782 - add AnyEvent::Handle->push_shutdown method.
567 - add an additional error message parameter to AnyEvent::Handle's 783 - add an additional error message parameter to AnyEvent::Handle's
568 on_error callback (for TLS, $! is still available). 784 on_error callback (for TLS, $! is still available).
569 - add AnyEvent::Handle on_starttls/on_stoptls callbacks. 785 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
570 - make AnyEvent::Handle more robust against early conenction 786 - make AnyEvent::Handle more robust against early connection
571 failures (during new), and return C<undef> in that case 787 failures (during new), and return C<undef> in that case
572 from the constructor. 788 from the constructor.
573 - AnyEvent::Handle will now try to load only JSON::XS first, 789 - AnyEvent::Handle will now try to load only JSON::XS first,
574 then fall back to JSON. 790 then fall back to JSON.
575 - format_ipv4/format_ipv6 are now exported by default, for symmetry, 791 - format_ipv4/format_ipv6 are now exported by default, for symmetry,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines