I appreciate that but you could use AI_NUMERICHOST to avoid lookups.
Currently that's not the case.


On Tue, Jul 22, 2014 at 9:35 AM, Poul-Henning Kamp <[email protected]>
wrote:

> In message <CAJV_h0Ye=
> [email protected]>
> , Federico Schwindt writes:
>
> >I'm writing a vmod and I noticed std.ip() will happily resolve its
> argument
> >if a hostname is used.  Feature or bug?
>
> std.ip() does a getaddrinfo(3) on its argument by design.
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> [email protected]         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to