diff options
Diffstat (limited to 'testing/libcouchbase/fix_socktest.patch')
-rw-r--r-- | testing/libcouchbase/fix_socktest.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/libcouchbase/fix_socktest.patch b/testing/libcouchbase/fix_socktest.patch new file mode 100644 index 0000000000..2ee7cc68b0 --- /dev/null +++ b/testing/libcouchbase/fix_socktest.patch @@ -0,0 +1,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 |