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
I think this used to be not a problem, because Plack::Request checks if psgix.input.buffered is set in the environment before calling seek, and otherwise slurps the input and replaces it with a temporary filehandle that does support seek.
Quick git search shows that it was changed in db1e817. You can check to see if your code works with Plack 1.0039 or before.
Noticing errors like this:
The content method seems to think that it can seek psgi.input, even though Plack's own Plack::Handler::FCGI module does this:
And eventually puts that into psgi.input:
'psgi.input' => $self->{stdin},
Normally,
$self->{stdin}
would be a FCGI::Stream object after the$request->Accept
, but there are conditions where that doesn't apply:Furthermore, FCGI::Stream doesn't even support seeking, so it wouldn't work, anyway:
The text was updated successfully, but these errors were encountered: