On Mon, Apr 10, 2017 at 11:48 AM, Mike Blumenkrantz
<[email protected]> wrote:
> I can confirm that the specific case cited in that ticket is now fixed, but
> I ran some other tests from azy and they are now failing when they did not
> used to fail. I've requested some regression testing from another azy user,
> and I hope to have these results within a day or so.

okay, let me know the test.


> On a side note, I don't think it's reasonable to say that the behavioral
> discrepancies here are "legacy" and thus imply that it's a corner case.
> This is, afaik, the most widely deployed means of using ecore-con, and it
> is currently used/shipped on thousands of devices.

during efl.net development I changed the whole working model,
splitting out the buffering to an independent component that could be
used by non-network stuff (like: stdin, stdout, stderr, files, pipes,
exec...), focusing on a single synchronous read/write API that is
similar to read(2) and write(2) + select(2). These independent
components such as efl.io.copier will monitor readiness and read/write
data, caring about buffers sizes, line delimiter, etc. It also makes
uniform access to all technologies, be websocket, http, udp, tcp,
unix, file...

Then the ecore_con API was recreated on top of that as
ecore_con_legacy.c. The test suite passed, human inspection (mine)
says it respects what was described in Ecore_Con.h... but there are
some subtle behavior that was allowed yet not tested/documented.

This old API will be deprecated one Eo gets out of beta, thus the term "legacy".

Whenever that happens, ping me so I can help to convert Azy to the new
API and Eo in general... during the Efl.Net development we settled on
some items, like make all errors Eina_Error (ie: you have
Azy_Client_Error)... That's if you want to expose an Eo API, of
course.. in every case, during Azy port to new API you may have some
ideas on offering some way to integrate high level protocol parsers on
top of Efl.Io.Buffered_Stream


-- 
Gustavo Sverzut Barbieri
--------------------------------------
Mobile: +55 (16) 99354-9890

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to