mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
More docstrings
This commit is contained in:
1 parent
35c1b9523f
commit
e923b413ae
5 files changed
+8
-2
No files matched your search
@@ -1434,6 +1434,7 @@ extern const struct mg_mem_file mg_packed_files[]; // Generated by "pack" util
|
||||
|
||||
|
||||
|
||||
|
||||
#if MG_ENABLE_ASSERT
|
||||
#include <assert.h>
|
||||
#elif !defined(assert)
|
||||
@@ -1907,6 +1908,7 @@ void mg_http_serve_ssi(struct mg_connection *c, const char *root,
|
||||
// TLS / Security
|
||||
|
||||
|
||||
// Available TLS backend libraries
|
||||
#define MG_TLS_NONE 0 // No TLS support
|
||||
#define MG_TLS_MBED 1 // mbedTLS
|
||||
#define MG_TLS_OPENSSL 2 // OpenSSL
|
||||
@@ -1915,6 +1917,8 @@ void mg_http_serve_ssi(struct mg_connection *c, const char *root,
|
||||
#define MG_TLS_CUSTOM 4 // Custom implementation
|
||||
|
||||
#ifndef MG_TLS
|
||||
// mongoose_config.h setting. Set MG_TLS to one of the MG_TLS_* values above to
|
||||
// select a TLS backend. Defaults to MG_TLS_NONE (no TLS).
|
||||
#define MG_TLS MG_TLS_NONE
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user