[OpenSIPS/opensips] 399741: Fixed handling of TTL 0 in DNS answers.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] 399741: Fixed handling of TTL 0 in DNS answers.

Bogdan-Andrei Iancu-2
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 39974122e2d8861138afd933db540d68f0c6697f
      https://github.com/OpenSIPS/opensips/commit/39974122e2d8861138afd933db540d68f0c6697f
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2018-01-03 (Wed, 03 Jan 2018)

  Changed paths:
    M modules/dns_cache/dns_cache.c

  Log Message:
  -----------
  Fixed handling of TTL 0 in DNS answers.

RFC1035 states : "Zero TTL values are interpreted to mean that the RR can only be used for the transaction in progress, and should not be cached."

Reported by Marcin Luczkiewicz @ Magrathea Telecom

(cherry picked from commit b4d74ebd5fee055065e2e400f10c97a8bad3d9dd)



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel