Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync 0.3 branch #2802

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Sync 0.3 branch #2802

merged 1 commit into from
Nov 20, 2023

Commits on Nov 20, 2023

  1. FillBuf: don't poll a second time on EOF

    There is no hard guarantee that polling a second time will return
    Poll::Ready, and this is particularly likely to break in the EOF case,
    which is precisely where we don't need to do so at all.
    
    Both tokio::io::BufReader and futures::io::BufReader always attempt to
    read from the underlying reader when the buffer is empty, rather than
    fusing EOF.
    edef1c authored and taiki-e committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    871ab07 View commit details
    Browse the repository at this point in the history