More workers
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
#include "lib/http.h"
|
||||
#include "lib/uri.h"
|
||||
#include "lib/config.h"
|
||||
#include "lib/fastcgi.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <maxminddb.h>
|
||||
@ -36,7 +37,7 @@ typedef struct {
|
||||
char *addr, *s_addr;
|
||||
unsigned char in_use: 1, s_keep_alive:1, c_keep_alive:1;
|
||||
char cc[3], host[256];
|
||||
char req_host[256];
|
||||
char req_host[256], err_msg[256];
|
||||
char log_prefix[512];
|
||||
char _c_addr[INET6_ADDRSTRLEN + 1], _s_addr[INET6_ADDRSTRLEN + 1];
|
||||
struct timespec begin, end;
|
||||
@ -44,10 +45,13 @@ typedef struct {
|
||||
http_res res;
|
||||
http_uri uri;
|
||||
http_status_ctx status;
|
||||
http_status custom_status;
|
||||
int use_fastcgi, use_proxy;
|
||||
host_config_t *conf;
|
||||
FILE *file;
|
||||
long content_length;
|
||||
fastcgi_cnx_t fcgi_cnx;
|
||||
char msg_buf[8192], msg_content[1024];
|
||||
} client_ctx_t;
|
||||
|
||||
extern volatile sig_atomic_t server_alive;
|
||||
|
Reference in New Issue
Block a user