Fix FastCGI error handling

This commit is contained in:
2023-07-13 23:09:49 +02:00
parent 642286a838
commit 0f526d7b95
4 changed files with 13 additions and 5 deletions

View File

@ -46,7 +46,7 @@ typedef struct {
} ws_ctx_t;
typedef struct {
int closed:2;
unsigned char closed:4;
client_ctx_t *client;
fastcgi_cnx_t cnx;
} fastcgi_ctx_t;
@ -95,4 +95,6 @@ int fastcgi_handle_connection(client_ctx_t *ctx, fastcgi_cnx_t **cnx);
void fastcgi_close(fastcgi_ctx_t *ctx);
void fastcgi_close_error(fastcgi_ctx_t *ctx);
#endif //SESIMOS_FUNC_H