Miss-you opened a new issue #2721:
URL: https://github.com/apache/apisix/issues/2721


   ### Issue description
   ngx.exit will interrupt the execution of the current request and return 
status code to Nginx.
   
   image
   
![image](https://user-images.githubusercontent.com/3816205/98912992-c8dc2e00-2501-11eb-90aa-0e965398dc00.png)
   
   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).
   
   ref: 
   https://github.com/apache/apisix/issues/2703
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS:
   


----------------------------------------------------------------
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]


Reply via email to