MG_DISABLE_POPEN -> MG_ENABLE_HTTP_SSI_EXEC

PUBLISHED_FROM=55b2b70a688234f6ebcfba37eced20ee5d5387a1
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2016-10-16 23:21:56 +00:00
1 parent e928f36456
commit 1dae0373c8
3 files changed
+10 -14

No files matched your search

+4 -8
View File
@@ -464,7 +464,6 @@ void mg_lwip_set_keepalive_params(struct mg_connection *nc, int idle,
#define MG_SOCKET_SIMPLELINK 1
#define MG_DISABLE_SOCKETPAIR 1
#define MG_DISABLE_SYNC_RESOLVER 1
#define MG_DISABLE_POPEN 1
/*
* CC3100 SDK and STM32 SDK include headers w/out path, just like
@@ -520,7 +519,6 @@ int inet_pton(int af, const char *src, void *dst);
#define MG_SOCKET_SIMPLELINK 1
#define MG_DISABLE_SOCKETPAIR 1
#define MG_DISABLE_SYNC_RESOLVER 1
#define MG_DISABLE_POPEN 1
/* Only SPIFFS supports directories, SLFS does not. */
#if defined(CC3200_FS_SPIFFS) && !defined(MG_ENABLE_DIRECTORY_LISTING)
@@ -657,8 +655,6 @@ struct dirent *readdir(DIR *dir);
#define MG_SOCKET_SIMPLELINK 1
#define MG_DISABLE_SOCKETPAIR 1
#define MG_DISABLE_SYNC_RESOLVER 1
#define MG_DISABLE_POPEN 1
#define MG_DISABLE_DAV 1
/* Amalgamated: #include "common/platforms/simplelink/cs_simplelink.h" */
@@ -1389,10 +1385,6 @@ const char *c_strnstr(const char *s, const char *find, size_t slen);
#define MG_DISABLE_PFS 0
#endif
#ifndef MG_DISABLE_POPEN
#define MG_DISABLE_POPEN 0
#endif
#ifndef MG_DISABLE_RESOLVER
#define MG_DISABLE_RESOLVER 0
#endif
@@ -1458,6 +1450,10 @@ const char *c_strnstr(const char *s, const char *find, size_t slen);
#define MG_ENABLE_HTTP_SSI MG_ENABLE_FILESYSTEM
#endif
#ifndef MG_ENABLE_HTTP_SSI_EXEC
#define MG_ENABLE_HTTP_SSI_EXEC 0
#endif
#ifndef MG_ENABLE_HTTP_STREAMING_MULTIPART
#define MG_ENABLE_HTTP_STREAMING_MULTIPART 0
#endif