Project

General

Profile

Bug #1484

WEnvironment.clientAddress() is not updated when client address is changed

Added by Boris Nagaev over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/18/2012
Due date:
% Done:

0%

Estimated time:

Description

Hello!

I have logged WEnvironment.clientAddress() in my application. One client created a WApplication using one internet connection and then switched to another connection. But WEnvironment.clientAddress() keeped return old value.

Probably current behaviour of clientAddress() (address of session creator) is also usefull, but it is not reflected in it's description. I think, this information should be available as well as current IP address.

Frontend: haproxy, then nginx. Websockets are forwarded directly from haproxy, other Wt things --- through nginx. Header X-Forwarded-For is used to get real IP of a client.

Wt 3.2.1

No data to display

Also available in: Atom PDF