The official NGINX Open Source repository.
Go to file
Ruslan Ermilov 8e5dc474e5 New function ngx_http_get_forwarded_addr() to look up real client address.
On input it takes an original address, string in the X-Forwarded-For format
and its length, list of trusted proxies, and a flag indicating to perform
the recursive search.  On output it returns NGX_OK and the "deepest" valid
address in a chain, or NGX_DECLINED.  It supports AF_INET and AF_INET6.
Additionally, original address and/or proxy may be specified as AF_UNIX.
2012-05-14 12:27:41 +00:00
auto Configure: fixed msghdr.msg_control test on 64bit platforms. 2012-03-28 12:38:03 +00:00
conf Added the HTTPS fastcgi_param to fastcgi.conf. 2011-12-25 19:15:56 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.2.0-RELEASE 2012-04-23 13:06:47 +00:00
misc Update openssl used for win32 builds. 2012-04-23 11:05:21 +00:00
src New function ngx_http_get_forwarded_addr() to look up real client address. 2012-05-14 12:27:41 +00:00
.hgtags release-1.2.0 tag 2012-04-23 13:07:07 +00:00