[OpenSIPS-Devel] [OpenSIPS/opensips] 4ef488: rest_client: Fix header list management with async...

Liviu Chircu liviu at opensips.org
Thu Mar 23 06:45:44 EDT 2017


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4ef488536eb313947d7091d661758484fe2c89b0
      https://github.com/OpenSIPS/opensips/commit/4ef488536eb313947d7091d661758484fe2c89b0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-23 (Thu, 23 Mar 2017)

  Changed paths:
    M modules/rest_client/rest_methods.c
    M modules/rest_client/rest_methods.h

  Log Message:
  -----------
  rest_client: Fix header list management with async requests

The list of additional headers must not be freed too early, as libcurl
may still make use of it during each async resume callback.

Credits for reporting and helping with troubleshooting and testing
go to Agalya Ramachandran.

Fixes #1072

(cherry picked from commit 29363ca88cf58f0a5690c9f42ba992ff52a06c81)

Conflicts:
	modules/rest_client/rest_methods.c




More information about the Devel mailing list