Skip to content
Commit e7a3d01d authored by Leandro Pereira's avatar Leandro Pereira Committed by Maureen Helm
Browse files

samples: net: dumb_http_server: Handle recv() errors



The recv() call can return errors, so handle them before reading the
received byte.  Unrecoverable errors will just trigger the client
socket to be closed as usual.

Coverity-ID: 182778
Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 33aa9053
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment