Debian Codegraph @

CHANGES

raw
1 1.62
2 -- Fixed rt21751: test hangs on MSWin32 (Andy Melnikov)
3 -- Fixed rt34188: Tests use perlbal management port - so fail
4 if perlbal running (Andy Melnikov)
5 -- Fixed rt129487: epoll: fix misordered EPOLL_CTL_DEL call
6 (Eric Wong, [email protected]>
7 -- Fixed rt129724: set close-on-exec flag on epoll descriptors
8 (Eric Wong)
9 -- Fixed rt88518: typo fixes ([email protected])
10 -- Fixed rt85715: IPv6 support for local_ip_string
11 ([email protected])
12 -- Fixed rt129484: deal with EINTR in IO::Poll path
13 -- Fixed rt72670: simple optimization by caching pack
14 ([email protected], [email protected])
15
16
17 1.61 (2008-11-27)
18 -- IPv6 support. At least enough to get Perlbal going.
19 Let me know if this is done incorrectly or non-portably!
20 (Brad Fitzpatrick; [email protected]).
21
22 1.60
23 -- Keep watching for write after all writing is completed if user
24 specifically asked to watch_write (D. Leadbeater)
25
26 1.59
27 -- Don't keep watching for write after all writing is completed OK
28 (Dave Leadbeater)
29 -- Reset() now closes the Epoll or KQueue socket (Radu Greab)
30
31 1.58
32 -- Remove unnecessary bless() calls in tests (5.10 compatibility)
33 (msergeant)
34
35 1.57
36 -- Make tcp_cork be a no-op (rather than exploding) when operating on
37 a fd that isn't a network socket (like a local pipe, which doesn't do
38 TCP).
39
40 1.56
41 -- Reset method _still_ wasn't resetting enough. had to reset the
42 EventLoop method as well, so _InitPoller would get called and reset
43 stuff.
44
45 1.55
46 -- Reset method wasn't resetting enough.
47
48 1.54 (2006-11-13)
49 -- cap sysreads at 1MB, not 5MB. seems to crash perl less for
50 more people. *sigh*
51
52 1.53 (2006-08-24)
53 -- Don't allow ->read() if socket has been closed (msergeant).
54 -- Added local_ip_string() and local_addr_string() (msergeant).
55 -- Removed bogus 'ticker' code from KQueue event loop (msergeant).
56 -- Converted comment based docs to POD and fix some of those docs
57 to match reality (msergeant).
58
59 1.52: (2006-07-09)
60 -- AddTimer now returns a Danga::Socket::Timer object which you can
61 call the 'cancel' method on.
62
63 -- A good catch by Whitaker. If an epoll_ctl problem occurs when
64 manipulatiing something that isn't an INET domain socket, the
65 unpacking of remote information will fail.
66
67 1.51: (2006-04-27)
68 -- let subclasses overwrite the behavior on incomplete writes.
69 default, as always, is just to force watching of writability.
70 but during, say, SSL stuff, it's useful to disable that.
71
72 1.50: (2006-04-17)
73 -- use bytes. was affecting djabberd with unicode XML messages.
74 diagnosis by Artur Bergman and Tatsuhiko Miyagawa.
75
76 1.49: (2006-03-02)
77 -- patch to allow pluggable writer functions per socket. so you
78 can have SSL connections that do Net::SSLeay writes (or whatever)
79 instead of relying on tied handles.
80
81 1.48: (2005-10-12)
82 -- patch from Eric Lambrecht <[email protected]> who noticed that calling
83 sysread in Perl w/ over ~5MB could cause Perl to just die and quit.
84 so limit reads to 5MB.
85
86 1.47: (2005-08-29)
87 -- new $ENV{DS_DEBUG} to warn about weird conditions, which currently
88 means just peer_ip_string returning undef. trying to trace that down
89 in perlbal occasionally, but DS_DEBUG might be useful in the future
90 for other things
91 -- account for PostEventLoop running with two items in %PushBackSet,
92 the first of which closes the second, so the second would crash
93 trying to deref undef when it can't find the previously evaluated
94 key in the now-empty hash.
95
96 1.46: (2005-08-24)
97 -- warn about undef sockets in Danga::Socket's constructor, or overwriting
98 the descriptor map with a socket using the same fd as another in use.
99 -- change all print STDERR to warn (so we can trap 'em with $SIG{__WARN__})
100 -- delay the removal of fds from DescriptorMap to eliminate warnings
101 when one fds in the same epoll_wait/etc return set kills one of
102 the others which hasn't been processed yet. new test t/12-closerace.t to
103 demonstrate the situation.
104
105 1.45: (2005-08-23)
106 -- don't hang forever if there is a timer but no sockets
107 and looptimeout is -1. the problem was we always picked the
108 lesser time of LoopTimeout and NextTimerTimeout, but if LoopTimeout
109 was -1 (which means infinity), we preferred that, wrongly.
110 -- in RunTimers, calculate the milliseconds in integer, and add 1
111 to remove some floating point weirdness which caused 20-30 extra
112 loops which accomplished nothing. see comments.
113
114 1.44: (2005-08-16)
115 -- fix another bug in push_back_read... ancient: comma instead of
116 semi-colon (can you tell nobody used this function before?)
117 -- fix a bug in push_back_read ... apparently it never actually
118 worked when you asked for less bytes than were available.
119 -- adds code for when kqueue returns a fd we don't have a
120 mapping for (Matt Sergeant)
121 -- generic timer support (Matt Sergeant), use HiRes and rearrange
122 to share some code (Brad)
123 -- make tcp_cork a noop on non-linux (FIXME: port to bsd at least)
124
125 1.43:
126 -- don't even try epoll if not on a known/tested arch
127 -- updated POD docs
128
129 1.42:
130 -- use the right epoll system call numbers on non-x86
131 machines
132 -- start of a good test suite
133 -- 64-bit struct support (test suite passes on ia64, ppc)
134 (and presumably ppc64, but yet untested)
135
136
137 1.41:
138 -- make the Poll mode behave like Epoll/Kqueue in that
139 fds returned w/ no corresponding Danga::Socket object
140 or OtherFds coderef just get ignored. make it robust
141 against apps with races, perhaps? patch from Justin Azoff
142 <[email protected]>
143
144 1.40:
145
146 -- Kqueue support from Matt Sergeant
147
148 1.39:
149
150 -- make BSD::Resource optional
151
152 1.38:
153
154 -- added support for profiling (epoll only at the moment while this
155 feature is further fleshed out); user application is required to
156 enable profiling and actually process the resultant data
157
158 -- if epoll_wait returns an event we can't handle, delete it.
159 this means the application fucked up and lost its state somehow.
160 or maybe Danga::Socket did? still debugging this in Perlbal.
161
162 1.25: (2004-10-22)
163
164 -- move the syscall.ph require into "package main" rather than stealing
165 all its definitions into our namespace. now other modules can
166 use syscall.ph and Danga::Socket at the same time (as long as they're
167 also polite and load it into main) (NOTE: if you know a better way
168 to do this, let us know...)
169
170 1.24: (2004-10-21)
171
172 -- ability to steal the underlying socket from the Danga::Socket
173 object. this is useful if a caller wants to hold onto the socket
174 but destroy the Danga::Socket object (previously the Danga::Socket
175 close would close the underlying socket)
176
177 1.22: (2004-10-21)
178
179 -- minimal POD docs
180 -- first public release