<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2014-01-16 19:32, John Chow wrote:<br>
    </div>
    <blockquote
cite="mid:CAPYREFOSmAPLYQkHMOeu2mBYBG8KyDPOU+WbpCi123detw1WhQ@mail.gmail.com"
      type="cite">
      <div>I have a question about the <i>delay = yes</i> config flag
        and whether or not it caches the resolved IP after the initial
        connection? To give context, I want my load balancer (Haproxy)
        to forward requests to an app on Heroku, and I'm using stunnel
        on my LB box to proxy to Heroku via HTTPS. Since the IP for my
        app's endpoint could potentially change (60s DNS TTL), stunnel
        caching resolved IPs would be a problem.</div>
    </blockquote>
    <br>
    I specifically introduced the "delay" option to deal with dynamic IP
    addresses.  Stunnel does not attempt to cache the IP addresses with
    "delay = yes".  The local library may cache them, but it should
    honor the TTL.<br>
    <br>
    Mike<br>
  </body>
</html>