Created attachment 173385 [details] patch There are two issues which this patch fixes (regressions in 1.4.40): 1) mod_proxy, mod_scgi may trigger POLLHUP on *BSD,Darwin: https://redmine.lighttpd.net/issues/2743 2) writev failed: Socket is not connected (fastcgi,scgi,proxy): https://redmine.lighttpd.net/issues/2744 I haven't reproduced 1) yet, but 2) has given me hard time on www/nextcloud, so we definitely want it in the ports tree :) Build- and run-tested.
A commit references this bug: Author: arved Date: Wed Aug 17 19:48:29 UTC 2016 New revision: 420370 URL: https://svnweb.freebsd.org/changeset/ports/420370 Log: Fix two regressions: 1) mod_proxy, mod_scgi may trigger POLLHUP on *BSD,Darwin: https://redmine.lighttpd.net/issues/2743 2) writev failed: Socket is not connected (fastcgi,scgi,proxy): https://redmine.lighttpd.net/issues/2744 PR: 211646 Submitted by: maintainer Changes: head/www/lighttpd/Makefile head/www/lighttpd/files/patch-src_mod__fastcgi.c head/www/lighttpd/files/patch-src_mod__proxy.c head/www/lighttpd/files/patch-src_mod__scgi.c
It should also be MFH'd, since it fixes regressions.