mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-24 11:54:49 +00:00
MG_ARCH_RTX nits
This commit is contained in:
1 parent
5458252e4a
commit
0294603dfc
6 files changed
+15
-4
No files matched your search
@@ -244,6 +244,11 @@ struct mg_connection {
|
||||
mg_http_printf_chunk(c, "%s", "bar");
|
||||
mg_http_printf_chunk(c, ""); // Don't forget the last empty chunk
|
||||
```
|
||||
- On embedded environment, make sure that serving task has enough stack:
|
||||
give it 2k for simple RESTful serving, or 4-8k for complex dynamic/static
|
||||
serving. In certain environments, it is necessary to adjust heap size, too.
|
||||
By default, IO buffer allocation size `MG_IO_SIZE` is 2048: change it to 512
|
||||
to trim run-time per-connection memory consumption.
|
||||
|
||||
## Build options
|
||||
|
||||
|
||||
Reference in new issue
Block a user