forked from enlightenment/efl
more agressive buffering in ecore_con. basically allow the main loop's select
fo the flushing. this si good for ssl! :) also saves on syscalls :) SVN revision: 9986
This commit is contained in:
parent
ef06c2b3c7
commit
c14dcbb000
|
@ -532,7 +532,6 @@ ecore_con_server_send(Ecore_Con_Server *svr, void *data, int size)
|
||||||
svr->write_buf_size = size;
|
svr->write_buf_size = size;
|
||||||
memcpy(svr->write_buf, data, size);
|
memcpy(svr->write_buf, data, size);
|
||||||
}
|
}
|
||||||
_ecore_con_server_flush(svr);
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -571,7 +570,6 @@ ecore_con_client_send(Ecore_Con_Client *cl, void *data, int size)
|
||||||
cl->buf_size = size;
|
cl->buf_size = size;
|
||||||
memcpy(cl->buf, data, size);
|
memcpy(cl->buf, data, size);
|
||||||
}
|
}
|
||||||
_ecore_con_client_flush(cl);
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue