http: add --http-listen=<ip4>
, and listen by default on 127.0.0.1
(#81)
Co-authored-by: AndrolGenhald <AndrolGenhald@gmail.com>
This commit is contained in:
@ -26,6 +26,7 @@ typedef struct http_method_s {
|
||||
} http_method_t;
|
||||
|
||||
typedef struct http_server_options_s {
|
||||
char listen[512];
|
||||
unsigned port;
|
||||
unsigned maxcons;
|
||||
} http_server_options_t;
|
||||
|
Reference in New Issue
Block a user