New ngx_resolver changes breaks modules

While back porting ngx_resolver changes by Ruslan E. I get these
errors:

error C2039: ‘type’ : is not a member of ‘ngx_resolver_ctx_s’
error C2440: ‘=’ : cannot convert from ‘ngx_addr_t’ to ‘ULONG’

Has this been intentional or did a glitch happened throughout the
changes ?

Posted at Nginx Forum:

On Sat, Dec 14, 2013 at 01:11:45PM -0500, itpp2012 wrote:

While back porting ngx_resolver changes by Ruslan E. I get these
errors:

error C2039: ‘type’ : is not a member of ‘ngx_resolver_ctx_s’
error C2440: ‘=’ : cannot convert from ‘ngx_addr_t’ to ‘ULONG’

Has this been intentional or did a glitch happened throughout the changes ?

The API changes were minimal and intentional. The “type” field
no longer exists, and the “addrs” array now holds ngx_addr_t’s.