Repository navigation
Commit 400dacb
committed
Don't insert into overlay options on lookup
getOverlayOption used operator[], so the first lookups of an unset key
(e.g. ssl-enabled, read on every session launch) inserted into the map
from concurrent request threads. ThreadSanitizer flagged the race in
the concurrent SessionManager launch tests.1 parent db06620 commit 400dacb
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
0 commit comments