[OpenSIPS-Devel] [OpenSIPS/opensips] 953490: Fixed pass-through multi-part body with a single p...

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Aug 8 07:31:14 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 953490775b82f2244eb3b0bcba6232d3d2af4484
      https://github.com/OpenSIPS/opensips/commit/953490775b82f2244eb3b0bcba6232d3d2af4484
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-08-08 (Wed, 08 Aug 2018)

  Changed paths:
    M msg_translator.c
    M parser/parse_body.c
    M parser/parse_body.h

  Log Message:
  -----------
  Fixed pass-through multi-part body with a single part

Previously the code was trying to convert the multi-part with a single part to a uni-part body, but this was incomplet as the Content-type was not updated and the per-part headers were lost.
So, a better approach is to keep it as it is (as packing).



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list