ensuring all non-deliveries get in the queue
This commit is contained in:
parent
ca706ccbed
commit
0a03a710b3
3 changed files with 39 additions and 22 deletions
4
boot.php
4
boot.php
|
@ -416,6 +416,8 @@ function fetch_url($url,$binary = false, &$redirects = 0) {
|
|||
if($binary)
|
||||
curl_setopt($ch, CURLOPT_BINARYTRANSFER,1);
|
||||
|
||||
$a->set_curl_code(0);
|
||||
|
||||
$s = curl_exec($ch);
|
||||
|
||||
$http_code = intval(curl_getinfo($ch, CURLINFO_HTTP_CODE));
|
||||
|
@ -474,6 +476,8 @@ function post_url($url,$params, $headers = null, &$redirects = 0) {
|
|||
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $prxusr);
|
||||
}
|
||||
|
||||
$a->set_curl_code(0);
|
||||
|
||||
$s = curl_exec($ch);
|
||||
|
||||
$http_code = intval(curl_getinfo($ch, CURLINFO_HTTP_CODE));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue