[PATCH] ignore ipv6=off resolver option when no ipv6 support

Maxim Dounin mdounin at mdounin.ru
Fri Dec 16 15:07:27 UTC 2016


On Thu, Dec 15, 2016 at 05:17:30PM -0800, Thibault Charbonnier wrote:

> Please let me know how you feel about this relatively simple patch which
> aims at making the "resolver" directive more robust with regards to the
> "ipv6=" option when Nginx is built without IPv6 support.

Builds without IPv6 support is something we are phasing out.  
Starting with nginx 1.11.5 IPv6 support is automatically 
configured as long as supported by OS:

Changes with nginx 1.11.5, 11 Oct 2016:

    *) Change: the --with-ipv6 configure option was removed, now IPv6
       support is configured automatically.

So I don't think that such a change will make any difference.

Maxim Dounin

More information about the nginx-devel mailing list