You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/01/21 14:22:27 UTC
[GitHub] [apisix] moonming commented on pull request #3382: chore: the 500 response code in the upstream.lua file was changed to 503 response code
moonming commented on pull request #3382:
URL: https://github.com/apache/apisix/pull/3382#issuecomment-764675332
> > why change this?
>
>
>
> I think the use of the 500 response code in the code is unreasonable, because this is not caused by a code program error, but because there is no upstream available. So it is more reasonable to use the 503 response code.
why will be no upstream available?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org