Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2007-03-07 12:53:37 -0800 (Wed, 07 Mar 2007)
- Catched socket.error raised by socket.accept on some platform
- Modified some socket settings
--- trunk/server/ssocket.py 2007-03-07 20:47:41 UTC (rev 554)
+++ trunk/server/ssocket.py 2007-03-07 20:53:37 UTC (rev 555)
@@ -68,7 +68,7 @@
# Become a server socket
self.__isRunning = True
@@ -80,6 +80,9 @@
# Do nothing here
+ except socket.error:
+ # Do nothing here
# Remove socket
@@ -122,7 +125,7 @@
msg = ''
while msg.rfind(SSocket.END_STRING) == -1:
- chunk = sock.recv(6)
+ chunk = sock.recv(128)
if chunk == '':
raise RuntimeError, "socket connection broken"
msg = msg + chunk
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: