]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Mbox.pm
mbox: be fair to other HTTP clients
[public-inbox.git] / lib / PublicInbox / Mbox.pm
index 1e3de5b0d484550b940ce977ff27f8d015ed757e..dc41548b87ce68726dc41aa79bd571589a150641 100644 (file)
@@ -138,6 +138,9 @@ sub getline {
                                ${$self->{buf}} = '';
                                return $ret;
                        }
+
+                       # be fair to other clients on public-inbox-httpd:
+                       return '';
                }
                $res = $self->{cb}->($self->{opts});
                $self->{msgs} = $res->{msgs};