Skip to content

docs: list umask() and setlocale() as process-wide worker state - #2779

Merged
dunglas merged 1 commit into
mainfrom
docs/worker-umask-setlocale
Oct 26, 2026
Merged

dunglas merged 1 commit into
mainfrom
docs/worker-umask-setlocale

Conversation

@dunglas

@dunglas dunglas commented Oct 26, 2026

Copy link
Copy Markdown
Member

umask() and setlocale() change the whole process. PHP's standard extension restores them at request shutdown, which worker requests skip, and in every mode they also affect concurrent requests. Two security reports flagged the umask() persistence as unexpected, so document it next to the other runtime settings that persist across worker requests.

@dunglas
dunglas merged commit 595c1f1 into main Oct 26, 2026
28 checks passed
@dunglas
dunglas deleted the docs/worker-umask-setlocale branch October 26, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant