mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-04 20:46:37 +08:00
Do not require SSL, fix for issue 20
This commit is contained in:
parent
12e133a5e9
commit
43953782f9
@ -4429,7 +4429,7 @@ struct mg_context *mg_start(mg_callback_t user_callback, void *user_data,
|
||||
// be initialized before listening ports. UID must be set last.
|
||||
if (!set_gpass_option(ctx) ||
|
||||
#if !defined(NO_SSL)
|
||||
!set_ssl_option(ctx) ||
|
||||
(ctx->config[SSL_CERTIFICATE] != NULL && !set_ssl_option(ctx)) ||
|
||||
#endif
|
||||
!set_ports_option(ctx) ||
|
||||
#if !defined(_WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user