chore: increase default buffer sizes and add sendfile support with edge-triggered epoll

This commit is contained in:
2025-11-28 02:05:51 +00:00
parent 16db22b3de
commit 0aed19bac8
21 changed files with 542 additions and 288 deletions
+2 -1
View File
@@ -63,7 +63,8 @@
#define NWEDAV_MAX_HEADERS 100
#define NWEDAV_MAX_HEADER_SIZE 65536
#define NWEDAV_MAX_URI_LENGTH 8192
#define NWEDAV_DEFAULT_BUFFER_SIZE 8192
#define NWEDAV_DEFAULT_BUFFER_SIZE 16384
#define NWEDAV_WRITE_BUFFER_SIZE 65536
#define NWEDAV_MAX_REQUEST_SIZE (100 * 1024 * 1024)
#define NWEDAV_DEFAULT_TIMEOUT 300
#define NWEDAV_DEFAULT_KEEPALIVE 60