forked from enlightenment/efl
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:
parent
c2aedc117a
commit
db1e2b994e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue