quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Blanquet" <lblanq...@b2btechno.net>
Subject 3.2.8 - Memory leaks with util.FieldStorage
Date Sat, 10 Jun 2006 16:47:41 GMT
Hello,

I'm using MOD_APACHE 3.2.8 (from binary dist). with Apache 2.0.55 under Windows XP Pro.
I encounter memory leaks (~ 16 Ko per request) with a very basic handler like :

import mod_python
from mod_python import util

def handler(req):
    F=util.FieldStorage( req )   
    return mod_python.apache.OK

And sending an HTTP request like : 

====  Output from TCPWATCH ====
POST http://localhost:80/python/Alertes.py HTTP/1.0
Content-Type: multipart/form-data; boundary=--------061006144341906
Content-Length: 209
Proxy-Connection: keep-alive
Host: www.tx2-localhost
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Proxy-Authorization: Basic Og==

----------061006144341906
Content-Disposition: form-data; name="TYPE"

LAST_ALERTS
----------061006144341906
Content-Disposition: form-data; name="FILEAGE"

180

----------061006144341906--
====

Has somebody encountered the same problem ?
Is there a turn-around  or a fix that can be forecasted ?

Best regards,   Laurent.
Mime
View raw message