Why NGX_SOCKADDRLEN is 512?

speedfirst nginx-forum at nginx.us
Tue Mar 1 10:28:21 MSK 2011


For an IPv6, sizeof (struct sockaddr_in6) is only 28bytes, so why set
NGX_SOCKADDRLEN 512?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,179363,179363#msg-179363




More information about the nginx mailing list