Split TLS files and introduce MG_ENABLE_CUSTOM_TLS

This commit is contained in:
Sergey Lyubka committed 2021-12-14 12:42:41 +00:00
1 parent 84f3fb0ba5
commit 755bf3c412
13 files changed
+496 -445

No files matched your search

+8
View File
@@ -12,6 +12,10 @@
#define MG_ENABLE_OPENSSL 0
#endif
#ifndef MG_ENABLE_CUSTOM_TLS
#define MG_ENABLE_CUSTOM_TLS 0
#endif
#ifndef MG_ENABLE_SSI
#define MG_ENABLE_SSI 1
#endif
@@ -59,6 +63,10 @@
#define MG_MAX_HTTP_HEADERS 40
#endif
#ifndef MG_HTTP_INDEX
#define MG_HTTP_INDEX "index.html"
#endif
#ifndef MG_PATH_MAX
#define MG_PATH_MAX PATH_MAX
#endif