How can i get ip and port under forward proxy

honwel nginx-forum at
Fri Jun 7 01:29:36 UTC 2013

Thanks, i add a line " len = NGX_SOCKADDRLEN ", then , it is ok!  thanks
very much.
but i want to know , why?  (struct sockaddr *) &sa and &len as are input
paramter, why len need initialized?

Posted at Nginx Forum:,239883,239939#msg-239939

More information about the nginx mailing list