Commit bbd3a4a
authored
Fix OpenSslClientSessionCache remove (#14366)
Motivation:
Loop was adding `nativeSslSession` to the `toBeRemoved` list, instead of
the loop variable `sslSession`.
Modification:
Add the loop variable instead, because the `nativeSslSession` can very
likely be null at that point, and is specifically also not the session
we want to remove.
Result:
Fewer bugs in SSL session caching1 parent ddbac87 commit bbd3a4a
File tree
1 file changed
+1
-1
lines changed- handler/src/main/java/io/netty/handler/ssl
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments