fix: concurrent env access (#1409)

This commit is contained in:
Alexander Stecher
2025-03-01 14:45:04 +01:00
committed by GitHub
parent 3ba4e257a1
commit c57f741d83
15 changed files with 268 additions and 74 deletions

View File

@@ -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