[OpenSIPS-Users] Support for https in async
Ramachandran, Agalya (Contractor)
Agalya_Ramachandran at comcast.com
Mon Oct 31 15:41:45 CET 2016
Hi team,
Have you tried with https://url with async and does that work without issue ?
When I try, resume_async_http_req is called, but crash is occurring at libcurl library. So helpless to debug further.
async(rest_put("https://url", "$fU,$tU,$ci ", "application/json", "$var(body)", "$var(ct)", "$var(rcode)"),resume);
My question is crash occring only in my scenario or OpenSIPS doesn't support async as https?
Here is my dump just in case for reference.
#0 0x00007f567248da1e in Curl_raw_nequal () from /lib64/libcurl.so.4
#1 0x00007f567245bd0f in Curl_checkheaders () from /lib64/libcurl.so.4
#2 0x00007f567245d1e5 in Curl_http () from /lib64/libcurl.so.4
#3 0x00007f567246db4b in Curl_do () from /lib64/libcurl.so.4
#4 0x00007f567247da1b in multi_runsingle () from /lib64/libcurl.so.4
#5 0x00007f567247e121 in curl_multi_perform () from /lib64/libcurl.so.4
#6 0x00007f56726b75ca in resume_async_http_req (fd=9, msg=0x7f56739c0640 <faked_req.10404>, _param=0x7f56b3e354d0)
at rest_methods.c:380
#7 0x00007f56737771ff in t_resume_async (fd=0x7f56b3e26840, param=0x7f567405c3e8) at async.c:125
#8 0x0000000000509975 in handle_io (fm=0x7f56b3e26840, idx=1, event_type=1) at net/net_udp.c:267
#9 0x00000000005082b3 in io_wait_loop_epoll (h=0x806e00 <_worker_io>, t=1, repeat=0) at net/../io_wait_loop.h:221
#10 0x0000000000509c30 in udp_rcv_loop (si=0x7f56b3dd6808) at net/net_udp.c:308
#11 0x000000000050a1c8 in udp_start_processes (chd_rank=0x7d30e8 <chd_rank.10706>, startup_done=0x0) at net/net_udp.c:372
#12 0x0000000000492304 in main_loop () at main.c:671
#13 0x0000000000494d8f in main (argc=7, argv=0x7fff38a979f8) at main.c:1261
Regards,
Agalya
From: Ramachandran, Agalya (Contractor)
Sent: Thursday, October 27, 2016 4:24 PM
To: users at lists.opensips.org; 'Liviu Chircu' <liviu at opensips.org>
Subject: Support for https in async
Hi team,
Just a quick question.. Does async(), method supports https request?
When I try to use https, resume_async_http_req is called, but I never got the response and rather OpenSIPS crashed at libcurl.
Regards,
Agalya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161031/f9281e6f/attachment.htm>
More information about the Users
mailing list