curl php keep-alive

curl-keep-alive

 

$rch = curl_copy_handle($ch);
curl_setopt($rch, CURLOPT_FORBID_REUSE, false);
curl_setopt($rch, CURLOPT_HTTPHEADER, array(
‘Connection: Keep-Alive’,
‘Keep-Alive: 300’
));

发表评论

电子邮件地址不会被公开。 必填项已用*标注