ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP/Transport.pm
(Generate patch)

Comparing AnyEvent-MP/MP/Transport.pm (file contents):
Revision 1.70 by root, Thu Apr 1 19:24:22 2010 UTC vs.
Revision 1.71 by root, Mon Apr 19 04:42:51 2010 UTC

304 304
305 if ($protocol eq "aemp" and $self->{hdl}) { 305 if ($protocol eq "aemp" and $self->{hdl}) {
306 # listener-less node need to continuously probe 306 # listener-less node need to continuously probe
307 unless (@$AnyEvent::MP::Kernel::LISTENER) { 307 unless (@$AnyEvent::MP::Kernel::LISTENER) {
308 $self->{hdl}->wtimeout ($timeout); 308 $self->{hdl}->wtimeout ($timeout);
309 $self->{hdl}->on_wtimeout (sub { $self->send ([]) }); 309 $self->{hdl}->on_wtimeout (sub { $self->{send}->([]) });
310 } 310 }
311 311
312 # receive handling 312 # receive handling
313 313
314 my $push_write = $hdl->can ("push_write"); 314 my $push_write = $hdl->can ("push_write");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines