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

Changeset 2079

Show
Ignore:
Timestamp:
11/08/08 16:29:35
Author:
fumanchu
Message:

Fix for #877 (Bug in recv wsgiserver).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/wsgiserver/__init__.py

    r2077 r2079  
    747747                    return self._sock.recv(size) 
    748748                except socket.error, e: 
    749                     if e.args[0] not in socket_errors_nonblocking: 
     749                    if (e.args[0] not in socket_errors_nonblocking 
     750                        and e.args[0] not in socket_error_eintr): 
    750751                        raise 
    751752 
     
    924925                    return self._sock.recv(size) 
    925926                except socket.error, e: 
    926                     if e.args[0] not in socket_errors_nonblocking: 
     927                    if (e.args[0] not in socket_errors_nonblocking 
     928                        and e.args[0] not in socket_error_eintr): 
    927929                        raise 
    928930 

Hosted by WebFaction

Log in as guest/cpguest to create tickets