镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix: unset worker mode error handler while parsing the request - #2792

Merged
dunglas merged 3 commits into
mainfrom
fix/swap-error-handler-on-request-parsing
Nov 1, 2026
Merged

dunglas merged 3 commits into
mainfrom
fix/swap-error-handler-on-request-parsing

Conversation

@AlliBalliBaba

Copy link
Copy Markdown
Contributor

Simplified version of #2631

The error handler is just reset to the default error handler and kept on the stack while parsing GET/POST/SEVER etc.

The warning can be fetched with error_get_last, making the behavior more similar to FPM.

@dunglas
dunglas merged commit afd7511 into main Nov 1, 2026
45 checks passed
@dunglas
dunglas deleted the fix/swap-error-handler-on-request-parsing branch November 1, 2026 11:24
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.

2 participants