Images 💾

Last commit ⭐

commit 924023337840da849603e73e666f6e1028dbf9ac
Author:     Jelle Raaijmakers <>
AuthorDate: Tue Sep 12 00:01:06 2023 +0200
Commit:     Tim Flynn <>
CommitDate: Mon Sep 11 21:38:24 2023 -0400

    Revert "AK: Refill a BufferedStream when it has less than the
    ...requested size"
    This reverts commit 13573a6c4bc0311f91371fd4563bc930d4811682.
    Some clients of `BufferedStream` expect a non-blocking read by
    `read_some` which the commit above made impossible by potentially
    performing a blocking read. For example, the following command hangs:
    This is caused by the HTTP job expecting to read the body of the
    response which is included in the active buffer, but since the buffered
    data size is less than the buffer passed into `read_some`, another
    blocking read is performed before anything is returned.
    By reverting this commit, all tests still pass and `pro` no longer
    hangs. Note that because of another bug related to `stdout` / `stderr`
    mixing and the absence of a line ending, there is no output to the
    command above except a progress update.