No point in keeping the old buffer around if we don't need to.
delete($self->{hdr_buf}));
} else { # for synchronous PSGI servers
require PublicInbox::GetlineBody;
delete($self->{hdr_buf}));
} else { # for synchronous PSGI servers
require PublicInbox::GetlineBody;
+ my $buf = delete $self->{hdr_buf};
$r->[2] = PublicInbox::GetlineBody->new($self->{rpipe},
$r->[2] = PublicInbox::GetlineBody->new($self->{rpipe},
- \&event_step, $self,
- ${$self->{hdr_buf}}, $filter);
+ \&event_step, $self, $$buf, $filter);