This website requires JavaScript.
Explore
Help
Register
Sign In
wanwu
/
sub2api
Watch
1
Star
0
Fork
0
You've already forked sub2api
mirror of
https://gitee.com/wanwujie/sub2api
synced
2026-04-09 17:44:46 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
4c1fd570f02430c648e97b4217d602000b6aec89
sub2api
/
backend
/
cmd
/
server
/
VERSION
2 lines
9 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: ErrorPolicySkipped returns 500 instead of upstream status code When custom error codes are enabled and the upstream error code is NOT in the configured list, return HTTP 500 to the client instead of transparently forwarding the original status code. This matches the frontend description: "other errors will return 500". Also adds integration test TestCustomErrorCode599 verifying that 429, 500, 503, 401, 403 all return 500 without triggering SetRateLimited or SetError.
2026-02-09 18:10:39 +08:00
0.1.76.4
Reference in New Issue
Copy Permalink