On Mon, Feb 28, 2011 at 06:39:00AM -0500, speedfirst wrote:
> Hey, guys. I've implement a parse URL to IPv6 function which is
> discussed in "http://forum.nginx.org/read.php?2,177146,177190". I change
> "ngx_parse_url" and add an function "ngx_parse_host" to resolve a host
> (IP or text) to either IPv4 or IPv6 functions. And I change
> "ngx_inet_resolve_host" to let it accept IPv4/IPv6. Besides I add
> another function "ngx_inet_sock_addr" to parse string with format
> "ipv4:port" and "[ipv6]:port" to the addr structure. Seems I can't
> upload the attachment so I past them here. I've do the unit test to
> them. Hope you can take regression test and merge them to the nginx main
> If u wish, I can also past the unit test I write. (I think send via
> email would be more convenient)
1. Please use nginx-devel@ mailing list instead.
2. Please post diffs in unified format, not chunks of code.