#2070: [patch] Large streaming uploads --------------------------------------+------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: jacob Type: enhancement | Status: assigned Priority: normal | Milestone: Component: Core framework | Version: Severity: normal | Resolution: Keywords: timezone, time zone, UTC | --------------------------------------+------------------------------------- Comment (by toddobryan):
OK, you don't have to be very nice. It turns out that I missed perhaps the most important thing, which is wrapping the stream from the POST in some kind of object which prevents lines from being too long and filling up memory. Oyvind's PostStream seems like the kind of thing to do, but I'd suggest wrapping the stream before we pass it into the FieldStorage object, not inside. I was misled by the fact that the read_binary() method inside there has a fixed 8k buffer. -- Ticket URL: <http://code.djangoproject.com/ticket/2070> Django <http://code.djangoproject.org/> The web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates -~----------~----~----~----~------~----~------~--~---