Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downstream reset, response code应该是为4xx, 才符合规范点 #2334

Open
fibbery opened this issue Jul 21, 2023 · 2 comments
Open

downstream reset, response code应该是为4xx, 才符合规范点 #2334

fibbery opened this issue Jul 21, 2023 · 2 comments
Assignees

Comments

@fibbery
Copy link
Contributor

fibbery commented Jul 21, 2023

s.requestInfo.SetResponseCode(api.TimeoutExceptionCode)

@doujiang24
Copy link
Member

嗯,看起来有道理,欢迎 PR~

@jizhuozhi
Copy link
Contributor

业界通用的应该是和nginx保持一致,499客户端主动断开连接应该是很合适的值

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

No branches or pull requests

4 participants