Hi,
in my usecase of HtmlUnit I request a site with a DNS name which has a TTL of 5 seconds and the IP behind the name may changes due to a failover.
It looks like a HTTP Pooling from Apache HttpClient is enabled which would then cause this TTL to be ignored as long as the connection exists.
https://github.com/HtmlUnit/htmlunit/blob/master/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java#L1143
Is that assumption correct? Is there a way to configure the "connTimeToLive" or to disable connection pooling completely?
Thanks!
Hi,
in my usecase of HtmlUnit I request a site with a DNS name which has a TTL of 5 seconds and the IP behind the name may changes due to a failover.
It looks like a HTTP Pooling from Apache HttpClient is enabled which would then cause this TTL to be ignored as long as the connection exists.
https://github.com/HtmlUnit/htmlunit/blob/master/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java#L1143
Is that assumption correct? Is there a way to configure the "connTimeToLive" or to disable connection pooling completely?
Thanks!