efl_io_buffered_stream: better detection of 'finished' state.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Wed, 7 Dec 2016 19:39:01 +0000 (17:39 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Thu, 8 Dec 2016 13:40:45 +0000 (11:40 -0200)
commit994d66513f69b2feb506970d6e6fb7d204cb8f1e
tree54a424f206b3a3282f4fbd47948557ec3db37a4a
parentc33ed61e1735020953b67f1049c11cedd51950dc
efl_io_buffered_stream: better detection of 'finished' state.

When used with sockets, if it's EOS (ie: remote peer terminated the
connection), but not closed, then it would not emit 'finished' event.

Now it does.
src/lib/ecore/efl_io_buffered_stream.c