[tor-commits] [flashproxy/master] Don't log anything for a broken pipe.

dcf at torproject.org dcf at torproject.org
Wed Jul 4 12:28:40 UTC 2012


commit 67b1ad61f81ff75e9bc5ee35e73382e4129f7469
Author: David Fifield <david at bamsoftware.com>
Date:   Wed Jul 4 05:14:45 2012 -0700

    Don't log anything for a broken pipe.
---
 facilitator.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/facilitator.py b/facilitator.py
index be3436c..0a6a018 100755
--- a/facilitator.py
+++ b/facilitator.py
@@ -292,7 +292,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler):
                     raise
                 if err_num != errno.EPIPE:
                     raise
-                log(u"%s broken pipe" % safe_str(format_addr(self.client_address)))
         return ret
     handle = catch_epipe(BaseHTTPServer.BaseHTTPRequestHandler.handle)
     finish = catch_epipe(BaseHTTPServer.BaseHTTPRequestHandler.finish)





More information about the tor-commits mailing list