comparison auto/sources @ 5605:3a72b1805c52

Added server-side support for PROXY protocol v1 (ticket #355). Client address specified in the PROXY protocol header is now saved in the $proxy_protocol_addr variable and can be used in the realip module. This is currently not implemented for mail.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 17 Mar 2014 17:41:24 +0400
parents 00bdc9f08a16
children 777202558122
comparison
equal deleted inserted replaced
5604:22d485944c20 5605:3a72b1805c52
34 src/core/ngx_connection.h \ 34 src/core/ngx_connection.h \
35 src/core/ngx_cycle.h \ 35 src/core/ngx_cycle.h \
36 src/core/ngx_conf_file.h \ 36 src/core/ngx_conf_file.h \
37 src/core/ngx_resolver.h \ 37 src/core/ngx_resolver.h \
38 src/core/ngx_open_file_cache.h \ 38 src/core/ngx_open_file_cache.h \
39 src/core/ngx_crypt.h" 39 src/core/ngx_crypt.h \
40 src/core/ngx_proxy_protocol.h"
40 41
41 42
42 CORE_SRCS="src/core/nginx.c \ 43 CORE_SRCS="src/core/nginx.c \
43 src/core/ngx_log.c \ 44 src/core/ngx_log.c \
44 src/core/ngx_palloc.c \ 45 src/core/ngx_palloc.c \
65 src/core/ngx_spinlock.c \ 66 src/core/ngx_spinlock.c \
66 src/core/ngx_cpuinfo.c \ 67 src/core/ngx_cpuinfo.c \
67 src/core/ngx_conf_file.c \ 68 src/core/ngx_conf_file.c \
68 src/core/ngx_resolver.c \ 69 src/core/ngx_resolver.c \
69 src/core/ngx_open_file_cache.c \ 70 src/core/ngx_open_file_cache.c \
70 src/core/ngx_crypt.c" 71 src/core/ngx_crypt.c \
72 src/core/ngx_proxy_protocol.c"
71 73
72 74
73 REGEX_MODULE=ngx_regex_module 75 REGEX_MODULE=ngx_regex_module
74 REGEX_DEPS=src/core/ngx_regex.h 76 REGEX_DEPS=src/core/ngx_regex.h
75 REGEX_SRCS=src/core/ngx_regex.c 77 REGEX_SRCS=src/core/ngx_regex.c