Hi,
I've moved the ticket over to GitHub, and Iposted a suggestion on how to
make progress[1]
Cheers,
[1]: https://github.com/OpenSIPS/opensips/issues/1072#issuecomment-286091628
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
OpenSIPS Summit May 2017 Amsterdam
http://www.opensips.org/events/Summit-2017Amsterdam.html
On 10.03.2017 21:18, Ramachandran, Agalya (Contractor) wrote:
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) <https://URL%29>); è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.
Regards,
Agalya
*From:*Liviu Chircu [mailto:li...@opensips.org]
*Sent:* Thursday, March 09, 2017 5:06 AM
*To:* Ramachandran, Agalya (Contractor)
<agalya_ramachand...@comcast.com>; OpenSIPS users mailling list
<users@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
Regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
OpenSIPS Summit May 2017 Amsterdam
http://www.opensips.org/events/Summit-2017Amsterdam.html
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.
Regards,
Agalya
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users