Wrong place to be wrapping this method.
# since connection has stuff to write, it should now be
# interested in pending writes:
$self->{wbuf_off} += $written;
- $self->on_incomplete_write;
+ $self->watch_write(1);
return 0;
} elsif ($written == $to_write) {
$self->{wbuf_off} = 0;
}
}
-sub on_incomplete_write {
- my PublicInbox::DS $self = shift;
- $self->watch_write(1);
-}
-
=head2 C<< $obj->watch_read( $boolean ) >>
Turn 'readable' event notification on or off.