comparison src/event/ngx_event_connect.h @ 6530:1d0e03db9f8e

Upstream: the "transparent" parameter of proxy_bind and friends. This parameter lets binding the proxy connection to a non-local address. Upstream will see the connection as coming from that address. When used with $remote_addr, upstream will accept the connection from real client address. Example: proxy_bind $remote_addr transparent;
author Roman Arutyunyan <arut@nginx.com>
date Fri, 18 Dec 2015 19:05:27 +0300
parents 8f038068f4bc
children e8d4c9e9682a
comparison
equal deleted inserted replaced
6529:cb8177ca0990 6530:1d0e03db9f8e
59 int rcvbuf; 59 int rcvbuf;
60 60
61 ngx_log_t *log; 61 ngx_log_t *log;
62 62
63 unsigned cached:1; 63 unsigned cached:1;
64 #if (NGX_HAVE_TRANSPARENT_PROXY)
65 unsigned transparent:1;
66 #endif
64 67
65 /* ngx_connection_log_error_e */ 68 /* ngx_connection_log_error_e */
66 unsigned log_error:2; 69 unsigned log_error:2;
67 }; 70 };
68 71