Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x

This commit is contained in:
Lachlan Roberts 2022-05-16 14:46:33 +10:00
commit 4bc0316091
1 changed files with 4 additions and 2 deletions

View File

@ -419,7 +419,8 @@ public class UpgradeHttpServletRequest implements HttpServletRequest
{
if (request == null)
attributes.put(name, value);
request.setAttribute(name, value);
else
request.setAttribute(name, value);
}
@Override
@ -427,7 +428,8 @@ public class UpgradeHttpServletRequest implements HttpServletRequest
{
if (request == null)
attributes.remove(name);
request.removeAttribute(name);
else
request.removeAttribute(name);
}
@Override