Fix async and FastCGI timeout issues

This commit is contained in:
2023-07-05 23:19:40 +02:00
parent 2e3146f69a
commit 371bff0d07
3 changed files with 4 additions and 2 deletions

View File

@ -195,6 +195,7 @@ int fastcgi_init(fastcgi_cnx_t *conn, int mode, unsigned int req_num, const sock
conn->fd_out = pipes[1][1];
conn->out.socket = pipes[1][0];
sock_set_timeout(&conn->out, FASTCGI_TIMEOUT);
conn->fd_err = pipes[0][1];
conn->err = fdopen(pipes[0][0], "r");