X-Git-Url: https://git.piment-noir.org/?p=deb_shairplay.git;a=blobdiff_plain;f=debian%2Fpatches%2Ffix-ipv4-ipv6-race.patch;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hp=94333f78b7e8311f53ea8ec48958444ff92d79a8;hb=e11d53a834240787ecff395da0b573358b0aa584;hpb=6c0346390f001f8916a45f46eccd047a019258ef diff --git a/debian/patches/fix-ipv4-ipv6-race.patch b/debian/patches/fix-ipv4-ipv6-race.patch index 94333f7..e69de29 100644 --- a/debian/patches/fix-ipv4-ipv6-race.patch +++ b/debian/patches/fix-ipv4-ipv6-race.patch @@ -1,13 +0,0 @@ ---- a/src/lib/httpd.c -+++ b/src/lib/httpd.c -@@ -237,7 +237,8 @@ struct httpd_s { - continue; - } - } -- if (httpd->server_fd6 != -1 && FD_ISSET(httpd->server_fd6, &rfds)) { -+ if (httpd->open_connections < httpd->max_connections && -+ httpd->server_fd6 != -1 && FD_ISSET(httpd->server_fd6, &rfds)) { - ret = httpd_accept_connection(httpd, httpd->server_fd6, 1); - if (ret == -1) { - break; -