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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 29363ca88cf58f0a5690c9f42ba992ff52a06c81
      https://github.com/OpenSIPS/opensips/commit/29363ca88cf58f0a5690c9f42ba992ff52a06c81
  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




More information about the Devel mailing list