I have looked into the t/library/streams.t failures on win32 (Ticket #31921). They arise from the \r\n line separator on Windows.
For test #14, I've tried to plug in a \r\n -> \n Stream::Filter but didn't find a way to peed ahead (for chunks that end in \r). Test #18 has the same problem, but also checks the chunk size, which would change with the \r\n -> \n substitution. An easier fix for the tests would be to change the expected output to include the platform specific line endings, which is what I'd like to do for these tests, but that doesn't solve the line endings problem. The Stream::Filter probably needs a "peek" method, to allow the filter to peek ahead. Any opinions? Ron
