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
The problem is that stream consumers who do while !eof(io) ... rely on the blocking behaviour to avoid spinning at 100% cpu while waiting for data. e.g.: base/io.jl
The spec for
Base.eof
says "If the stream is not yet exhausted, this function will block to wait for more data if necessary, and then return false.".The current implementation of
Base.eof(::FIFOBuffer)
does not block:HTTP.jl/src/fifobuffer.jl
Line 99 in 779fe74
The problem is that stream consumers who do
while !eof(io) ...
rely on the blocking behaviour to avoid spinning at 100% cpu while waiting for data. e.g.:base/io.jl
Context of the discovery of this issue: #110
The text was updated successfully, but these errors were encountered: