mobile_push: set a curl http timeout (15s)

this will also set CURLOPT_NOSIGNAL, which may prevent weird and rare
libcurl related crashes ("longjmp causes uninitialized stack frame")
sayer/1.4-spce2.6
Stefan Sayer 14 years ago
parent f55cda5402
commit efb520db40

@ -101,6 +101,7 @@ transition "invite" START - invite / {
}
-- send HTTP request
set($curl.timeout=15);
if test($config.use_post=="yes") {
curl.postDiscardResult($config.push_server_url, $caller;$callee;$domain)
} else {

Loading…
Cancel
Save