[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9427] Add gethostbyname hook
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #9427] Add gethostbyname hook |
Date: |
Thu, 19 Oct 2017 13:49:49 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 |
Follow-up Comment #6, patch #9427 (project lwip):
> LWIP_HOOK_EXTERNAL_DNS_RESOLVER
I'm not sure this really helps to see it only works from API threads, not from
callback apps calling dns_gethostbyname()...
Including "netdb" might help.
Thinking further, we're limited to API threads here, so callback APPs are left
out. Bad enough. We still might want to include all sequential resolve APIs
though. At least the ones in netdb.c.
Why don't you name it "LWIP_HOOK_NETDB_EXTERNAL_RESOLVE" and include it in
gethostbyname_r() and getaddrinfo(), too?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9427>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/