Baoyuantop commented on issue #12321: URL: https://github.com/apache/apisix/issues/12321#issuecomment-2968798853
This is expected behavior: 1. The CORS plugin is implemented in the rewrite phase: it returns a 200 status code directly when processing OPTIONS requests. 2. The limit-count plugin is executed in the access stage, and performs limit-count checking. 3. Phase execution order: rewrite → access → content 4. Early termination: The CORS plugin returns a response in the rewrite phase, causing request processing to end early and skipping the access phase. The response to an options request is generated and returned directly by APISIX and does not reach upstream, so what is the problem? -- 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. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org