Fix stalling of reading with the limited buffer size on *nix
When the read buffer with a limited size is used, the read notifier
becomes disabled when the buffer completely is filled. The notifier
should be enabled again when several bytes were read from the read
buffer.
Change-Id: I723253fb153a1144009579141fa0ce1aca93b648
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
| commit | 23c89518d1404a4db570fe41f3cc04451703e16f |
| parent | a1655d6ccf3f82508286b471819cc5e5cb64ff44 |
| author | Denis Shienkov <denis.shienkov@gmail.com> |
| committer | Denis Shienkov <denis.shienkov@gmail.com> |
| commit time | Thu, 1 Oct 2015 13:20:36 +0000 |