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

Liviu Chircu noreply at github.com
Thu Aug 15 05:21:58 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8070dac142fc6506429314371f04372b5ce4a5b6
      https://github.com/OpenSIPS/opensips/commit/8070dac142fc6506429314371f04372b5ce4a5b6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-15 (Thu, 15 Aug 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!





More information about the Devel mailing list