efl_net_socket_ssl: remove TODO leftover.

There are no jobs to stop there, it was a left over since this code
was somehow derived from Efl.Loop_Fd where "read" and "write" would
constantly be called until the kernel flag was cleared, there the
callback must be removed to stop jobs, not here.
This commit is contained in:
Gustavo Sverzut Barbieri 2016-12-19 16:52:29 -02:00
parent c2aedc117a
commit db1e2b994e
1 changed files with 2 additions and 8 deletions

View File

@ -162,10 +162,7 @@ efl_net_socket_ssl_sock_can_read_changed(void *data, const Efl_Event *event EINA
efl_ref(o); /* we're emitting callbacks then continuing the workflow */
if (!efl_io_reader_can_read_get(pd->sock))
{
// TODO: stop jobs?
goto end;
}
goto end;
if (pd->did_handshake)
efl_io_reader_can_read_set(o, EINA_TRUE);
@ -185,10 +182,7 @@ efl_net_socket_ssl_sock_can_write_changed(void *data, const Efl_Event *event EIN
efl_ref(o); /* we're emitting callbacks then continuing the workflow */
if (!efl_io_writer_can_write_get(pd->sock))
{
// TODO: stop jobs?
goto end;
}
goto end;
if (pd->did_handshake)
efl_io_writer_can_write_set(o, EINA_TRUE);