https://bz.apache.org/bugzilla/show_bug.cgi?id=60466
Bug ID: 60466
Summary: WsHandshakeRequest getHttpSession() returns null
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: WebSocket
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
private final Object httpSession;
public WsHandshakeRequest() {
// The final object httpSession can be always null. Why not calling
// getSession(true) or at least provide a way to do it.
httpSession = request.getSession(false);
}
@Override
public Object getHttpSession() {
return httpSession;
}
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]