Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1112

Show
Ignore:
Timestamp:
05/30/06 16:23:02
Author:
fumanchu
Message:

Added the required WSGI request.close() call (thanks amix!).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-2.x/cherrypy/_cpwsgiserver.py

    r1065 r1112  
    202202                            for line in response: 
    203203                                request.write(line) 
     204                            if hasattr(response, "close"): 
     205                                response.close() 
    204206                    except socket.error, e: 
    205207                        errno = e.args[0] 
  • trunk/cherrypy/_cpwsgiserver.py

    r1047 r1112  
    202202                            for line in response: 
    203203                                request.write(line) 
     204                            if hasattr(response, "close"): 
     205                                response.close() 
    204206                    except socket.error, e: 
    205207                        errno = e.args[0] 

Hosted by WebFaction

Log in as guest/cpguest to create tickets