mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-07 11:41:26 +08:00
12437fd7fe
PUBLISHED_FROM=e9a4e5c7b4a1d03b93a2a79e29de19e60e919929
12 lines
477 B
Markdown
12 lines
477 B
Markdown
---
|
|
title: Disabling flags
|
|
---
|
|
|
|
- `MG_DISABLE_HTTP_WEBSOCKET` disable HTTP + WebSocket protocol support
|
|
- `MG_DISABLE_HTTP_DIGEST_AUTH` disable HTTP Digest (MD5) authorisation support
|
|
- `MG_DISABLE_MQTT` disable MQTT support
|
|
- `MG_DISABLE_SHA1` disable SHA1 support (used by WebSocket)
|
|
- `MG_DISABLE_MD5` disable MD5 support (used by HTTP auth)
|
|
- `MG_DISABLE_SOCKETPAIR` disable `mg_broadcast()` API
|
|
- `MG_DISABLE_HTTP_KEEP_ALIVE` useful for embedded systems to save resources
|