[BACK]Return to patch-ab CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-Pyro / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / py-Pyro / patches / Attic / patch-ab (download)

Revision 1.2, Wed Dec 4 16:41:01 2013 UTC (4 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-
Changes since 1.1: +6 -6 lines

update to 4.22
changes:
-added IPv6 support
-added Python3 support
-bugfixes

$NetBSD: patch-ab,v 1.2 2013/12/04 16:41:01 drochner Exp $

avoid sender block

--- tests/PyroTests/test_socket.py.orig	2013-08-26 18:54:16.000000000 +0000
+++ tests/PyroTests/test_socket.py
@@ -268,8 +268,10 @@ class TestSocketutil(unittest.TestCase):
         
     def testMsgWaitallProblems(self):
         ss=SU.createSocket(bind=("localhost",0), timeout=2)
+        ss.setsockopt(SU.socket.SOL_SOCKET, SU.socket.SO_SNDBUF, 100000)
         port=ss.getsockname()[1]
         cs=SU.createSocket(connect=("localhost",port), timeout=2)
+        cs.setsockopt(SU.socket.SOL_SOCKET, SU.socket.SO_SNDBUF, 100000)
         a=ss.accept()
         # test some sizes that might be problematic with MSG_WAITALL
         for size in [1000,10000,32000,32768,32780,41950,41952,42000,65000,65535,65600,80000]: