mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-09 16:52:09 +07:00
747 B
747 B
title
| title |
|---|
| Tunables |
MG_MALLOC,MG_CALLOC,MG_REALLOC,MG_FREEallow you to a use custom memory allocator, e.g.-DMG_MALLOC=my_mallocMG_USE_READ_WRITEwhen set replaces calls torecvwithreadandsendwithwrite, 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 for details.MG_USER_FILE_FUNCTIONSallow you to use custom file operation, by defining you ownmg_stat,mg_fopen,mg_open,mg_freadandmg_fwritefunctions