mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
fix: concurrent env access (#1409)
This commit is contained in:
committed by
GitHub
parent
3ba4e257a1
commit
c57f741d83
@@ -61,6 +61,9 @@ func (handler *regularThread) name() string {
|
||||
}
|
||||
|
||||
func (handler *regularThread) waitForRequest() string {
|
||||
// clear any previously sandboxed env
|
||||
clearSandboxedEnv(handler.thread)
|
||||
|
||||
handler.state.markAsWaiting(true)
|
||||
|
||||
var r *http.Request
|
||||
|
||||
Reference in New Issue
Block a user