[OpenSIPS/opensips] 7dbb7c: 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] 7dbb7c: Fixed handling of TTL 0 in DNS answers.

Bogdan-Andrei Iancu-2
  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7dbb7c7ddd241d6879c4a240d8cb4bdddb24f67b
      https://github.com/OpenSIPS/opensips/commit/7dbb7c7ddd241d6879c4a240d8cb4bdddb24f67b
  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