BIND 10 master, updated. 5f1c1f8ccf2e0af14706f963b4d764fd308a1bdd [1828] Close socket sooner

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jun 18 21:07:00 UTC 2012


The branch, master has been updated
       via  5f1c1f8ccf2e0af14706f963b4d764fd308a1bdd (commit)
      from  60e8cc24f35b0a7821bfb368b89c6bff1440756d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5f1c1f8ccf2e0af14706f963b4d764fd308a1bdd
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue Jun 19 02:36:42 2012 +0530

    [1828] Close socket sooner

-----------------------------------------------------------------------

Summary of changes:
 src/bin/xfrout/tests/xfrout_test.py.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/xfrout/tests/xfrout_test.py.in b/src/bin/xfrout/tests/xfrout_test.py.in
index bc409a8..67d68c3 100644
--- a/src/bin/xfrout/tests/xfrout_test.py.in
+++ b/src/bin/xfrout/tests/xfrout_test.py.in
@@ -1218,9 +1218,9 @@ class TestUnixSockServer(unittest.TestCase):
             self.assertEqual((socket.AF_INET, socket.SOCK_STREAM,
                               ('127.0.0.1', 12345)),
                              self.unix._guess_remote(sock.fileno()))
+            sock.close()
             # Return it back
             xfrout.socket.has_ipv6 = True
-            sock.close()
 
     def test_receive_query_message(self):
         send_msg = b"\xd6=\x00\x00\x00\x01\x00"



More information about the bind10-changes mailing list