r4839 need to grab the download size if we have to authenticate
authorJonathan Thurman <jthurman42@gmail.com>
Wed, 26 Oct 2011 03:00:43 +0000 (03:00 +0000)
committerJonathan Thurman <jthurman42@gmail.com>
Wed, 26 Oct 2011 03:00:43 +0000 (03:00 +0000)
wwwroot/inc/solutions.php

index 5011b14..4a1e0a2 100644 (file)
@@ -337,6 +337,7 @@ function proxyCactiRequest ($graph_id)
                curl_setopt ($session, CURLOPT_HTTPGET, TRUE);
                $ret['contents'] = curl_exec ($session);
                $ret['type'] = curl_getinfo ($session, CURLINFO_CONTENT_TYPE);
+               $ret['size'] = curl_getinfo ($session, CURLINFO_SIZE_DOWNLOAD);
        }
 
        curl_close ($session);