Ferreteria/v0.6/clade/IO/Aspect/Connx/run/Starter/@code/rmv/2024/12/25

From WoozleCodes
Jump to navigation Jump to search
code removed on 2024-12-25
2024/12/24 2024/12/25 2024/12/26

Apparently this turned out to be unnecessary, or it didn't work or something:

protected function CheckErrorPipe($rPipe, BufferIface $oBuff) {
        $nBufSize = 1024 * 1024;  // 1M buffer
        while (!feof($rPipe)) {
            $ok = set_time_limit(5); // NOTE: seems to always return FALSE
            $sPiece = fread($rPipe, $nBufSize);
            if (($sPiece !== FALSE) && (strlen($sPiece) > 0)) {
                $oBuff->PutBytes($sPiece);
            }
        }
    }