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:
http://forum.nginx.org/read.php?2,245532,245532#msg-245532

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs