Browse Source
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
2 changed files with 8 additions and 2 deletions
Loading…
Reference in new issue