efl_net_dialer_http: emit eos only at the end.

http copiers were never finishing since eos was being reset to FALSE
before the I/O copier job executed.
This commit is contained in:
Gustavo Sverzut Barbieri 2016-09-12 12:46:05 -03:00
parent f3d4b96cb7
commit 704d0818d7
1 changed files with 1 additions and 1 deletions

View File

@ -1578,7 +1578,7 @@ _efl_net_dialer_http_efl_io_closer_close(Eo *o, Efl_Net_Dialer_Http_Data *pd)
end:
efl_io_writer_can_write_set(o, EINA_FALSE);
efl_io_reader_can_read_set(o, EINA_FALSE);
efl_io_reader_eos_set(o, EINA_FALSE);
efl_io_reader_eos_set(o, EINA_TRUE);
efl_net_dialer_connected_set(o, EINA_FALSE);
pd->closed = EINA_TRUE;
efl_event_callback_call(o, EFL_IO_CLOSER_EVENT_CLOSED, NULL);