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

Liviu Chircu noreply at github.com
Fri Jan 15 16:23:50 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6c5953033f67589b3da07751c8746f3c99861c4b
      https://github.com/OpenSIPS/opensips/commit/6c5953033f67589b3da07751c8746f3c99861c4b
  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





More information about the Devel mailing list