summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6306663)
Don't use epoll or kqueue to watch for anything unless we hit
EAGAIN, since we don't know if a socket is SSL or not.
-sub watch_in1 ($) { watch($_[0], EPOLLIN | EPOLLONESHOT) }
-
# return true if complete, false if incomplete (or failure)
sub accept_tls_step ($) {
my ($self) = @_;
# return true if complete, false if incomplete (or failure)
sub accept_tls_step ($) {
my ($self) = @_;
}
if ($r < 0) { # incomplete
$self->rbuf_idle($rbuf);
}
if ($r < 0) { # incomplete
$self->rbuf_idle($rbuf);
- return $self->watch_in1;
}
$$rbuf = substr($$rbuf, $r);
my $len = input_prepare($self, \%env);
}
$$rbuf = substr($$rbuf, $r);
my $len = input_prepare($self, \%env);
push @$pipelineq, $self;
$pipet ||= PublicInbox::EvCleanup::asap(*process_pipelineq);
} else { # wait for next request
push @$pipelineq, $self;
$pipet ||= PublicInbox::EvCleanup::asap(*process_pipelineq);
} else { # wait for next request