[ZCM] [ZC] 1976/ 1 Request "FTP Uploads consuming all memory"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Thu Dec 15 14:57:43 EST 2005


Issue #1976 Update (Request) "FTP Uploads consuming all memory"
 Status Pending, Zope/bug+solution medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1976

==============================================================
= Request - Entry #1 by dreamcatcher on Dec 15, 2005 2:57 pm


Uploaded:  "ftp-upload.patch"
 - http://www.zope.org/Collectors/Zope/1976/ftp-upload.patch/view
FTP STOR command still uses a StringIO. The following patch changes it to use a TemporaryFile, which should be safe with Python 2.3+ and now that HTTPRequest (which is a base class for FTPRequest) properly breaks the reference to the stdin attribute.

I propose (and volunteer) to backport it all the way to Zope 2.7.
==============================================================



More information about the Zope-Collector-Monitor mailing list