Hello,

I am using Werkzeug as a framework, and want to upload files of up to
300MB size. It all works well, but if the user wants to cancel his
upload, and thus clicks the cancel button, reloads the page or closes
the tab, an apache thread maxes out at 100% CPU and doesn't seem to
stop until killed.

This seems to happen regardless whether a simple form, an iframe or
middleware is used, as long as modwsgi is involved, leading me to look
into this direction. I tried to find out what the apache thread is
doing while maxing out, but no luck so far. My best guess is that the
"chunk saving loop" that must be used to build the temp file from
chunks is waiting for more data.

Has anybody experienced something similar, and can point me in the
right direction? I'd be happy to add more info if needed.

Regards,
Tom

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to