You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my$buffer;
if ($env->{'psgix.input.buffered'}) {
# Just in case if input is read by middleware/apps beforehand$input->seek(0, 0);
} else {
$buffer = Stream::Buffered->new();
}
In file
HTTP/Entity/Parser.pm
L72later around L117:
If I understand the code correctly, when
psgix.input.buffered
is defined, the$buffer
would not be initialized.It should be checked before using, like L89:
Otherwise, in some cases it will croak:
Hope this will be fixed soon, thank you!
The text was updated successfully, but these errors were encountered: