Image import "web-download" doesn't check on download size
Bug #1895663 reported by
Grégoire Unbekandt
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Glance |
Fix Released
|
Undecided
|
Grégoire Unbekandt | ||
Bug Description
When using the image import "web-download" the downloaded data size is not checked.
This can result in corrupted images in case of network failures or if the source breaks the connection. In such a case Glance should interrupt the process instead of continuing the import.
If the server hosting the data supports the header "Content-Length", Glance should rely on it. All necessaries informations are provided as "store.add" already returns the written size.
| Changed in glance: | |
| assignee: | nobody → Grégoire Unbekandt (gregoire-unbekandt) |
To post a comment you must log in.

Fix proposed to branch: master /review. opendev. org/752067
Review: https:/