projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uclient: defer read notifications to uloop timer
[project/uclient.git]
/
uclient-http.c
diff --git
a/uclient-http.c
b/uclient-http.c
index 935d50f413c03883bb3c3c923e850624b23913f2..83c268f239137423741eeac8704eba64a3d2c36c 100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-780,9
+780,7
@@
static void __uclient_notify_read(struct uclient_http *uh)
if (uh->state == HTTP_STATE_RECV_DATA) {
/* Now it's uclient user turn to read some data */
uloop_timeout_cancel(&uc->connection_timeout);
-
- if (uc->cb->data_read)
- uc->cb->data_read(uc);
+ uclient_backend_read_notify(uc);
}
}