Logo
Explore Help
Register Sign In
wanwu/sub2api
1
0
Fork 0
You've already forked sub2api
mirror of https://gitee.com/wanwujie/sub2api synced 2026-04-10 10:04:46 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
3e3c015efa55fd7013331a2f3cdb547ea22de4ae
sub2api/backend/cmd/server/VERSION

2 lines
9 B
Plaintext
Raw Normal View History

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
Powered by Gitea Version: 25.4.3 Page: 50ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API