When $TMPDIR is low on space PHP streams silently fail
parent
ad51db7b57
commit
6edf40ee96
|
@ -179,6 +179,10 @@ class RemoteFilesystem
|
||||||
// work around issue with gzuncompress & co that do not work with all gzip checksums
|
// work around issue with gzuncompress & co that do not work with all gzip checksums
|
||||||
$result = file_get_contents('compress.zlib://data:application/octet-stream;base64,'.base64_encode($result));
|
$result = file_get_contents('compress.zlib://data:application/octet-stream;base64,'.base64_encode($result));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$result) {
|
||||||
|
throw new TransportException('Failed to decode zlib stream');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue