[Urgent CQ Fix] OSM Server does not support persistent mode
authorTae-Hwan Kim <the81.kim@samsung.com>
Wed, 2 Nov 2011 08:51:11 +0000 (17:51 +0900)
committerTae-Hwan Kim <the81.kim@samsung.com>
Wed, 2 Nov 2011 08:51:11 +0000 (17:51 +0900)
Change to Normal mode

src/lib/ecore_con/ecore_con_url.c
src/lib/ecore_file/ecore_file_download.c

index 40e76fa..c2d8242 100644 (file)
@@ -278,6 +278,7 @@ ecore_con_url_new(const char *url)
     * FIXME: Provide a means to change these timeouts
     */
    curl_easy_setopt(url_con->curl_easy, CURLOPT_MAXCONNECTS, 100);
+   curl_easy_setopt(url_con->curl_easy, CURLOPT_FORBID_REUSE, 1);
    curl_easy_setopt(url_con->curl_easy, CURLOPT_CONNECTTIMEOUT, 30);
    curl_easy_setopt(url_con->curl_easy, CURLOPT_FOLLOWLOCATION, 1);
 
index 8811532..6f12e06 100644 (file)
@@ -286,6 +286,7 @@ _ecore_file_download_url_compare_job(const void *data1, const void *data2)
 static Eina_Bool
 _ecore_file_download_url_complete_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
 {
+   DBG("_ecore_file_download_url_complete_cb");
    Ecore_Con_Event_Url_Complete *ev = event;
    Ecore_File_Download_Job      *job;