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 2020/11/12 08:12:16 UTC

[GitHub] [apisix] Miss-you opened a new issue #2721: request help: response-rewrite plug-in document optimization

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:
users@infra.apache.org



[GitHub] [apisix] Miss-you closed issue #2721: request help: response-rewrite plug-in document optimization

Posted by GitBox <gi...@apache.org>.
Miss-you closed issue #2721:
URL: https://github.com/apache/apisix/issues/2721


   


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