Fixed bug in handling of sessions - some non-standard web apps (forwarding domains for example) in fact will have null sessions attached to their connections. Non-breaking change.
This commit is contained in:
@@ -682,6 +682,7 @@ public void processRequest(final IRequest request, final IResponse response, fin
|
||||
}//if//
|
||||
|
||||
if(!ignoreRequest) {
|
||||
//Note: Session should always be non-null for a standard web app.//
|
||||
synchronized(session) {
|
||||
resourceRequestHandler.processRequest(request, response, session == null ? null : (SessionData) session.getApplicationData(), session == null ? null : (SecureSessionData) (isSecure ? session.getApplicationSecureData() : null), isSecure, connectionContext);
|
||||
//Update the repository with the session changes as necessary.//
|
||||
|
||||
Reference in New Issue
Block a user