efl_io_copier: do not ERROR on EAGAIN.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 28 Oct 2016 23:11:17 +0000 (21:11 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Mon, 31 Oct 2016 21:38:22 +0000 (19:38 -0200)
commit9a13816fb3580d3d0313abc12707f9dc1248592d
tree43e95e65c603beb133bc4ae9264a3854b4612664
parentf8a5290798df8682d301afce292739214baaa38c
efl_io_copier: do not ERROR on EAGAIN.

As done by write, if we try to read and we can't, then don't give
up. This happens with streams that wraps another, like SSL, may report
there are data to read, but once you try it may not result in enough
data to upper layers.
src/lib/ecore/efl_io_copier.c