feat(net): 实现tcp backlog功能 (#714)

* feat:实现tcp的backlog功能
This commit is contained in:
Saga1718
2024-04-14 23:51:47 +08:00
committed by GitHub
parent 9621ab16ef
commit c719ddc631
14 changed files with 256 additions and 59 deletions

View File

@ -11,7 +11,7 @@
#define MAX_REQUEST_SIZE 1500
#define MAX_RESPONSE_SIZE 1500
// 网页根目录
#define WEB_ROOT "/wwwroot/First-WebPage-On-DragonOS"
#define WEB_ROOT "/var/www/html/"
#define EXIT_CODE 1
#define min(a, b) ((a) < (b) ? (a) : (b))