X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FGitHTTPBackend.pm;h=97834de4e97d00cb8b4e8ba4bd43faf058dfe4ee;hb=97134b5a7fde92a2b55a6ec7ff3b44176e307cd7;hp=cca8a6d6018c083f34077fe5834ad94f2ea89094;hpb=e8e1aba1abd87dacfe46704a9e939f13c9ad3b52;p=public-inbox.git diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm index cca8a6d6..97834de4 100644 --- a/lib/PublicInbox/GitHTTPBackend.pm +++ b/lib/PublicInbox/GitHTTPBackend.pm @@ -31,15 +31,6 @@ my @no_cache = ('Expires', 'Fri, 01 Jan 1980 00:00:00 GMT', 'Pragma', 'no-cache', 'Cache-Control', 'no-cache, max-age=0, must-revalidate'); -my $nextq; -sub do_next () { - my $q = $nextq; - $nextq = undef; - while (my $cb = shift @$q) { - $cb->(); # this may redefine nextq - } -} - sub r ($;$) { my ($code, $msg) = @_; $msg ||= status_message($code);