On 22 Nov 2011, at 22:35, Graham Leggett wrote: > On 22 Nov 2011, at 11:45 PM, Nick Kew wrote: > >> Huh? Surely tcp details belong to the connection, and are accessible >> from the request_rec as r->conn->remote_ip ? > > They do until a load balancer comes along and sits in the way, obscuring the > remote IP address. Suddenly the IP address is different on every request, > even though the connection between httpd and the load balancer is constant > and lasts a long time using keepalives.
Wherein lies the problem. How confusing is it to have r->remote_ip and r->conn->remote_ip *and for them to be different*? These need distinct names to distinguish them! e.g. r->client_ip vs r->conn->remote_ip - obviously keep the latter! -- Nick Kew
