uclient: defer read notifications to uloop timer
authorFelix Fietkau <nbd@nbd.name>
Fri, 29 Mar 2024 12:32:35 +0000 (13:32 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Mar 2024 14:09:36 +0000 (15:09 +0100)
commitb6e5548a3ecc562db4c8d5356bdfd9a3fa5e59f8
tree1703d45e358ddbfd10696bc0526ed2e6412310ea
parent488f1d52cfd2fcca8e0f3785311c247d13cb0170
uclient: defer read notifications to uloop timer

This gets rid of potentially harmful recursion when polling from within the
read callback

Signed-off-by: Felix Fietkau <nbd@nbd.name>
uclient-backend.h
uclient-http.c
uclient.c
uclient.h