ustream: set the right EOF flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
766ff98050
commit
bc6a230b50
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ static void ustream_fd_read_pending(struct ustream_fd *sf, bool *more)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!len) {
|
if (!len) {
|
||||||
sf->fd.eof = true;
|
s->eof = true;
|
||||||
ustream_state_change(s);
|
ustream_state_change(s);
|
||||||
ustream_fd_set_uloop(s, false);
|
ustream_fd_set_uloop(s, false);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue