[OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor) Agalya_Ramachandran at comcast.com
Fri Mar 10 14:18:38 EST 2017

Hi Liviu,

I tried the following and my observations for the same.

1)      Compiled and installed OpenSIPS of 2.2.3 code(no other patches applied).

2)      async(rest_get("https://example.com"<https://example.com>, "$var(body)"), resume_route);==> crashes on my machine. Same dump as I shared before.

3)      async(rest_get("http://example.com"<%22http:/example.com%22>, "$var(body)"), resume_route);==> No crash observed.

4)      Long back I tried to run a sample curl program that will reach https://example.com ==> Worked without any crash

5)      I have also tried a sample curl program that interacts with REST server (async, https://URL) ==> Worked on the same machine without crash.

Only when the same payload is passed using OpenSIPS, and when processing the response of it, OpenSIPS is being crashed.

6)      Tried with async (rest_post(http:// URL)); ==> No crash

7)      Tried with async(rest_post(https://URL)); ==> Crash occurred

I am attaching here with the sample curl file,  where I try to reach example.com(getHttps.c) and sample curl program which will do the actual PUT request I want to do( asyncPutHttps.c)
With asyncPutHttps.c, whatever I do in the sample program, the same I do OpenSIPS too, but not crashing in my sample program and crash occurs only with OpenSIPS.

Let me know if you need more information on any of these.


From: Liviu Chircu [mailto:liviu at opensips.org]
Sent: Thursday, March 09, 2017 5:06 AM
To: Ramachandran, Agalya (Contractor) <Agalya_Ramachandran at comcast.com>; OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

No luck on a CentOS 7.2 system with libcurl 7.29.0 with async rest_get. Some more questions:

- does the following crash your system? If not, please detail the nature of your HTTP transfer that's causing the crash (server location and a .pcap of a successful curl would be nice).

   async(rest_get("https://example.com"<https://example.com>, "$var(body)"), resume_route);

- are you using any custom patches for rest_client? I suggest we only use the 2.2.3 tag code when debugging this issue, from now on


Liviu Chircu

OpenSIPS Developer


OpenSIPS Summit May 2017 Amsterdam

On 08.03.2017 18:05, Ramachandran, Agalya (Contractor) wrote:
Hi Liviu,

You got time to reproduce this issue? If you need any help towards it let me know.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170310/40b61fef/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: asyncPutHttps.c
URL: <http://lists.opensips.org/pipermail/users/attachments/20170310/40b61fef/attachment-0002.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getHttps.c
URL: <http://lists.opensips.org/pipermail/users/attachments/20170310/40b61fef/attachment-0003.c>

More information about the Users mailing list