cURL/PHP Request Executes 50% of the Time

后端 未结 3 1021
旧巷少年郎
旧巷少年郎 2021-01-05 16:04

After searching all over, I can\'t understand why cURL requests issued to a remote SSL-enabled host are successful only 50% or so of the time in my case. Here\'s the situati

3条回答
  •  执笔经年
    2021-01-05 16:39

    The remote host is maybe not a real unique host. Maybe it's some sort of load balancing solution with several servers taking the incoming requests. What make me think it could be that is the 'mac error' in the error message. This could mean the remote host mac address as changed while the SSL negociation was still running. And this could explain that sometimes you do not have any problem.

    But maybe not :-) SSL problems are quite hard to find.

    I do not understand your answer on prefork MPM vs Worker MPM, if you run PHP in cli mode your apache MPM is not used, you're not even using apache.

提交回复
热议问题