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

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


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3f34a304df1aa5b49549fde7ef242539f5c74022
      https://github.com/OpenSIPS/opensips/commit/3f34a304df1aa5b49549fde7ef242539f5c74022
  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