mirror of https://github.com/BOINC/boinc.git
- client: escape URLs for curl, otherwise filenames with spaces don't work
svn path=/trunk/boinc/; revision=24204
This commit is contained in:
parent
6c0a8d9035
commit
11a5372961
|
@ -5999,3 +5999,11 @@ Rom 14 Sept 2011
|
||||||
samples/vboxwrapper/
|
samples/vboxwrapper/
|
||||||
vbox.cpp, .h
|
vbox.cpp, .h
|
||||||
vboxwrapper.cpp
|
vboxwrapper.cpp
|
||||||
|
|
||||||
|
David 13 Sept 2011
|
||||||
|
- client: escape URLs for curl, otherwise filenames with spaces don't work
|
||||||
|
|
||||||
|
lib/
|
||||||
|
procinfo.cpp
|
||||||
|
client/
|
||||||
|
http_curl.cpp
|
||||||
|
|
|
@ -422,7 +422,9 @@ int HTTP_OP::libcurl_exec(
|
||||||
// the following seems to be a no-op
|
// the following seems to be a no-op
|
||||||
// curl_easy_setopt(curlEasy, CURLOPT_ERRORBUFFER, error_msg);
|
// curl_easy_setopt(curlEasy, CURLOPT_ERRORBUFFER, error_msg);
|
||||||
|
|
||||||
curl_easy_setopt(curlEasy, CURLOPT_URL, m_url);
|
char* esc_url = curl_easy_escape(curlEasy, m_url, 0);
|
||||||
|
curl_easy_setopt(curlEasy, CURLOPT_URL, esc_url);
|
||||||
|
curl_free(esc_url);
|
||||||
|
|
||||||
// This option determines whether curl verifies that the server
|
// This option determines whether curl verifies that the server
|
||||||
// claims to be who you want it to be.
|
// claims to be who you want it to be.
|
||||||
|
|
|
@ -36,8 +36,6 @@
|
||||||
using std::vector;
|
using std::vector;
|
||||||
|
|
||||||
// Scan the process table adding in CPU time and mem usage.
|
// Scan the process table adding in CPU time and mem usage.
|
||||||
// Loop thru entire table as the entries aren't in order.
|
|
||||||
// Recurse at most 4 times to get additional child processes
|
|
||||||
//
|
//
|
||||||
void add_child_totals(PROCINFO& pi, PROC_MAP& pm, PROC_MAP::iterator i) {
|
void add_child_totals(PROCINFO& pi, PROC_MAP& pm, PROC_MAP::iterator i) {
|
||||||
PROCINFO parent = i->second;
|
PROCINFO parent = i->second;
|
||||||
|
|
Loading…
Reference in New Issue