aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/common.h b/src/net/common.h
index fbafb58..dfac2e5 100644
--- a/src/net/common.h
+++ b/src/net/common.h
@@ -25,9 +25,6 @@
#define HTTP_BUFFER_SIZE 4098
#define max_content_length 200000
-static int ports[65535] = { 0 };
-static parray_t* paths = NULL;
-
enum file_status {
_ignore, BARRIER_READ, FILE_HEADER, FILE_BODY, NORMAL
};
@@ -43,6 +40,7 @@ typedef struct {
int port;
lua_State* L;
struct sockaddr_in cli;
+ parray_t* paths;
} thread_arg_struct;
struct lchar {