[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH 1/2] ESX: Look harder for potential transfer failures



On Thu, Feb 18, 2010 at 09:49:43AM +0000, Matthew Booth wrote:
> Although I can't reproduce, I seem to have had an incomplete transfer which
> wasn't picked up by the existing error handling. This change adds some more
> sanity checks:
> 
> * Check for error on close() (should have been doing this anyway)
> * Check that the bytes received == reported content length

Yup, this seems sensible.  Next step would be to try error recovery by
issuing an HTTP Range request for the rest of the content, but
reporting the error is a good start.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]