zzl-code opened a new issue, #11571:
URL: https://github.com/apache/apisix/issues/11571
### Description
Our request flow is from the browser to APISIX, then through the K8s
service (svc) to the backend service. Occasionally, we encounter a 502 error
with a probability of about 10%.


Upon checking the backend service, we found that it didn't receive the
request, so we want to try disabling keepalive in APISIX to see if it resolves
the issue. However, setting idle_timeout to 0 didn't seem to have any effect.

I noticed there's an enable_keepalive in the code; how should this be
configured so that its value is false?

### Environment
- APISIX version (run `apisix version`): 3.9.1
- Operating system (run `uname -a`): Linux apisix-669fc8c449-pvncx
5.10.134-16.1.al8.x86_64 #1 SMP Thu Dec 7 14:11:24 UTC 2023 x86_64 GNU/Linux
- OpenResty / Nginx version (run `openresty -V` or `nginx
-V`):openresty/1.25.3.1
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`): bitnami/etcd:3.5.10-debian-11-r2
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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]