Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: How can i get ip and port under forward proxy

$
0
0
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?

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>