diff -r f3a3129a0a26 django/core/servers/basehttp.py
--- a/django/core/servers/basehttp.py	Sat May 31 01:01:17 2008 +0000
+++ b/django/core/servers/basehttp.py	Sat May 31 20:52:19 2008 +0200
@@ -13,6 +13,7 @@
 import re
 import sys
 import urllib
+import socket
 
 from django.utils.http import http_date
 
@@ -487,7 +488,11 @@
 
     def handle_error(self):
         """Log current error, and send error output to client if possible"""
-        self.log_exception(sys.exc_info())
+        exc_type, exc_value = sys.exc_info()[:2]
+        if issubclass(exc_type, socket.error) and exc_value.args[0]==32:
+            self.request_handler.log_request(self.status.split(' ',1)[0], "%s %s" % (self.bytes_sent, exc_value.args[1]))
+        else:
+            self.log_exception(sys.exc_info())
         if not self.headers_sent:
             self.result = self.error_output(self.environ, self.start_response)
             self.finish_response()
