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

Martin Langhoff martin.langhoff at gmail.com
Wed Sep 12 08:21:15 EDT 2012


On Wed, Sep 12, 2012 at 7:50 AM, Manuel Kaufmann <humitos at gmail.com> wrote:
> I'm attaching an example that downloads a file with WebKit.
>
> I tried it setting up a tmpfs with 1Mb as you suggested and aftert
> that, I ran this script. WebKit tells us about the insufficient space
> on the disk by raising the "error" signal. I catched it and I printed
> the arguments of the signal:

That's very good handling on webkit's side. And does it remove the
file? IOWs, when you get the signal, what do you see in the tmpfs? Is
there a file filling it, or has the file been removed?

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list