Closed tobsn closed 9 years ago
based on this: https://github.com/yaoweibin/nginx_tcp_proxy_module/commit/dcdfe9eb821a79bc35bf2a5f23d4f80486a0e7a8
I edited the line: size = ngx_sock_ntop(r->connection->sockaddr, address, NGX_INET6_ADDRSTRLEN, 0); to: size = ngx_sock_ntop(r->connection->sockaddr, r->connection->socklen, address, NGX_INET6_ADDRSTRLEN, 0);
it seems to work just fine!
@tobsn thanks for report this and provide the solution. the file has been updated. thanks a lot.
nginx 1.6.2