sushy-tools/releasenotes/notes/vmedia-error-73fda32cf6046554.yaml
Dmitry Tantsur 158eb3c866 Handle HTTP errors when downloading virtual media
Currently the emulator happily downloads the error page from nginx and
tries to connect it to libvirt. This change catches errors and returns
an error to the caller with either Bad Request (for 4xx codes upstream)
or Bad Gateway (for 5xx codes upstream).

Change-Id: I67fadb6b68c0fade9cfd122fe9a36dc6c0d34959
2021-08-19 19:06:53 +02:00

6 lines
132 B
YAML

---
fixes:
- |
Fixes handling HTTP errors on downloading virtual media files. Error codes
are no longer silently ignored.