From: Kim Yunhan <spbear@gmail.com>

Subject: [E-devel] Small patch with ecore_con_url.

When I tested with elementary map, there is too many logs on console.
It makes me difficult to distinguish normal logs that I want to debug.
:'-(
It's libcurl's internal log for representing progress bar like this.

-----
downloaded : 343 / 363
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
   Current
                                    Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 362
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 361
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 344 / 365
  downloaded : 345 / 365
  downloaded : 346 / 365
  downloaded : 347 / 365
  -----
  
  So, I want to remove this log.
  And I look around ecore_con_url's code.
  Then I found solution for it.
  


SVN revision: 64596
This commit is contained in:
Kim Yunhan 2011-11-01 02:25:14 +00:00 committed by Carsten Haitzler
parent f96e677847
commit 262bf8d463
2 changed files with 2 additions and 0 deletions

View File

@ -44,3 +44,4 @@ Christopher 'devilhorns' Michael <cpmichael1@comcast.net>
ChunEon Park <hermet@hermet.pe.kr>
xlopez@igalia.com
Rafael Antognolli <antognolli@profusion.mobi>
Kim Yunhan <spbear@gmail.com>

View File

@ -355,6 +355,7 @@ ecore_con_url_free(Ecore_Con_Url *url_con)
// FIXME: For an unknown reason, progress continue to arrive after destruction
// this prevent any further call to the callback.
curl_easy_setopt(url_con->curl_easy, CURLOPT_PROGRESSFUNCTION, NULL);
curl_easy_setopt(url_con->curl_easy, CURLOPT_NOPROGRESS, EINA_TRUE);
if (url_con->active)
{