I am having a strange problem with the below php function. Unfortunately this is one of those special \"Production only\" case.
function requestPost($url, $data)
If curl_exec hangs, then it may be because of a DNS problem or a redirection loop. In other words, there may be nothing wrong with the function, but with the network route of your request. May be a deadlock with a localhost loop. Cheers!
curl_exec