[Zope-dev] WebDAV File Descriptor Leak

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Thu, 29 May 2003 21:42:09 +0200


--On Donnerstag, 29. Mai 2003 16:38 Uhr -0300 Sidnei da Silva 
<sidnei@x3ng.com> wrote:

> On Thu, May 29, 2003 at 09:28:16PM +0200, Andreas Jung wrote:
>| I checked the corresponding code and the temporary files should be closed
>| automatically when the upload was successful (the __del__() method of
>| the  TemporaryFile
>| class closes the file). The leak might come from unfinished uploads. In
>| this case the
>| iTemporaryFile instance is not destroyed.
>
> I remember that Shane fixed a leak related to File uploads a few
> months ago. Dunno if it was related to file descriptors, but AFAIR, it
> was fixed just on HEAD. Correct me if Im wrong.

I made my tests on the HEAD.

-aj