PHP - curl_exec hangs

后端 未结 6 2141
死守一世寂寞
死守一世寂寞 2021-02-12 14:42

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)         


        
6条回答
  •  半阙折子戏
    2021-02-12 15:19

    The stack trace clearly shows that the break you did occur within the NSS crypto library that your libcurl is built to use for SSL.

    libcurl has got a lot of NSS-related fixes since the libcurl version you use, and possibly you're not using the most up-to-date NSS either. I would strongly suggest that you consider upgrading to the latest and greatest before you pull all your hair out on this problem.

    To debug this problem, I would recommend you try to repeat it with the curl command line from the same server, and make good use of the --trace-ascii command.

提交回复
热议问题