imjoey commented on issue #2703: URL: https://github.com/apache/apisix/issues/2703#issuecomment-725764193
> `ngx.exit` will interrupt the execution of the current request and return status code to Nginx. > >  > > However, if you execute `ngx.exit` during the access phase, it only interrupts the request processing phase, and the response phase will still process it, i.e. if you configure the response-rerite plugin, it will force overwriting of your response information (e.g. rsp code). @Miss-you your explanation is lifesaving. Much appreciated. ---------------------------------------------------------------- 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: [email protected]
