Can any comment on the fact that all of these issues are caused because 'import_raw_vdi' doesn't support Chunked transfers?
This used to be fine casuse the loophole that allowed a massive Content-Length has been closed.
(here: xapi-project/vhd-tool@f978789#diff-a1476b2332c40710d3f1791146a29aeaL484 ).
Regards.