Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16314/src/testing

Modified Files:
      Tag: MonetDB_1-18
        Mtest.py.in 
Log Message:
set socket options as we do for Mserver (ie SO_REUSEADDR). This
solves the port reuse problems (I hope).


Index: Mtest.py.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/Mtest.py.in,v
retrieving revision 1.279.2.6
retrieving revision 1.279.2.7
diff -u -d -r1.279.2.6 -r1.279.2.7
--- Mtest.py.in 12 Aug 2007 07:51:41 -0000      1.279.2.6
+++ Mtest.py.in 20 Aug 2007 09:49:01 -0000      1.279.2.7
@@ -1861,6 +1861,8 @@
     Serrstr = ""
     S0 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
     S1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+    S0.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1);
+    S1.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1);
     host = 'localhost'
     try:
         S0.bind((host,port))


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to