1
0
Fork 0

When $TMPDIR is low on space PHP streams silently fail

pull/3207/head
Chris Smith 2014-01-10 17:48:38 +00:00
parent ad51db7b57
commit 6edf40ee96
1 changed files with 4 additions and 0 deletions

View File

@ -179,6 +179,10 @@ class RemoteFilesystem
// 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));
}
if (!$result) {
throw new TransportException('Failed to decode zlib stream');
}
}
}