<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Once again "git submodule update":<br>
<blockquote type="cite">
<p>Found & fixed a bug in mongoose that kept getaddrinfo()
from actually being used. <a class="user-mention"
data-hovercard-user-id="26347921"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://github.com/Marvin8228">@Marvin8228</a> can you
please try again? Update is on my server.</p>
</blockquote>
<br>
<div class="moz-cite-prefix">Am 27.04.2018 um 21:32 schrieb Michael
Balzer:<tt><br>
</tt></div>
<blockquote type="cite"
cite="mid:5b0b006b-6bea-85a8-6c6c-5e3142681fff@expeedo.de">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<tt>This switches mongoose to use LWIP getaddrinfo() as it is
superior
</tt>
<div class="commit-desc" style="box-sizing: border-box; display:
block; margin: -5px 0px 10px; color: rgb(36, 41, 46); font-size:
14px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;"><tt>to the mongoose resolver.</tt></div>
</blockquote>
<br>
This is not the whole truth. The advantage of the mongoose resolver
over getaddrinfo() is asynchronous execution. mg_connect() now
blocks the event loop if getaddrinfo() blocks.<br>
<br>
I'm not sure if we encounter situations where a) getaddrinfo()
blocks and b) this actually is a problem. If we do, we can return to
using the mongoose resolver and add a call to mg_set_nameserver() in
ovms_netmanager to set it to the main DNS of the current default
interface (replacing the Google default DNS).<br>
<br>
Regards,<br>
Michael<br>
<br>
<pre class="moz-signature" cols="160">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>