CherryPy crashes if socket.accept() does not return a remote address
I've come across some situations, on OS X, where socket.accept() does not return the remote peer's ip address. The actual accept() system call actually returns a zero length address. This seems to be a legitimate condition (though i've no idea what really leads to it).
Apache just logs :: for the address in this situation, but CherryPy crashes in wsgiserver/init.py in tick()
Suggest adding a couple of lines after socket.accept() in tick() such as
if addr is None: addr = ('::', '0')
Reported by gwatts