[OpenSIPS-Devel] [OpenSIPS/opensips] a95838: mid_registrar: Fix "Expires" edge-case in AoR thro...

Liviu Chircu noreply at github.com
Fri Jan 15 16:25:12 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a958382016e9825c4d2363157f29ea356b57d67a
      https://github.com/OpenSIPS/opensips/commit/a958382016e9825c4d2363157f29ea356b57d67a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix "Expires" edge-case in AoR throttling mode

This fixes a bug where the mid-registrar, in mode == 2, would not
correctly process REGISTER requests containing both:
    * an ";expires=" Contact param
    * an "Expires" header field

Specifically, the "Expires" header would incorrectly transit "as is",
without being changed.

Related to #2350

(cherry picked from commit 6c5953033f67589b3da07751c8746f3c99861c4b)





More information about the Devel mailing list