commit | e81b9043c50351d167a2b288801b972cfa856336 | [log] [tgz] |
---|---|---|
author | Leandro Pereira <leandro.pereira@intel.com> | Fri May 11 09:54:36 2018 -0700 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Mon May 14 08:16:46 2018 +0300 |
tree | 68ce9e2c73a00919f25e161d60007a0b54e9887b | |
parent | a869f875ec9ccdba6e6b9a951b885d9bb1c7b7c0 [diff] |
net: websocket: Simplify building of responses Rewrite prepare_reply() to reduce unnecessary string copies and calls to net_pkt_append_all(). Also reduces some of the tricky string length calculations. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>