aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-25 15:03:59 -0800
committerFriendika <info@friendika.com>2010-11-25 15:03:59 -0800
commit0a03a710b326dc6c21ade1d769348e67100457c6 (patch)
treee36d01e23df1d5d20cb3804ccc77b555c45702c3 /boot.php
parentca706ccbed47ba8bf07afaaa825088afcde8cd91 (diff)
downloadvolse-hubzilla-0a03a710b326dc6c21ade1d769348e67100457c6.tar.gz
volse-hubzilla-0a03a710b326dc6c21ade1d769348e67100457c6.tar.bz2
volse-hubzilla-0a03a710b326dc6c21ade1d769348e67100457c6.zip
ensuring all non-deliveries get in the queue
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 6d1ea165c..a17f078bf 100644
--- a/boot.php
+++ b/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));