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

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


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8c2ae3067046e380fa3a87919e4f9b5b5a30a9ac
      https://github.com/OpenSIPS/opensips/commit/8c2ae3067046e380fa3a87919e4f9b5b5a30a9ac
  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

(cherry picked from commit 4ef488536eb313947d7091d661758484fe2c89b0)

Conflicts:
	modules/rest_client/rest_methods.c




More information about the Devel mailing list