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/08/30 01:15:31 UTC

[GitHub] [apisix] spacewander commented on issue #4923: bug: serverless is executing the pre and post function but not calling the upstream api

spacewander commented on issue #4923:
URL: https://github.com/apache/apisix/issues/4923#issuecomment-907935094


   When you generate the response before reaching the upstream (via `ngx.say` in this case), Nginx won't continue to proxy your request to the upstream.
   
   Also `ngx.say` is not supported in the log phase, see https://github.com/openresty/lua-nginx-module#ngxsay
   
   This is an Nginx's behavior, not relative to APISIX.


-- 
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-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org