Add preliminary support for options

This commit is contained in:
Kamil Trzcinski
2022-04-05 16:52:12 +02:00
parent 4ac1a8dbe5
commit 97055565b5
6 changed files with 153 additions and 19 deletions

View File

@ -29,7 +29,7 @@ typedef struct http_worker_s {
} http_worker_t;
typedef struct http_server_options_s {
int listen_port;
int port;
int maxcons;
} http_server_options_t;