Commit 3dd7ea5
committed
fix: mark Request.get_module_loc_conf result as static.
The main/server/location configuration objects belong to the cycle and
will exist until the worker process is exiting. `'static` should help
the compiler understand that we're returning a global object instead of
borrowing from the `Request`.1 parent 8b6aa4b commit 3dd7ea5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments