[NTLK] [ANN] mbedTLS 2.16.6 for NewtonOS > Einstein > Network

Matthias Melcher m.melcher at robowerk.de
Fri Jun 19 19:39:35 EDT 2020



> On Jun 19, 2020, at 22:47, Paul Guyot <pguyot at kallisys.net> wrote:
> 
>> Date: Fri, 19 Jun 2020 16:21:19 +0200
>> From: Sylvain Pilet <sylvain at pilet.net>
>> 
>> Paul,
>> 
>> In your first message about mbedTLS you mentioned some bugs in Einstein's network part, which you had to fix in order to be able to test mbedTLS on Einstein. My question is, what did you fix in Einstein's network part? Which is, as we all found out, very limited and truncates a lot of the traffic. As for example when you surf on Newtscape, pages with too long code (html, css...) don't load completely. Will your research and solutions be integrated soon into Einstein?  
> 
> Exactly. There was a couple of bugs in Einstein including one where network traffic was truncated because the code called recv(2) which truncates data instead of read(2).
> I'm not sure how this translates on Windows, I only ran it on MacOS X.
> The fix is on master branch on GitHub and I guess Matthias will merge it eventually in his builds.

Yes, I was unaware the recv truncates data. I will merge your fixes into the next version of my branch. Thanks so much for having the patience to find this and other bugs in my code!

 - Matthias


More information about the NewtonTalk mailing list