1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
|
|
3 | 4.14 Thu Jun 5 20:29:31 CEST 2008 |
|
|
4 | - Fixed a bug in DNS SRV priority sorting. |
|
|
5 | - AnyEvent::Util::guard now reports runtime errors while |
|
|
6 | executing the guard block as warnings. |
|
|
7 | - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle. |
|
|
8 | |
|
|
9 | 4.13 Thu Jun 5 00:47:59 CEST 2008 |
|
|
10 | - AnyEvent::DNS only followed cname chains with length 2, |
|
|
11 | contrary to documentation. bumped it up to 10, thanks to |
|
|
12 | microsoft, the current broken-dns-config-king. |
|
|
13 | - AnyEvent::DNS didn't check for socket return status |
|
|
14 | but instead relied on perl not creating filehandles in that |
|
|
15 | case - too bad it gives you a bogus file handle (reported |
|
|
16 | and analysed by Vladimir Timofeev). |
|
|
17 | - fix queue management logic in AnyEvent::Handle: |
|
|
18 | when on_read was registered, the queue was empty |
|
|
19 | and no progress could be made AnyEvent::Handle would |
|
|
20 | enter an endless loop. |
|
|
21 | - correctly start reading again when the handle became |
|
|
22 | busy again after idling. |
|
|
23 | - correctly treat tls shut-downs as EOF condition |
|
|
24 | (for the time being, would be nice to have a callback for that). |
|
|
25 | - correctly call eof callback under all conditions |
|
|
26 | (hopefully). |
|
|
27 | - the timeout callback did not expect that $self can go |
|
|
28 | away any time. |
|
|
29 | |
|
|
30 | 4.12 Tue Jun 3 10:58:04 CEST 2008 |
|
|
31 | - include AnyEvent::Intro, a tutorial for anyevent, |
|
|
32 | anyevent::socket and anyevent::handle. |
|
|
33 | - allow more options in on_error. |
|
|
34 | |
|
|
35 | 4.11 Fri May 30 23:42:25 CEST 2008 |
|
|
36 | - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide |
|
|
37 | reverse_lookup and reverse_verify to replace it, support |
|
|
38 | v4mapped and v4compat addresses. |
|
|
39 | - provide more documentation for the resolver class. |
|
|
40 | - really replace longest run of :0: by :: in format_address, |
|
|
41 | also properly convert :: and ::1 again. |
|
|
42 | - support NAPTR record name and decode it. |
|
|
43 | - implement random weight sampling for SRV records, as per |
|
|
44 | rfc 2782. |
|
|
45 | - correctly abort on srv-record targets of ".". |
|
|
46 | - added AnyEvent::DNS::wait_for_slot. |
|
|
47 | - in the unlikely event of a virtual circuit connection |
|
|
48 | being invalidated by a delayed udp reply, AnyEvent::DNS |
|
|
49 | could die. this has been fixed. |
|
|
50 | - plug a probable memleak in the DNS vc code. |
|
|
51 | - use configured timeout also for VC request phase. |
|
|
52 | - implement timeout and max_outstanding methods |
|
|
53 | for resolver class. |
|
|
54 | - update version numbers in all modules. |
|
|
55 | |
|
|
56 | 4.1 Thu May 29 05:45:40 CEST 2008 |
|
|
57 | - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address |
|
|
58 | which mirrors their purpose better (old names still available |
|
|
59 | for a while). Also moved AnyEvent::DNS::addr to |
|
|
60 | AnyEvent::Socket::resolve_sockaddr. |
|
|
61 | - implement AnyEvent->time and AnyEvent->now. |
|
|
62 | - fix IPv6 support in pack_sockaddr. |
|
|
63 | - officially un-experimentalise all newly introduced code. |
|
|
64 | - support unix domain sockets everywhere by specifying |
|
|
65 | a host of "unix/" and the pathname as service. |
|
|
66 | - implement an activity timeout in AnyEvent::Handle. |
|
|
67 | - added a regex read type to AnyEvent::Handle. |
|
|
68 | - added a json read/write type to AnyEvent::Handle. |
|
|
69 | - always croak in on_error in AnyEvent::Handle. |
|
|
70 | - document how to subclass AnyEvent::Handle. |
|
|
71 | - implement AnyEvent::Util::fork_call. |
|
|
72 | - add support for IPv6 nameservers and nameserver statements. |
|
|
73 | - work around _yet_ _another_ windows perl bug in where empty |
|
|
74 | select masks cause errors in the pure perl backend (this |
|
|
75 | workaround cannot be implemented for the other event loops, |
|
|
76 | but EV also works around this). |
|
|
77 | - supply AnyEvent::Socket::address_type and make good use of it. |
|
|
78 | - clarify and fix the Handle documentation w.r.t $self vs. $handle |
|
|
79 | vs. callback arguments. |
|
|
80 | - add some recommends to the META.yml. |
|
|
81 | |
|
|
82 | 4.05 Mon May 26 19:44:06 CEST 2008 |
|
|
83 | - some platforms ignore the rfc and prepend an extra sa_len member to |
|
|
84 | the sockaddr structure, cater for those. also use sockaddr_family, |
|
|
85 | didn't know it was there, but comes in handy for the workaround. |
|
|
86 | - undo the import WIN32 hack. |
|
|
87 | |
|
|
88 | 4.04 Mon May 26 08:03:31 CEST 2008 |
3 | - try to work around yet another windows bug: failed connects are reported |
89 | - try to work around yet another windows bug: failed connects are reported |
4 | as if it were out-of-band data. windows users: you suck. Only |
90 | as if it were out-of-band data. windows users: you suck. Only |
5 | EV, Glib, Event and the pure perl backend can handle this condition. |
91 | EV, Glib, Event and the pure perl backend can handle this condition. |
|
|
92 | - optimize write algorithm in AnyEvent::Handle. |
6 | - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. |
93 | - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. |
|
|
94 | - tcp_connect now properly iterates through all targets. |
7 | - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 |
95 | - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 |
8 | support entirely. also hardcode some AF_INEt6 constants for the |
96 | support entirely. also hardcode some AF_INET6 constants for the |
9 | sake of perl 5.8. |
97 | sake of perl 5.8. |
10 | - vastly improved nameserver/suffix detection algorithm for windows |
98 | - vastly improved nameserver/suffix detection algorithm for windows |
11 | (still a hack...) |
99 | (still a hack...) |
12 | - try to use a fallback dns server if no dns servers could be found. |
100 | - try to use a fallback dns server if no dns servers could be found. |
13 | - splatter around some local $SIG{__DIE__}'s to work around bad |
101 | - splatter around some local $SIG{__DIE__}'s to work around bad |
… | |
… | |
40 | - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. |
128 | - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. |
41 | - try very hard not to freeze on broken windows perls. |
129 | - try very hard not to freeze on broken windows perls. |
42 | - make on_eof optional in AnyEvent::Handle. |
130 | - make on_eof optional in AnyEvent::Handle. |
43 | - support service names in tcp_connect and tcp_server. |
131 | - support service names in tcp_connect and tcp_server. |
44 | - work around netbsd/openbsd bug causing unix sockets not to |
132 | - work around netbsd/openbsd bug causing unix sockets not to |
45 | become writable untill empty. |
133 | become writable until empty. |
46 | - only make a dummy read for error detection when getpeername |
134 | - only make a dummy read for error detection when getpeername |
47 | returns ENOTCONN. |
135 | returns ENOTCONN. |
48 | - defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
136 | - defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
49 | override. |
137 | override. |
50 | - new AnyEvent::Guard::cancel. |
138 | - new AnyEvent::Guard::cancel. |