aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libcouchbase/fix_socktest.patch
blob: 2ee7cc68b0025513a8af4b78ccc2d80de7f0d86f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- libcouchbase-2.5.6/tests/socktests/t_basic.cc
+++ libcouchbase-2.5.6-2/tests/socktests/t_basic.cc
@@ -48,7 +49,7 @@
 
 static bool isRefused(lcbio_OSERR err)
 {
-    if (err == ECONNREFUSED || err == ECONNABORTED) {
+    if (err == ECONNREFUSED || err == ECONNABORTED || err == EAFNOSUPPORT) {
         return true;
     }
 #ifdef _WIN32