summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-25 13:16:51 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-26 11:42:11 +0100
commitb7cd3f4bfd8b1a002396c1c919d1b5e8f96dc47c (patch)
treed500f2717e5389931d76897c43805790c46928a1 /src/lib/ecore_con
parent5a37aebc32f6b1bbca14d7bd9751de98b0614f13 (diff)
efl_net_dialer_websocker: set cannot be called here
the state of eos is decided weather on internals, therefore calling set on it does not work, and should never do anything. ref T5719 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7777
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_websocket.c6
-rw-r--r--src/lib/ecore_con/efl_net_dialer_websocket.eo2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_websocket.c b/src/lib/ecore_con/efl_net_dialer_websocket.c
index 30545f2..01f4418 100644
--- a/src/lib/ecore_con/efl_net_dialer_websocket.c
+++ b/src/lib/ecore_con/efl_net_dialer_websocket.c
@@ -1300,6 +1300,12 @@ _efl_net_dialer_websocket_efl_io_reader_can_read_set(Eo *o, Efl_Net_Dialer_Webso
1300 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 1300 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL);
1301} 1301}
1302 1302
1303EOLIAN static void
1304_efl_net_dialer_websocket_efl_io_reader_eos_set(Eo *obj EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd EINA_UNUSED, Eina_Bool is_eos EINA_UNUSED)
1305{
1306 /* NOP Does not need to be implemented, someone else cannot tell this class to be at the eos. This is done internally and decided within the state of the websocket.*/
1307}
1308
1303EOLIAN static Eina_Bool 1309EOLIAN static Eina_Bool
1304_efl_net_dialer_websocket_efl_io_reader_eos_get(const Eo *o, Efl_Net_Dialer_Websocket_Data *pd) 1310_efl_net_dialer_websocket_efl_io_reader_eos_get(const Eo *o, Efl_Net_Dialer_Websocket_Data *pd)
1305{ 1311{
diff --git a/src/lib/ecore_con/efl_net_dialer_websocket.eo b/src/lib/ecore_con/efl_net_dialer_websocket.eo
index f7a1812..dfd89a1 100644
--- a/src/lib/ecore_con/efl_net_dialer_websocket.eo
+++ b/src/lib/ecore_con/efl_net_dialer_websocket.eo
@@ -325,7 +325,7 @@ class Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Net.Dial
325 Efl.Net.Socket.address_remote { get; set; } 325 Efl.Net.Socket.address_remote { get; set; }
326 Efl.Io.Reader.read; 326 Efl.Io.Reader.read;
327 Efl.Io.Reader.can_read { get; set; } 327 Efl.Io.Reader.can_read { get; set; }
328 Efl.Io.Reader.eos { get; } 328 Efl.Io.Reader.eos { get; set; }
329 Efl.Io.Writer.write; 329 Efl.Io.Writer.write;
330 Efl.Io.Writer.can_write { get; set; } 330 Efl.Io.Writer.can_write { get; set; }
331 Efl.Io.Closer.close; 331 Efl.Io.Closer.close;