summaryrefslogtreecommitdiff
path: root/paste/util/httpserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/util/httpserver.py')
-rwxr-xr-xpaste/util/httpserver.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/paste/util/httpserver.py b/paste/util/httpserver.py
index 06b4901..22e0b37 100755
--- a/paste/util/httpserver.py
+++ b/paste/util/httpserver.py
@@ -148,10 +148,12 @@ class WSGIHandlerMixin:
finally:
if hasattr(result,'close'):
result.close()
- except socket.error, exce:
- # do not stop the server on a network error; is this needed?
- self.log_error("Network Error: %s", exce)
- return
+ except socket.error:
+ # @@: what do we do with this exception? Sending a 500
+ # isn't smart in this case, which is why it is being singled
+ # out here. Yet, SocketServer@218 just ignores this sort of
+ # error... is this acceptable? Let's just punt.
+ raise
except:
if not self.wsgi_headers_sent:
self.wsgi_curr_headers = ('500 Internal Server Error',