Using 504 instead of 503

This commit is contained in:
2023-01-06 22:45:56 +01:00
parent 946adb54d7
commit fb59b0d8c4
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ static int fastcgi_handler_1(client_ctx_t *ctx, fastcgi_cnx_t *fcgi_cnx) {
res->status = http_get_status(200);
if (fastcgi_init(fcgi_cnx, mode, ctx->req_num, client, req, uri) != 0) {
res->status = http_get_status(503);
res->status = http_get_status(504);
sprintf(err_msg, "Unable to communicate with FastCGI socket.");
return 2;
}