]> git.kaiwu.me - nginx.git/commit
Mail: parsing of the PROXY protocol from clients.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 5 Mar 2021 14:16:24 +0000 (17:16 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 5 Mar 2021 14:16:24 +0000 (17:16 +0300)
commit1fce224f01b5a9b503315bd24e99421e5ca5bd7c
tree60c1787f169da6478225da4666410484b404df85
parent72dcd5141b32fccdcd241cc031972f51874ceb41
Mail: parsing of the PROXY protocol from clients.

Activated with the "proxy_protocol" parameter of the "listen" directive.
Obtained information is passed to the auth_http script in Proxy-Protocol-Addr,
Proxy-Protocol-Port, Proxy-Protocol-Server-Addr, and Proxy-Protocol-Server-Port
headers.
src/mail/ngx_mail.c
src/mail/ngx_mail.h
src/mail/ngx_mail_auth_http_module.c
src/mail/ngx_mail_core_module.c
src/mail/ngx_mail_handler.c