[OpenSIPS-Devel] [OpenSIPS/opensips] 3f6667: rest_client: Fix header list management with async...
Liviu Chircu
liviu at opensips.org
Thu Mar 23 06:44:36 EDT 2017
Branch: refs/heads/2.3
Home: https://github.com/OpenSIPS/opensips
Commit: 3f6667357af1bfc65b73027c53332bec806af3d6
https://github.com/OpenSIPS/opensips/commit/3f6667357af1bfc65b73027c53332bec806af3d6
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)
More information about the Devel
mailing list