Skip to content
Commit d6083181 authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

net: websocket: Make use of any leftover data after HTTP processing



In case HTTP client read out more data from a socket that it processed
it will indicate there is leftover data in the receive buffer available.
Make use of it at the websocket level, so that no data is lost. As we
reuse the same receive buffer in this case, it's only needed to update
the count variable to indicate how many bytes are available.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 4a85e470
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment