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

Comparing AnyEvent/Changes (file contents):
Revision 1.542 by root, Thu Apr 5 04:09:49 2012 UTC vs.
Revision 1.641 by root, Fri Feb 7 15:06:01 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?
6lib/AnyEvent/DNS.pm: open my $fh, "<", $resolv_conf 6TODO: FAQ: common pitfalls? invoke-before-return
7lib/AnyEvent/DNS.pm: if (open my $fh, "ipconfig /all |") { 7TODO: FAQ: scope-ids? hosts file order?
8lib/AnyEvent/TLS.pm: or croak "$dh_file: failed to open DH parameter file: $!"; 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.
9 18
106.2 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?
22 - AnyEvent::Loop no longer loads the POSIX module if Time::HiRes
23 has monotonic clock support (suggested by Felipe Gasper).
24 - since Net::SSLeay (up to 1.88-1) is _still not ported to openssl 1.1
25 and many distributions therefore will have a completely broken
26 Net::SSLeay module for the forseeable future, AnyEvent::TLS
27 will now log a warning (that is not seen by default unless you
28 increase log verbosity).
29
307.17 Wed Sep 18 03:04:49 CEST 2019
31 - work around antique openssl version in RHEL 7 by formatting
32 dh parameters differently (reported by several people).
33 - add t/13_weaken.t.
34
357.16 Fri Jul 19 18:00:21 CEST 2019
36 - add ffdhe group dh parameters from RFC 7919, and use ffdhe3072
37 as new default, instead of schmorp1539.
38 - AnyEvent::Log did not reassess logging status of
39 AnyEvent::Log::logger's when contexts were changed with
40 ->attach/detach/slaves, causing them to not log even though a
41 recent attach should have caused them to log.
42 - added some more logging configuration examples.
43 - mention RFC 8482 in AnyEvent::DNS.
44
457.15 Tue Feb 26 03:07:42 CET 2019
46 - INCOMPATIBLE CHANGE: AnyEvent::Handle's tls_detect documentation gave
47 separate major and minor versions, while code passed only a single
48 value. This version follows the documentation and now passes separate
49 major and minor values.
50 - work around Net::SSLeay not having been ported to openssl 1.1, but many
51 distributions compiling it against openssl 1.1, which unfortunately
52 succeeds and results in a very broken module.
53 - AnyEvent::DNS::dns_unpack now stores the original DNS packet
54 in the __ member, to allow decoding of undecodable resouce records
55 containing compressed domian names.
56 - AnyEvent::Socket::parse_ipv6 would NOT, as advertised, accept ipv4
57 addresses. It now does and converts them to ipv4 mapped addresses.
58 - support CAA records, based on patch by Steve Atkins.
59 - add freenom and cloudflare nameservers as dns fallback.
60 - AnyEvent::Strict would not properly ward against io watchers
61 on files when the handle passed was a file descriptor.
62 - document "internal" variables used by the dns en-/decoder to allow
63 enterprising users to extend them in a semi-official way.
64
657.14 Sat Jun 24 01:44:19 CEST 2017
66 - fix a crash bug in AnyEvent::Handle with openssl 1.1.0 (patched
67 by Paul Howarth and apparently tracked down by Mike McCauley).
68 - AnyEvent::Handle->keepalive was documented (and defined) twice
69 (found by Matt Merhar).
70 - AnyEvent::Socket::tcp_bind/tcp_server would immediately unlink a unix
71 listening socket unless a guard is used. Change this so that no
72 cleanup will be performed unless a guard is used and document this more
73 clearly.
74 - make tcp_bind/tcp_server error messages more regular.
75 - work around latest perl upstream breakage - this time, perl5porters were
76 apparently bullied by a bogus CVE (CVE-2016-1238), and since distros
77 stupidly apply anything that has "security fix" stamped on it, it's likely
78 going to be a problem in practise (and working around it is trivial on
79 windows and unix).
80 - add TCP_FASTOPEN/MSG_FASTOPEN and MSG_NOSIGNAL/MSG_MORE/MSG_DONTWAIT
81 to constants.
82 - update warnings to common::sense 3.74 standards.
83
847.13 Sat Sep 17 04:31:49 CEST 2016
85 - Only call tlsext_host_name for non-empty common names (reported
86 by Maxime Soulé).
87 - log a (single) notice message if SNI is not supported.
88 - upgrade to UTS-46:9.0.0 draft and switch to non-transitional
89 behaviour, beating thunderbird, ie, edge, chrome and safari to it :)
90 (see also https://bugzilla.mozilla.org/show_bug.cgi?id=1218179)
91 - turns out the UTS-46 IDNA testcase failures were indeed bugs in the
92 testcases and the specification and not in the code - the post-9.0.0
93 unicode files have all known problems fixed, so finally the AnyEvent
94 IDNA implementation can pass the full IDNA testsuite - without needing
95 a single fix :)
96 - guarantee (and document) that condvar callbacks will be removed
97 on invocation - important to avoid circular references.
98
997.12 Wed Jan 27 19:12:26 CET 2016
100 - use common name as hostname for tls connects, if Net::SSLeay
101 supports SNI.
102 - fix documentation of tls_autostart read type in AnyEvent::Handle,
103 analyzed by Felix Ostmann.
104
1057.11 Thu Jul 16 14:36:00 CEST 2015
106 - AnyEvent::Socket::parse_ipv6 could accept malformed ipv6
107 addresses (extra "::" at end and similar cases).
108 - add a more explicit warning to AnyEvent::Handle that it doesn't
109 work on files, people keep getting confused.
110 - new function AnyEvent::Socket::tcp_bind.
111 - new functions AnyEvent::fh_block and AnyEvent::fh_unblock.
112 - aligned ipv6 address formatting with RFC 5952 (by not shortening
113 a single :0: to ::).
114 - added stability canary support.
115
1167.09 Sat May 2 16:38:53 CEST 2015
117 - AnyEvent::Debug called an internal function (AnyEvent::Log::ft)
118 that was renamed to AnyEvent::Log:format_time. uinder its old name
119 (analyzed by Michael Stovenour).
120 - update AnyEvent::DNS fallback resolver addresses:
121 seems google effectively killed most other free dns resolvers,
122 so remove them, but add cable and wireless (ecrc) since it was
123 stable for 20 years or so, official or not, and there should be
124 an alternative to google.
125 - perl5porters broke windows error codes in 5.20, and mapped
126 WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and
127 WSAEINPROGRESS into the incompatible ERINPROGRESS code, probably
128 because they were so cool. They probably broke other error codes
129 for no reason, too, but I didn't care for checking, it's too
130 depressing. This version only works around the WSAEWOULDBLOCK
131 issue, because I don't have a nice way to work around the
132 WSAEINPROGRESS bug.
133
1347.08 Wed Dec 10 05:27:17 CET 2014
135 - work around a newly introduced bug in Socket 2.011 (an
136 errornous sun_length check) (analyzed by Maxime Soulé).
137 - AnyEvent::TLS didn't load (but refer to) AnyEvent::Socket
138 (analyzed by Ben Magistro).
139 - AnyEvent::Strict will now confess, not croak. This is in line with
140 it being a development/debugging tool.
141 - work around a number of libglib bugs (debug builds of libglib enforce
142 certain undocumented behaviour patterns such as not being able to
143 remove a child watch source after it has fired, which we will try
144 to emulate to avoid "criticals". what where they thinking...).
145 - mention json security issues in AnyEvent::Handle, now that Douglas
146 Crockford has foolishly and incompatibly changed JSON.
147 - changed default dns resolver "max_outstanding" value from 1 to 10,
148 the latter beinfg the intended value all along
149 (reported by Ilya Chesnokov).
150 - added new "AnyEvent::Impl::UV" interface module to the UV event lib
151 (written by Mike Lowell).
152
1537.07 Tue Dec 17 17:45:02 CET 2013
154 - the documentation for custom tls verify schemes was wrong. make it agree
155 with the code (reported by Maxime Soulé).
156 - added cbor read and write types to AnyEvent::Handle (using CBOR::XS).
157 - work around an API change in openssl that could cause wrong tls connection
158 aborts, likely on windows only (analyzed by sten).
159 - calling AnyEvent->now_update with AnyEvent::Impl::Perl caused an
160 endless loop (reported by Dietrich Rebmann).
161 - add tlsv1_1 and tlsv1_2 protocols to AnyEvent::TLS
162 (patch by Maxime Soulé).
163 - document AnyEvent::Impl::IOAsync::set_loop and
164 $AnyEvent::Impl::IOAsync::LOOP. Though only documented now, this
165 functionality has _always_ been available.
166 - force a toplevel domain name in t/81_hosts.t (analyzed by
167 David Jack Wange Olrik).
168 - document that AnyEvent::Log uses AnyEvent::IO.
169 - warn about AnyEvent::Filesys::Notify performance.
170 - praise the joys of AnyEvent::Fork::*.
171 - time for an =encoding directive.
172 - do no longer use JSON to create a default json coder, use
173 JSON::XS or JSON::PP directly.
174
1757.05 Wed Aug 21 10:38:08 CEST 2013
176 - uts46data.pl couldn't be found due to wrong naming of the file
177 (reported by Fulko Hew).
178 - handle lone \015's properly in AE::Handle's default line read
179 (reported by various people).
180 - untaint ip addresses found in /etc/hosts (patch by José Micó).
181 - the memleak fix in 7.03 caused resolving via /etc/hosts to always
182 fail on first use (reported and testcase by Andrew Whatson).
183 - expose AnyEvent::Log::format_time, and allow users to redefine it.
184 - expose AnyEvent::Log::default_format, and allow redefinition.
185 - expose AnyEvent::Log::fatal_exit, to allow redefinition.
186 - AnyEvent::Debug shell can now run coro shell commands, if available.
187 - t/63* tests were wrongly in MANIFEST.
188 - kernel.org's finger server went MIA, switch to freebsd.org and
189 icculus.org.
190 - clarify that IO::AIO and AnyEvent::AIO are needed for AnyEvent::IO
191 to function asynchronously (reported by Daniel Carosone).
192 - hard-disable $^W in most tests, it generates too much garbage output.
193 - use a (hopefully) more future-proof method to emulate common::sense.
194 - upgrade to UTS-46:6.2.0.
195 - switch to INSTLIB from INSTLIBDIR, as INSTLIBDIR was wrongly
196 documented. should not affect anything.
197
1987.04 Thu Nov 15 02:23:58 CET 2012
199 - debugging code left in.
200
2017.03 Thu Nov 15 02:16:11 CET 2012
202 - AnyEvent::Socket::inet_aton did not work when dns resolution was
203 used to find the addresses (analyzed and patch by Maxime Soulé).
204 - fix a memory leak in the /etc/hosts lookup code when hosts don't
205 resolve and are not in hosts (analyzed by sten).
206
2077.02 Tue Aug 14 04:27:58 CEST 2012
208 - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test
209 program by Yorhel).
210 - verified that AnyEvent::Socket follows RFC5952.
211 - try to parse "ADDR#PORT" in addition to "ADDR PORT".
212
2137.01 Sun May 13 01:03:17 CEST 2012
214 - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but
215 not available, instead of throwing an exception.
216 - use File::Spec to get the tmpdir in t/*, to avoid needless
217 failures on (most, not mine :) windows boxes.
218 - new handle read types: tls_detect and tls_autostart.
219
2207.0 Fri Apr 13 06:33:30 CEST 2012
11 - child watchers are broken in POE 1.352 (also many earlier 221 - child watchers are broken in POE 1.352 (also many earlier
12 versions)and there seems to be no way to work around it, as POE 222 versions) and there seems to be no way to work around it, as POE
13 itself is inherently racy. Document this regression and sleep a 223 itself is inherently racy. Document this regression and add a delay
14 second in t/68_poe_03_child.t for the time being. 224 in t/68_poe_03_child.t for the time being.
15 - new module AnyEvent::IO, that is a frontend to either a pure-perl 225 - new module AnyEvent::IO, that is a frontend to either a pure-perl
16 synchronous I/O implementation (AnyEvent::IO::Perl), or to the 226 synchronous I/O implementation (AnyEvent::IO::Perl), or to the
17 asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO). 227 asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO).
18 - load /etc/hosts only when dns fails has no answer. 228 - load /etc/hosts only when DNS has no answer.
19 - stat /etc/hosts on every access and reload it if it changed. 229 - stat /etc/hosts on every access and reload it if it changed.
20 - load /etc/hosts via AnyEvent::IO - potentially asynchronous. 230 - load /etc/hosts via AnyEvent::IO - potentially asynchronous.
231 - fix a buggy croak in the dh parameter reading in AnyEvent::TLS.
21 - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As 232 - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As
22 a side effect, they now use true appending as opposed to libc 233 a side effect, they now use true appending as opposed to libc
23 appending, and the file might not have been opened when the function 234 appending, and the file might not have been opened when the function
24 returns. 235 returns.
25 - the default logging level was not properly documented in a variety of 236 - the default logging level was not properly documented in a variety of
26 places, this has hopefully been rectified. 237 places, this has hopefully been rectified.
27 - updated uts46data.pl for unicode 6.1.0. 238 - updated uts46data.pl for unicode 6.1.0.
28 - made log messages genearted by AnyEvent submodules not 239 - made log messages generated by AnyEvent submodules not
29 include the package name anymore, as it will be logged 240 include the package name anymore, as it will be logged
30 by default already. 241 by default already.
31 - upgrade to the trick used by common-sense 3.5 to work 242 - upgrade to the trick used by common-sense 3.5 to work
32 around extra warning torture/breakage under perl 5.15.x. 243 around extra warning torture/breakage under perl 5.15.x.
33 - log messages by anyevent are now ucfirst, are usually full 244 - log messages by anyevent are now ucfirst, are usually full
34 sentences and do no longer include the package name. 245 sentences and do no longer include the package name.
35 - the storable read type would sometimes throw an exception instead 246 - the storable read type would sometimes throw an exception instead
36 of causing EBADMSG (analyzed by Maxime Soulé). 247 of causing EBADMSG (analyzed by Maxime Soulé).
248 - work around a bug in openssl 1.0.1 which enforces a minimum rsa
249 keysize (reported by Paul Howarth).
37 - documented Rocco fabricating statements about AnyEvent and me. 250 - documented Rocco fabricating statements about AnyEvent and me.
38 251
396.14 Tue Jan 31 20:00:24 CET 2012 2526.14 Tue Jan 31 20:00:24 CET 2012
40 - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside, 253 - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside,
41 probably an editing mistake (reported by Darin McBride). 254 probably an editing mistake (reported by Darin McBride).
556 in the common case. 769 in the common case.
557 - add AnyEvent::Handle->push_shutdown method. 770 - add AnyEvent::Handle->push_shutdown method.
558 - add an additional error message parameter to AnyEvent::Handle's 771 - add an additional error message parameter to AnyEvent::Handle's
559 on_error callback (for TLS, $! is still available). 772 on_error callback (for TLS, $! is still available).
560 - add AnyEvent::Handle on_starttls/on_stoptls callbacks. 773 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
561 - make AnyEvent::Handle more robust against early conenction 774 - make AnyEvent::Handle more robust against early connection
562 failures (during new), and return C<undef> in that case 775 failures (during new), and return C<undef> in that case
563 from the constructor. 776 from the constructor.
564 - AnyEvent::Handle will now try to load only JSON::XS first, 777 - AnyEvent::Handle will now try to load only JSON::XS first,
565 then fall back to JSON. 778 then fall back to JSON.
566 - format_ipv4/format_ipv6 are now exported by default, for symmetry, 779 - format_ipv4/format_ipv6 are now exported by default, for symmetry,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines