Commit e07ba75
authored
fix(server): Fix the logic of the WithStateLess function (#387)
Added a check for the stateLess parameter in the WithStateLess function. Only when stateLess is true, set the sessionIdManager to StatelessSessionIdManager. This modification ensures that the behavior of the WithStateLess function is consistent with expectations and improves the robustness of the code.1 parent 5c49f63 commit e07ba75
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments