- attempt to improve rendering speed by rolling back render code to be more like 3.3.4

- added new ini setting to adjust http timeout and set default timeout to 10 seconds now
This commit is contained in:
Mark Vejvoda
2010-07-07 18:50:55 +00:00
parent 64705aa786
commit 39ad29ba3d
7 changed files with 132 additions and 190 deletions

View File

@@ -110,6 +110,7 @@ protected:
public:
static CURL *curl_handle;
static int DEFAULT_HTTP_TIMEOUT;
SystemFlags();
~SystemFlags();
@@ -117,7 +118,7 @@ public:
static void init();
static SystemFlagsType & getSystemSettingType(DebugType type) { return debugLogFileList[type]; }
static size_t httpWriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data);
static std::string getHTTP(std::string URL,CURL *handle=NULL);
static std::string getHTTP(std::string URL,CURL *handle=NULL, int timeOut=-1);
static std::string escapeURL(std::string URL, CURL *handle=NULL);
static CURL *initHTTP();