Hello,
I'm trying to update from lwip 2.1.2 to newest stable 2.2.0, and I'm
seeing some changes in the mDNS part. It seems with the newer version
additional timeouts are used, and accordingly MEMP_NUM_SYS_TIMEOUT would
have to be increased. In mdns.c, I now find the comment
* You need to increase MEMP_NUM_SYS_TIMEOUT by one if you use MDNS!
at the top. But increasing the value by one was not sufficient, I ran
into an assertion in timeouts.c:190. Increasing MEMP_NUM_SYS_TIMEOUT by
3 seems to work, but it doesn't feel right to just increase until it works.
I also found what seems to be the mail exchange about the pull request,
where it's stated (https://savannah.nongnu.org/patch/?9523#comment18):
> Because a lot of different timeouts are needed, you need to increase
the MEMP_NUM_SYS_TIMEOUT with 8.
Is this the correct value? Or is there any other documentation on how
many additional timeouts are required?
I also wonder if the calculation LWIP_NUM_SYS_TIMEOUT_INTERNAL could
already take this into account, currently it seems LWIP_MDNS_RESPONDER
is not considered there.
Kind regards,
Karsten
--
Mit freundlichen Grüßen / Best Regards
Dr. Karsten Koop
Abteilungsleiter Softwareentwicklung
Solarwatt Innovation GmbH
An der Hasenkaule 10
D-50354 Hürth
<https://www.linkedin.com/company/607698><https://www.facebook.com/Solarwatt.de><https://www.youtube.com/user/SOLARWATT11><https://www.instagram.com/solarwatt_group/>
Geschäftsführung: Detlef Neuhaus, Dr. Olaf Wollersheim, Gilbert Schütz
AG Köln HRB 71813 | UST-ID Nr. DE 263116666
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users