Skip to content
Commit ed796751 authored by Juha Ylinen's avatar Juha Ylinen Committed by Daniel DeGrasse
Browse files

net: http_client: Fix handling of POLLHUP

POLLHUP event may be returned even if there is still data to read
and POLLIN is set. To ensure all data is consumed, check for
POLLHUP after handling POLLIN.

https://man7.org/linux/man-pages/man2/poll.2.html



Signed-off-by: default avatarJuha Ylinen <juha.ylinen@nordicsemi.no>
parent bd2f4ef9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment