1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | TODO: document repeat or use interval. |
3 | 4.3 |
|
|
4 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
|
|
5 | unless one has been installed already. |
|
|
6 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
|
|
7 | - fix a bug in where in SSL connect mode, the |
|
|
8 | client would first wait for some data by the server and |
|
|
9 | otherwise hang. (Reported and analyzed in an absolutely |
|
|
10 | exemplary manner by Adam Rosenstein). |
|
|
11 | - fix a bug in where SSL EOF would not be treated |
|
|
12 | as stream EOF, putting the connection into a hung state. |
|
|
13 | (Reported and analyzed in an absolutely exemplary manner by Adam |
|
|
14 | Rosenstein). |
|
|
15 | - fix a potential segfault when the TLS context |
|
|
16 | would go missing in a read callback (e.g. due to stoptls) - |
|
|
17 | Net::SSLeay of course makes no type checking whatsoever. |
|
|
18 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |
|
|
19 | - AnyEvent::Handle->stoptls will send a TLS close notify |
|
|
20 | instead of simply destroying the stream now. |
|
|
21 | - fix a bug where large blocks of data written in TLS mode |
|
|
22 | would not be sent unless triggered by receives. |
|
|
23 | - on_drain will now take the tls write buffer into account. |
|
|
24 | - SSL operations have been streamlined a bit and should be faster |
|
|
25 | now, more to come, though. |
|
|
26 | - added a FAQ section, will document nontrivial issues in there. |
|
|
27 | |
|
|
28 | 4.234 Mon Sep 29 04:08:13 CEST 2008 |
|
|
29 | - fix child watcher documentation: only child exits will be reported, |
|
|
30 | no trace events. |
|
|
31 | - mention SIGPIPE in AnyEvent::Handle. |
|
|
32 | - perl backend will now use POSIX::times as monotonic clock |
|
|
33 | when available and the monotonic clock option is not. |
|
|
34 | - run even without Time::HiRes in some cases now, but do not |
|
|
35 | provide sub-second accuracy (all *supported* perl versions have |
|
|
36 | Time::HiRes). |
|
|
37 | |
|
|
38 | 4.233 Fri Aug 22 01:48:05 CEST 2008 |
|
|
39 | - fix a bug in the testsuite, causing a hang. |
|
|
40 | - clarified lots of AnyEvent::Handle constructor arguments. |
|
|
41 | |
|
|
42 | 4.232 Thu Aug 21 20:44:25 CEST 2008 |
|
|
43 | - fix a bug in AnyEvent::Handle that could cause two fatal error |
|
|
44 | callbacks on EOF, which caused AnyEvent::HTTP to signal success twice |
|
|
45 | (testcase by Leon Brocard). |
|
|
46 | - clarified on_eof/on_error documentation a bit. |
|
|
47 | |
|
|
48 | 4.231 Tue Jul 29 13:12:15 CEST 2008 |
|
|
49 | - remove some debugging code left in AnyEvent::Util::fork_call |
|
|
50 | (and no, it's impossible to implement with the broken windows |
|
|
51 | perls without resource leaks or worse). |
|
|
52 | |
|
|
53 | 4.23 Tue Jul 29 12:19:59 CEST 2008 |
|
|
54 | - document the first parameter passed to condvar callbacks to be |
|
|
55 | the callback. |
|
|
56 | - add AnyEvent::Socket::{ntoa,aton} aliases. |
|
|
57 | - optimize the AE::Handle->push_read (line) for the default |
|
|
58 | eol marker. |
|
|
59 | - optimize push_read (packstring|storable) for small packets. |
|
|
60 | - invoke on_error callback when no on_eof callback is set. |
|
|
61 | - fix a bug in push_read (storable) of unknown impact. |
|
|
62 | |
|
|
63 | 4.22 Sun Jul 20 16:34:13 CEST 2008 |
|
|
64 | - new function AnyEvent::Socket::parse_hostport. |
|
|
65 | - as the bulkheads at microsoft can't even get getprotobyname reliably |
|
|
66 | working on their shitty fucking broken os we need to hardcode |
|
|
67 | some common protocol numbers in AnyEvent::Socket. How can |
|
|
68 | people even bother with such a pile of shit as windows. |
|
|
69 | |
|
|
70 | 4.21 Thu Jul 17 14:40:05 CEST 2008 |
|
|
71 | - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype |
|
|
72 | which is incompatible to previous invocation syntax. |
|
|
73 | - work around more windows perl bugs in fork_call. I cannot imagine |
|
|
74 | why anybody would bother implementing fork in such an obviously |
|
|
75 | unusable way. |
|
|
76 | - avoid calling $do_retry if the request has already finished in |
|
|
77 | AnyEvent::DNS, thus avoiding an exception (reported by Anatoly |
|
|
78 | K. Sharifulin). |
|
|
79 | |
|
|
80 | 4.2 Sat Jul 12 22:42:11 CEST 2008 |
4 | - support a "repeat" argument for repeating timers. |
81 | - support an "interval" argument for repeating timers. |
5 | |
82 | - fix a bug in the pure perl event loop that caused timers to |
|
|
83 | be delayed under some circumstances. |
|
|
84 | - implement optional argument checking via PERL_ANYEVENT_STRICT. |
6 | - not importing anything from Event causes it to malfunction |
85 | - not importing anything from Event causes it to malfunction |
7 | and not use Time::HiRes, work around this bug. |
86 | and not use Time::HiRes, work around this bug. |
8 | - fix a bug in the pure perl event loop that caused timers to |
87 | - more bug workarounds against the endlessly broken Tk module, |
9 | be delayed under some circumstances. |
88 | seems to work now on 32 bit machines, but less so on 64 bit. |
10 | - minor optimisations applied to most backends. |
89 | - minor optimisations applied to most backends. |
11 | |
90 | |
12 | 4.161 Fri Jul 4 14:24:48 CEST 2008 |
91 | 4.161 Fri Jul 4 14:24:48 CEST 2008 |
13 | - fixed the t/handle/02_write.t, it read after write, with the |
92 | - fixed the t/handle/02_write.t, it read after write, with the |
14 | assumption that all data could be written before read |
93 | assumption that all data could be written before read |
… | |
… | |
168 | - support service names in tcp_connect and tcp_server. |
247 | - support service names in tcp_connect and tcp_server. |
169 | - work around netbsd/openbsd bug causing unix sockets not to |
248 | - work around netbsd/openbsd bug causing unix sockets not to |
170 | become writable until empty. |
249 | become writable until empty. |
171 | - only make a dummy read for error detection when getpeername |
250 | - only make a dummy read for error detection when getpeername |
172 | returns ENOTCONN. |
251 | returns ENOTCONN. |
173 | - defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
252 | - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal |
174 | override. |
253 | override. |
175 | - new AnyEvent::Guard::cancel. |
254 | - new AnyEvent::Guard::cancel. |
176 | |
255 | |
177 | 3.5 Sat May 17 23:17:14 CEST 2008 |
256 | 3.5 Sat May 17 23:17:14 CEST 2008 |
178 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
257 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
… | |
… | |
192 | |
271 | |
193 | 3.41 Sun May 11 19:53:13 CEST 2008 |
272 | 3.41 Sun May 11 19:53:13 CEST 2008 |
194 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
273 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
195 | |
274 | |
196 | 3.4 Sun May 11 00:29:25 CEST 2008 |
275 | 3.4 Sun May 11 00:29:25 CEST 2008 |
197 | - complete re-implementation of condvars with a hopefully much mroe useful |
276 | - complete re-implementation of condvars with a hopefully much more useful |
198 | API (backward compatible functions exist but are undocumented). |
277 | API (backward compatible functions exist but are undocumented). |
199 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
278 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
200 | (still subject to change). |
279 | (still subject to change). |
201 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
280 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
202 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |
281 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |