uclient: add function for getting the amount of pending read/write data
authorFelix Fietkau <nbd@nbd.name>
Thu, 4 Apr 2024 18:45:16 +0000 (20:45 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 4 Apr 2024 18:45:18 +0000 (20:45 +0200)
commitddb18d2657578bb39ffad4795cedee215f9b36b0
tree46ea74d5c76f0b32f3f537b0e5dd455b0041d0e9
parente611e6d0ff0ba31070abacdb53037d3e9a4115a6
uclient: add function for getting the amount of pending read/write data

This can be used to throttle writes when doing large POST requests

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