The ref() call could be hitting memory leaks on Perl 5.16.x.
It's been 3 years (2016-12-25) since
292ca34140489da2
("githttpbackend: simplify compatibility code") back when
this project was barely known and probably nobody used
examples/public-inbox.psgi...
sub serve {
my ($env, $git, $path) = @_;
- # XXX compatibility... ugh, can we stop supporting this?
- $git = PublicInbox::Git->new($git) unless ref($git);
-
# Documentation/technical/http-protocol.txt in git.git
# requires one and exactly one query parameter:
if ($env->{QUERY_STRING} =~ /\Aservice=git-[A-Za-z0-9_]+-pack\z/ ||