[mod_fastcgi,mod_scgi] backend spawn EINTR retry (#2788)
When spawning backends, retry blocking connect() to backend if EINTR received when attempting to see if backend is already running. EINTR might be received if a HUP or USR1 signal is received while connecting (or SIGCHLD on systems without SA_RESTART) (expected to occur extremely rarely, but simple to handle properly) x-ref: "FreeBSD/1.4.45/SSL: requests getting stuck in handle-req state occasionally" https://redmine.lighttpd.net/issues/2788personal/stbuehler/mod-csrf
parent
12440e89cd
commit
aa923e05f6
Loading…
Reference in New Issue