mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 19:26:33 +00:00
Avoid random access in http sources
Changelog-entry: Avoid random access in http sources Change-type: patch
This commit is contained in:
parent
f983d88e52
commit
29e2e9c657
@ -246,7 +246,7 @@ ipc.connectTo(IPC_SERVER_ID, () => {
|
|||||||
path: options.imagePath,
|
path: options.imagePath,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
source = new Http({ url: options.imagePath });
|
source = new Http({ url: options.imagePath, avoidRandomAccess: true });
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const results = await writeAndValidate({
|
const results = await writeAndValidate({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user