Klaus Demo bjoern / e2b8372
Fix socket shutdown Jonas Haag 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7575 try:
7676 server_run(sock, wsgi_app)
7777 finally:
78 if sock.type == socket.AF_UNIX:
78 if sock.family == socket.AF_UNIX:
7979 filename = sock.getsockname()
8080 if filename[0] != '\0':
8181 os.unlink(sock.getsockname())