forked from enlightenment/efl
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:
parent
f3d4b96cb7
commit
704d0818d7
|
@ -1578,7 +1578,7 @@ _efl_net_dialer_http_efl_io_closer_close(Eo *o, Efl_Net_Dialer_Http_Data *pd)
|
||||||
end:
|
end:
|
||||||
efl_io_writer_can_write_set(o, EINA_FALSE);
|
efl_io_writer_can_write_set(o, EINA_FALSE);
|
||||||
efl_io_reader_can_read_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);
|
efl_net_dialer_connected_set(o, EINA_FALSE);
|
||||||
pd->closed = EINA_TRUE;
|
pd->closed = EINA_TRUE;
|
||||||
efl_event_callback_call(o, EFL_IO_CLOSER_EVENT_CLOSED, NULL);
|
efl_event_callback_call(o, EFL_IO_CLOSER_EVENT_CLOSED, NULL);
|
||||||
|
|
Loading…
Reference in New Issue