Skip to content

forward exceptions on parsing incomping requests to the 'error' event…#1680

Open
moky80 wants to merge 1 commit intohttp-party:masterfrom
moky80:handle-exception-incoming-requests-by-emit-error
Open

forward exceptions on parsing incomping requests to the 'error' event…#1680
moky80 wants to merge 1 commit intohttp-party:masterfrom
moky80:handle-exception-incoming-requests-by-emit-error

Conversation

@moky80
Copy link
Copy Markdown

@moky80 moky80 commented Sep 18, 2024

… to be handled by applications (fixed ERR_INVALID_HTTP_TOKEN)

I've posted the related issue here #1679

Please review the fix. Thank you!

… to be handled by applications (fixed ERR_INVALID_HTTP_TOKEN)
pi0 added a commit to unjs/httpxy that referenced this pull request Mar 25, 2026
Forward synchronous errors thrown by middleware passes (e.g. ERR_INVALID_HTTP_TOKEN)
to the error event instead of crashing the process.

Ref: http-party/node-http-proxy#1680
@pi0
Copy link
Copy Markdown

pi0 commented Mar 25, 2026

This issue has been fixed in unjs/httpxy#109.

pi0 added a commit to unjs/httpxy that referenced this pull request Mar 25, 2026
Forward synchronous errors thrown by middleware passes (e.g. ERR_INVALID_HTTP_TOKEN)
to the error event instead of crashing the process.

Ref: http-party/node-http-proxy#1680
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.

3 participants