MG_DISABLE_HTTP(|_SSI|_WEBSOCKET) -> MG_ENABLE$1

Factor out SSI and WS code from http.c

HTTP + WS are enabled by default, but MQTT is built without HTTP
support as a compilation test.

PUBLISHED_FROM=925ed9a55abb193ed7deac1c9675a0e5b35dca50
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2016-10-14 17:06:19 +00:00
1 parent fcb94a1742
commit e928f36456
8 files changed
+680 -649

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
PROG = mqtt_client
MODULE_CFLAGS = -DMG_ENABLE_MQTT
MODULE_CFLAGS = -DMG_ENABLE_MQTT -DMG_ENABLE_HTTP=0
SSL_LIB=openssl
include ../examples.mk