Miss-you commented on issue #7910: URL: https://github.com/apache/apisix/issues/7910#issuecomment-1246409227
> > Normally, tcp keepalive pkg should be sent by the client, not the gateway/Apache APISIX > > If the client doesn't send messages to keepalive tcp till timeout, the link should be disconnected instead of keepalive. > > I'm confused now, the client is keep sending tcp keepalive packet ,but I capture the packet from the apisix to apiserver(data upstream),and find that where is no tcp keepalive packet, which i think the apisix node should enable tcp keepalive when listen. I think it is more reasonable to adjust the timeout of the WATCH, and the timeout should be less than half of the TCP keepalive time. 1. IPVS does not forward the heartbeat pkg for TCP protocol, because it is a control pkg. 2. There will be no requests for a long time while watching, so it is important to set a proper timeout. 3. it is better not to modify the `nginx.conf` of the Apache 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
