Clean up fastcgi_handler a bit
This commit is contained in:
+7
-7
@@ -17,6 +17,12 @@
|
||||
#include "../lib/proxy.h"
|
||||
#include "../lib/fastcgi.h"
|
||||
|
||||
typedef struct {
|
||||
unsigned char closed:4;
|
||||
char log_prefix[128];
|
||||
fastcgi_cnx_t cnx;
|
||||
} fastcgi_ctx_t;
|
||||
|
||||
typedef struct {
|
||||
sock socket;
|
||||
int req_num;
|
||||
@@ -36,7 +42,7 @@ typedef struct {
|
||||
long content_length, transferred_length;
|
||||
char *msg_buf, *msg_buf_ptr, msg_content[1024];
|
||||
proxy_ctx_t *proxy;
|
||||
void *fcgi_ctx;
|
||||
fastcgi_ctx_t *fcgi_ctx;
|
||||
} client_ctx_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -45,12 +51,6 @@ typedef struct {
|
||||
void *other;
|
||||
} ws_ctx_t;
|
||||
|
||||
typedef struct {
|
||||
unsigned char closed:4;
|
||||
char log_prefix[128];
|
||||
fastcgi_cnx_t cnx;
|
||||
} fastcgi_ctx_t;
|
||||
|
||||
typedef struct {
|
||||
client_ctx_t *client;
|
||||
sock *socket;
|
||||
|
||||
Reference in New Issue
Block a user