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>
Loading
Please sign in to comment