Skip to content

Commit f098f97

Browse files
committed
1 parent 2239380 commit f098f97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsHttpServletRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ public HttpSession getSession(boolean b) {
145145
@Override
146146
public HttpSession getSession() {
147147
log.debug("Trying to access session. Lambda functions are stateless and should not rely on the session");
148+
// as per Servlet spec this method should create a session if none exists, so we should change it to getSession(true) in the future
148149
return this.session;
149150
}
150151

0 commit comments

Comments
 (0)