commit 9f221a6
uint
·
2026-01-30 16:55:16 +0000 UTC
parent de59ca3
move HTTP_*, LISTEN_BACKLOG: config.h->http.h
2 files changed,
+6,
-6
+0,
-6
1@@ -10,12 +10,6 @@ extern bool verbose_log;
2 extern int server_port;
3 extern int http_io_timeout;
4
5-enum {
6- HTTP_REQ_MAX = 8192,
7- HTTP_RESP_MAX = 2048,
8- LISTEN_BACKLOG = 64,
9-};
10-
11 void config_load(void);
12
13 #endif /* CONFIG_H */
+6,
-0
1@@ -26,6 +26,12 @@ enum {
2 RANGE_UNSAT = -2, /* unsatisfiable (=> 416) */
3 };
4
5+enum {
6+ HTTP_REQ_MAX = 8192,
7+ HTTP_RESP_MAX = 8192,
8+ LISTEN_BACKLOG = 64,
9+};
10+
11 int http_handle(int c);
12
13 #endif /* HTTP_H */