summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-19 16:52:29 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-19 16:52:29 -0200
commitdb1e2b994ef75163dcd8286ae8b9649d5fb7217e (patch)
tree513859c0dba2679a189b73be1b013d0983009884 /src/lib/ecore_con
parentc2aedc117ad9271c0ef4e68bbfd3873d9137ed2d (diff)
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.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_socket_ssl.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/lib/ecore_con/efl_net_socket_ssl.c b/src/lib/ecore_con/efl_net_socket_ssl.c
index c776ad40a5..63252b90e8 100644
--- a/src/lib/ecore_con/efl_net_socket_ssl.c
+++ b/src/lib/ecore_con/efl_net_socket_ssl.c
@@ -162,10 +162,7 @@ efl_net_socket_ssl_sock_can_read_changed(void *data, const Efl_Event *event EINA
162 efl_ref(o); /* we're emitting callbacks then continuing the workflow */ 162 efl_ref(o); /* we're emitting callbacks then continuing the workflow */
163 163
164 if (!efl_io_reader_can_read_get(pd->sock)) 164 if (!efl_io_reader_can_read_get(pd->sock))
165 { 165 goto end;
166 // TODO: stop jobs?
167 goto end;
168 }
169 166
170 if (pd->did_handshake) 167 if (pd->did_handshake)
171 efl_io_reader_can_read_set(o, EINA_TRUE); 168 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
185 efl_ref(o); /* we're emitting callbacks then continuing the workflow */ 182 efl_ref(o); /* we're emitting callbacks then continuing the workflow */
186 183
187 if (!efl_io_writer_can_write_get(pd->sock)) 184 if (!efl_io_writer_can_write_get(pd->sock))
188 { 185 goto end;
189 // TODO: stop jobs?
190 goto end;
191 }
192 186
193 if (pd->did_handshake) 187 if (pd->did_handshake)
194 efl_io_writer_can_write_set(o, EINA_TRUE); 188 efl_io_writer_can_write_set(o, EINA_TRUE);