Description
I am using some commands to pipe an Export URL directly to an Import URL. On XenServer 6.5 the command below worked correctly
curl -k -s "EXPORT_URL" | curl --http1.0 -k -T - "IMPORTURL"
When running between 2 version 7.0 machines this same command produces the error below:
curl: (25) Chunky upload is not supported by HTTP 1.0
I have found by changing the command to
curl -k -s "EXPORT_URL" | curl -H 'Transfer-Encoding:' -k -T - "IMPORTURL"
it will work , with the following exceptions.
v7.0 to v7.0 = Failure (curl: (56) Recv failure: Connection reset by peer)
v7.0 to v6.5 = Failure (curl: (55) Send failure: Connection reset by peer)
v6.5 to v7.0 = Success
v.6.5 to v6.5 = Success
There is also a problem caused when Exporting from a v7 Stream to a v6.5 Import Stream whilst in .NET, this is not the case for a v7 to v7 setup.
This to me would indicate that v7.0 is causing a issue during its export.
Sorry, its a lot of information, please don't hesitate to contact me if you need to discuss further.