in reply to Unable to flush stdout: Invalid argument

The error message is introduced in this commit, which may give a hint on reproduction.

You'll need (1) and END {} block that outputs something and doesn't flush and (2) failure to flush STDOUT.

I've been unable to do it so far. Maybe it happens when STDOUT is closed by webserver from the outside and END block prints something...

UPDATE Oh, has already been pointed out.

  • Comment on Re: Unable to flush stdout: Invalid argument