Issue #6654 - Fix NPEs from bad Servlet API use
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
401f1959d2
commit
32e6698f0b
|
@ -98,6 +98,10 @@ public class ServerUpgradeRequest
|
|||
.map(c -> new HttpCookie(c.getName(), c.getValue()))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
else
|
||||
{
|
||||
cookies = List.of();
|
||||
}
|
||||
}
|
||||
|
||||
return cookies;
|
||||
|
|
Loading…
Reference in New Issue