jujiale commented on issue #7504:
URL: https://github.com/apache/apisix/issues/7504#issuecomment-1191042621

   
   
   
   
   > test if `enable_keepalive` available:
   > 
   > 
[apisix/apisix/balancer.lua](https://github.com/apache/apisix/blob/6451dd6e9fc2e5161bd8d701cfa51016d73ccabe/apisix/balancer.lua#L284)
   
   @tzssangglass thanks for your reply
   As you say above, "This is just test if enable_keepalive available:" but the 
real call "return balancer.enable_keepalive(idle_timeout, requests) " must need 
"if enable_keepalive then " return true that could arrive "return 
balancer.enable_keepalive(idle_timeout, requests) ", but I don't know how to 
make **enable_keepalive**  is not null,also as I said above, whatever I set 
keepalive_pool in upstream conf, the "**enable_keepalive** " always is null, 
that means cloud not arrive in code "return 
balancer.enable_keepalive(idle_timeout, requests) "


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to