1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | TODO: document TCP_*** constants |
3 | TODO: document TCP_*** constants |
4 | TODO: add debug/trace logging to some modules |
4 | TODO: add debug/trace logging to some modules |
5 | TODO: use the eval-with-cb-call trick also to speed up JSON? |
5 | TODO: use the eval-with-cb-call trick also to speed up JSON? |
6 | lib/AnyEvent/DNS.pm: open my $fh, "<", $resolv_conf |
6 | TODO: FAQ: common pitfalls? invoke-before-return |
7 | lib/AnyEvent/DNS.pm: if (open my $fh, "ipconfig /all |") { |
7 | TODO: FAQ: scope-ids? hosts file order? |
8 | lib/AnyEvent/TLS.pm: or croak "$dh_file: failed to open DH parameter file: $!"; |
8 | TODO: AnyEvent::Handle with AnyEvent::IO? |
9 | TODO: common pitfalls? |
9 | TODO: invalid. and localhost. specialcasing inside AEDNS and not AESocket (rfc6761) |
|
|
10 | TODO: maybe implement env variable to give hosts precedence |
|
|
11 | TODO: more formats for parse_ipv6 (single ipv6 address without port, ...p80, ...#80) |
10 | |
12 | |
11 | 7.0 |
13 | TODO: inet_aton maybe pack C4? no, add a comment why not |
|
|
14 | TODO: hosts read multiple times for initial concurrent tcp_connect's? |
|
|
15 | |
|
|
16 | - AnyEvent::Handle->keepalive was documented (and defined) twice |
|
|
17 | (found by Matt Merhar). |
|
|
18 | |
|
|
19 | 7.13 Sat Sep 17 04:31:49 CEST 2016 |
|
|
20 | - Only call tlsext_host_name for non-empty common names (reported |
|
|
21 | by Maxime Soulé). |
|
|
22 | - log a (single) notice message if SNI is not supported. |
|
|
23 | - upgrade to UTS-46:9.0.0 draft and switch to non-transitional |
|
|
24 | behaviour, beating thunderbird, ie, edge, chrome and safari to it :) |
|
|
25 | (see also https://bugzilla.mozilla.org/show_bug.cgi?id=1218179) |
|
|
26 | - turns out the UTS-46 IDNA testcase failures were indeed bugs in the |
|
|
27 | testcases and the specification and not in the code - the post-9.0.0 |
|
|
28 | unicode files have all known problems fixed, so finally the AnyEvent |
|
|
29 | IDNA implementation can pass the full IDNA testsuite - without needing |
|
|
30 | a single fix :) |
|
|
31 | - guarantee (and document) that condvar callbacks will be removed |
|
|
32 | on invocation - important to avoid circular references. |
|
|
33 | |
|
|
34 | 7.12 Wed Jan 27 19:12:26 CET 2016 |
|
|
35 | - use common name as hostname for tls connects, if Net::SSLeay |
|
|
36 | supports SNI. |
|
|
37 | - fix documentation of tls_autostart read type in AnyEvent::Handle, |
|
|
38 | analyzed by Felix Ostmann. |
|
|
39 | |
|
|
40 | 7.11 Thu Jul 16 14:36:00 CEST 2015 |
|
|
41 | - AnyEvent::Socket::parse_ipv6 could accept malformed ipv6 |
|
|
42 | addresses (extra "::" at end and similar cases). |
|
|
43 | - add a more explicit warning to AnyEvent::Handle that it doesn't |
|
|
44 | work on files, people keep getting confused. |
|
|
45 | - new function AnyEvent::Socket::tcp_bind. |
|
|
46 | - new functions AnyEvent::fh_block and AnyEvent::fh_unblock. |
|
|
47 | - aligned ipv6 address formatting with RFC 5952 (by not shortening |
|
|
48 | a single :0: to ::). |
|
|
49 | - added stability canary support. |
|
|
50 | |
|
|
51 | 7.09 Sat May 2 16:38:53 CEST 2015 |
|
|
52 | - AnyEvent::Debug called an internal function (AnyEvent::Log::ft) |
|
|
53 | that was renamed to AnyEvent::Log:format_time. uinder its old name |
|
|
54 | (analyzed by Michael Stovenour). |
|
|
55 | - update AnyEvent::DNS fallback resolver addresses: |
|
|
56 | seems google effectively killed most other free dns resolvers, |
|
|
57 | so remove them, but add cable and wireless (ecrc) since it was |
|
|
58 | stable for 20 years or so, official or not, and there should be |
|
|
59 | an alternative to google. |
|
|
60 | - perl5porters broke windows error codes in 5.20, and mapped |
|
|
61 | WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and |
|
|
62 | WSAEINPROGRESS into the incompatible ERINPROGRESS code, probably |
|
|
63 | because they were so cool. They probably broke other error codes |
|
|
64 | for no reason, too, but I didn't care for checking, it's too |
|
|
65 | depressing. This version only works around the WSAEWOULDBLOCK |
|
|
66 | issue, because I don't have a nice way to work around the |
|
|
67 | WSAEINPROGRESS bug. |
|
|
68 | |
|
|
69 | 7.08 Wed Dec 10 05:27:17 CET 2014 |
|
|
70 | - work around a newly introduced bug in Socket 2.011 (an |
|
|
71 | errornous sun_length check) (analyzed by Maxime Soulé). |
|
|
72 | - AnyEvent::TLS didn't load (but refer to) AnyEvent::Socket |
|
|
73 | (analyzed by Ben Magistro). |
|
|
74 | - AnyEvent::Strict will now confess, not croak. This is in line with |
|
|
75 | it being a development/debugging tool. |
|
|
76 | - work around a number of libglib bugs (debug builds of libglib enforce |
|
|
77 | certain undocumented behaviour patterns such as not being able to |
|
|
78 | remove a child watch source after it has fired, which we will try |
|
|
79 | to emulate to avoid "criticals". what where they thinking...). |
|
|
80 | - mention json security issues in AnyEvent::Handle, now that Douglas |
|
|
81 | Crockford has foolishly and incompatibly changed JSON. |
|
|
82 | - changed default dns resolver "max_outstanding" value from 1 to 10, |
|
|
83 | the latter beinfg the intended value all along |
|
|
84 | (reported by Ilya Chesnokov). |
|
|
85 | - added new "AnyEvent::Impl::UV" interface module to the UV event lib |
|
|
86 | (written by Mike Lowell). |
|
|
87 | |
|
|
88 | 7.07 Tue Dec 17 17:45:02 CET 2013 |
|
|
89 | - the documentation for custom tls verify schemes was wrong. make it agree |
|
|
90 | with the code (reported by Maxime Soulé). |
|
|
91 | - added cbor read and write types to AnyEvent::Handle (using CBOR::XS). |
|
|
92 | - work around an API change in openssl that could cause wrong tls connection |
|
|
93 | aborts, likely on windows only (analyzed by sten). |
|
|
94 | - calling AnyEvent->now_update with AnyEvent::Impl::Perl caused an |
|
|
95 | endless loop (reported by Dietrich Rebmann). |
|
|
96 | - add tlsv1_1 and tlsv1_2 protocols to AnyEvent::TLS |
|
|
97 | (patch by Maxime Soulé). |
|
|
98 | - document AnyEvent::Impl::IOAsync::set_loop and |
|
|
99 | $AnyEvent::Impl::IOAsync::LOOP. Though only documented now, this |
|
|
100 | functionality has _always_ been available. |
|
|
101 | - force a toplevel domain name in t/81_hosts.t (analyzed by |
|
|
102 | David Jack Wange Olrik). |
|
|
103 | - document that AnyEvent::Log uses AnyEvent::IO. |
|
|
104 | - warn about AnyEvent::Filesys::Notify performance. |
|
|
105 | - praise the joys of AnyEvent::Fork::*. |
|
|
106 | - time for an =encoding directive. |
|
|
107 | - do no longer use JSON to create a default json coder, use |
|
|
108 | JSON::XS or JSON::PP directly. |
|
|
109 | |
|
|
110 | 7.05 Wed Aug 21 10:38:08 CEST 2013 |
|
|
111 | - uts46data.pl couldn't be found due to wrong naming of the file |
|
|
112 | (reported by Fulko Hew). |
|
|
113 | - handle lone \015's properly in AE::Handle's default line read |
|
|
114 | (reported by various people). |
|
|
115 | - untaint ip addresses found in /etc/hosts (patch by José Micó). |
|
|
116 | - the memleak fix in 7.03 caused resolving via /etc/hosts to always |
|
|
117 | fail on first use (reported and testcase by Andrew Whatson). |
|
|
118 | - expose AnyEvent::Log::format_time, and allow users to redefine it. |
|
|
119 | - expose AnyEvent::Log::default_format, and allow redefinition. |
|
|
120 | - expose AnyEvent::Log::fatal_exit, to allow redefinition. |
|
|
121 | - AnyEvent::Debug shell can now run coro shell commands, if available. |
|
|
122 | - t/63* tests were wrongly in MANIFEST. |
|
|
123 | - kernel.org's finger server went MIA, switch to freebsd.org and |
|
|
124 | icculus.org. |
|
|
125 | - clarify that IO::AIO and AnyEvent::AIO are needed for AnyEvent::IO |
|
|
126 | to function asynchronously (reported by Daniel Carosone). |
|
|
127 | - hard-disable $^W in most tests, it generates too much garbage output. |
|
|
128 | - use a (hopefully) more future-proof method to emulate common::sense. |
|
|
129 | - upgrade to UTS-46:6.2.0. |
|
|
130 | - switch to INSTLIB from INSTLIBDIR, as INSTLIBDIR was wrongly |
|
|
131 | documented. should not affect anything. |
|
|
132 | |
|
|
133 | 7.04 Thu Nov 15 02:23:58 CET 2012 |
|
|
134 | - debugging code left in. |
|
|
135 | |
|
|
136 | 7.03 Thu Nov 15 02:16:11 CET 2012 |
|
|
137 | - AnyEvent::Socket::inet_aton did not work when dns resolution was |
|
|
138 | used to find the addresses (analyzed and patch by Maxime Soulé). |
|
|
139 | - fix a memory leak in the /etc/hosts lookup code when hosts don't |
|
|
140 | resolve and are not in hosts (analyzed by sten). |
|
|
141 | |
|
|
142 | 7.02 Tue Aug 14 04:27:58 CEST 2012 |
|
|
143 | - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test |
|
|
144 | program by Yorhel). |
|
|
145 | - verified that AnyEvent::Socket follows RFC5952. |
|
|
146 | - try to parse "ADDR#PORT" in addition to "ADDR PORT". |
|
|
147 | |
|
|
148 | 7.01 Sun May 13 01:03:17 CEST 2012 |
|
|
149 | - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but |
|
|
150 | not available, instead of throwing an exception. |
|
|
151 | - use File::Spec to get the tmpdir in t/*, to avoid needless |
|
|
152 | failures on (most, not mine :) windows boxes. |
|
|
153 | - new handle read types: tls_detect and tls_autostart. |
|
|
154 | |
|
|
155 | 7.0 Fri Apr 13 06:33:30 CEST 2012 |
12 | - child watchers are broken in POE 1.352 (also many earlier |
156 | - child watchers are broken in POE 1.352 (also many earlier |
13 | versions) and there seems to be no way to work around it, as POE |
157 | versions) and there seems to be no way to work around it, as POE |
14 | itself is inherently racy. Document this regression and add a delay |
158 | itself is inherently racy. Document this regression and add a delay |
15 | in t/68_poe_03_child.t for the time being. |
159 | in t/68_poe_03_child.t for the time being. |
16 | - new module AnyEvent::IO, that is a frontend to either a pure-perl |
160 | - new module AnyEvent::IO, that is a frontend to either a pure-perl |
17 | synchronous I/O implementation (AnyEvent::IO::Perl), or to the |
161 | synchronous I/O implementation (AnyEvent::IO::Perl), or to the |
18 | asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO). |
162 | asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO). |
19 | - load /etc/hosts only when DNS has no answer. |
163 | - load /etc/hosts only when DNS has no answer. |
20 | - stat /etc/hosts on every access and reload it if it changed. |
164 | - stat /etc/hosts on every access and reload it if it changed. |
21 | - load /etc/hosts via AnyEvent::IO - potentially asynchronous. |
165 | - load /etc/hosts via AnyEvent::IO - potentially asynchronous. |
|
|
166 | - fix a buggy croak in the dh parameter reading in AnyEvent::TLS. |
22 | - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As |
167 | - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As |
23 | a side effect, they now use true appending as opposed to libc |
168 | a side effect, they now use true appending as opposed to libc |
24 | appending, and the file might not have been opened when the function |
169 | appending, and the file might not have been opened when the function |
25 | returns. |
170 | returns. |
26 | - the default logging level was not properly documented in a variety of |
171 | - the default logging level was not properly documented in a variety of |
27 | places, this has hopefully been rectified. |
172 | places, this has hopefully been rectified. |
28 | - updated uts46data.pl for unicode 6.1.0. |
173 | - updated uts46data.pl for unicode 6.1.0. |
29 | - made log messages genearted by AnyEvent submodules not |
174 | - made log messages generated by AnyEvent submodules not |
30 | include the package name anymore, as it will be logged |
175 | include the package name anymore, as it will be logged |
31 | by default already. |
176 | by default already. |
32 | - upgrade to the trick used by common-sense 3.5 to work |
177 | - upgrade to the trick used by common-sense 3.5 to work |
33 | around extra warning torture/breakage under perl 5.15.x. |
178 | around extra warning torture/breakage under perl 5.15.x. |
34 | - log messages by anyevent are now ucfirst, are usually full |
179 | - log messages by anyevent are now ucfirst, are usually full |
… | |
… | |
559 | in the common case. |
704 | in the common case. |
560 | - add AnyEvent::Handle->push_shutdown method. |
705 | - add AnyEvent::Handle->push_shutdown method. |
561 | - add an additional error message parameter to AnyEvent::Handle's |
706 | - add an additional error message parameter to AnyEvent::Handle's |
562 | on_error callback (for TLS, $! is still available). |
707 | on_error callback (for TLS, $! is still available). |
563 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
708 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
564 | - make AnyEvent::Handle more robust against early conenction |
709 | - make AnyEvent::Handle more robust against early connection |
565 | failures (during new), and return C<undef> in that case |
710 | failures (during new), and return C<undef> in that case |
566 | from the constructor. |
711 | from the constructor. |
567 | - AnyEvent::Handle will now try to load only JSON::XS first, |
712 | - AnyEvent::Handle will now try to load only JSON::XS first, |
568 | then fall back to JSON. |
713 | then fall back to JSON. |
569 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |
714 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |