[Sugar-devel] [PATCH Browse] Cancel a download if space is very tight SL #394

Manuel Kaufmann humitos at gmail.com
Mon Sep 10 18:02:12 EDT 2012


On Mon, Sep 10, 2012 at 9:49 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> Perhaps it is a stupid question but... in many HTTP requests you get
> the size of the transfer in the HTTP headers, in the form of the
> Content-Length header.

I didn't follow this approach because of this comment:

http://bugs.sugarlabs.org/ticket/394#comment:5

> And then, you need the most clear step: if the write fails, and the
> error / exception tells you it's ENOSPC, you delete the object.

Will Sugar recover immediately after getting ENOSPC and deleting the object?

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/


More information about the Sugar-devel mailing list