[OpenSIPS-Devel] [OpenSIPS/opensips] 94db9f: path: Do not omit "; received=" when merging Path h...

Liviu Chircu noreply at github.com
Mon Sep 2 08:59:10 EDT 2019

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 94db9f1a84e21beee9b5c1a649473a7e4682ba49
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-02 (Mon, 02 Sep 2019)

  Changed paths:
    M lib/path.c
    M lump_struct.h
    M msg_translator.c

  Log Message:
  path: Do not omit ";received=" when merging Path headers

If "enable_double_path" is on and the inbound and outbound sockets
match, the second Path header would not be added anymore (good!),
thus skipping the ";received=" parameter completely (bad!).

The above behavior is actually a regression, introduced in 71c7d75f66c

Many thanks to Pete Kelly and Bogdan Iancu for spotting the problem!

(cherry picked from commit 8070dac142fc6506429314371f04372b5ce4a5b6)

More information about the Devel mailing list