diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-07-05 10:45:19 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-08-01 17:45:11 +0200 |
commit | ce3b77ec68974696be19034905293fa8c88f70a0 (patch) | |
tree | 4cbf5ccd618e7197f5765bcc28e9852adbf236c1 /conf.d/wgt/config.xml.in | |
parent | 95ea5e667f0127b504323c3ea53805dc71e58f66 (diff) |
Improve buf allocation for curl requests
Use alloca to allocate write buffer used to send curl requests.
Better solution would be to allocate one time (using malloc) and
then realloc if needed (IOW current buf size is not suffisant).
Change-Id: I9c2ea8628025edd76964993e11d693f1b945045b
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/wgt/config.xml.in')
0 files changed, 0 insertions, 0 deletions