]> git.kaiwu.me - nginx.git/commit
Realip: take client port from PROXY protocol header.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 23 May 2016 15:44:22 +0000 (18:44 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 23 May 2016 15:44:22 +0000 (18:44 +0300)
commit19140c8c4f7f16747df4a7e3bf4299a6a8d75a81
tree44aaec7ea173a583a49d176ddb31863d39edcefb
parent97495b662f378bad2a9df05d4c4b4e0977b1d309
Realip: take client port from PROXY protocol header.

Previously, when the client address was changed to the one from
the PROXY protocol header, the client port ($remote_port) was
reset to zero.  Now the client port is also changed to the one
from the PROXY protocol header.
src/http/modules/ngx_http_realip_module.c