mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-08 18:13:40 +08:00

Comments in headers are changed a bit: removed adoc-specific stuff, markdown is used instead PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
12 lines
584 B
Markdown
12 lines
584 B
Markdown
---
|
|
title: Tunables
|
|
---
|
|
|
|
- `MG_MALLOC`, `MG_CALLOC`, `MG_REALLOC`, `MG_FREE` allow to use custom
|
|
memory allocator, e.g. `-DMG_MALLOC=my_malloc`
|
|
- `MG_USE_READ_WRITE` when set replaces calls to `recv` with `read` and `send` with `write`,
|
|
thus enabling to add any kind of file descriptor (files, serial devices) to an event manager.
|
|
- `MG_SSL_CRYPTO_MODERN`, `MG_SSL_CRYPTO_OLD` - choose either "Modern" or "Old" ciphers
|
|
instead of the default "Intermediate" setting.
|
|
See [this article](https://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations) for details.
|