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


   @nanamikon 
   We can add a new `hash_on` type to support it.
   There are already a helper function to eval Nginx variable:  
https://github.com/apache/apisix/blob/3e19b06293463f52c8d26f0958542fc475ff0fcd/apisix/core/utils.lua#L268
   You need to modify 
https://github.com/apache/apisix/blob/3e19b06293463f52c8d26f0958542fc475ff0fcd/apisix/balancer/chash.lua#L33-L41
   
   PR is welcome!


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


Reply via email to