about summary refs log tree commit homepage
path: root/lib/PublicInbox/HTTP.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/HTTP.pm')
-rw-r--r--lib/PublicInbox/HTTP.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm
index 1153ef98..856b8959 100644
--- a/lib/PublicInbox/HTTP.pm
+++ b/lib/PublicInbox/HTTP.pm
@@ -95,7 +95,7 @@ sub rbuf_process {
         }
         if ($r < 0) { # incomplete
                 $self->rbuf_idle($rbuf);
-                return $self->watch_in1;
+                return $self->requeue;
         }
         $$rbuf = substr($$rbuf, $r);
         my $len = input_prepare($self, \%env);
@@ -241,7 +241,7 @@ sub next_request ($) {
                 push @$pipelineq, $self;
                 $pipet ||= PublicInbox::EvCleanup::asap(*process_pipelineq);
         } else { # wait for next request
-                $self->watch_in1;
+                $self->requeue;
         }
 }