Parent: 192fb067986067c890a2e827292e021a62fc8d4b
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-07-16 20:10:52
Tree: 96f1abec5d4b59ab571c67889956dddb15d9a17f
mesh: Use static array to hold config server response This eliminates dynamic allocation for long responses and local arrays for short responses. Instead, aclear text response from config server is written into a static buffer and then encoded into dynamically allocated messafe buffer to use in actual transmission.
Diffstat
| M | mesh/cfgmod-server.c | | | 53 | ++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 16 insertions(+), 37 deletions(-)