[core] enforce wait for POLLWR after EINPROGRESS (fixes #2744)
mod_fastcgi, mod_scgi, and mod_proxy must enforce wait for POLLWR after EINPROGRESS or else getsockopt(fd, SOL_SOCKET, SO_ERROR, ...) may succeed even though socket connection is not yet established, and subsequent writev() will fail ENOTCONN. (thx pkubaj) x-ref: "1.4.40/41 writev failed: Socket is not connected (fastcgi,scgi,proxy)" https://redmine.lighttpd.net/issues/2744personal/stbuehler/mod-csrf-old
parent
4bc06bfc0b
commit
666b9fd726
Loading…
Reference in New Issue