--- a/tests/tinyproxy.py Fri Feb 01 02:01:11 2013 +0100
+++ b/tests/tinyproxy.py Thu Jan 31 19:13:13 2013 +0100
@@ -107,7 +107,10 @@
out = self.connection
else:
out = soc
- data = i.recv(8192)
+ try:
+ data = i.recv(8192)
+ except socket.error:
+ break
if data:
out.send(data)
count = 0