iRules LX Sideband Connection - Handling timeouts
Published Oct 31, 2019
Version 1.0Was this article helpful?
I believe request.setSocketKeepAlive is for TCP keep-alive, as it calls socket.setKeepAlive. Not for http's "Connection: Keep-Alive". For reusing the established HTTP socket, you can use the http.Agent class and set the maxSocket to 1. If you want to retrieve multiple pages concurrently via multiple sockets, use the default Infinity.