mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=12145
This commit is contained in:
parent
4d76b40d04
commit
66a975e449
|
@ -1955,3 +1955,15 @@ David 23 Feb 2007
|
|||
sim.C,h
|
||||
sched/
|
||||
server_types.C
|
||||
|
||||
David 23 Feb 2007
|
||||
- core client: disable connection caching in Curl.
|
||||
This may reduce cases where file uploads hang
|
||||
because a server process holds file lock.
|
||||
- manager: fix status text for file transfers
|
||||
|
||||
client/
|
||||
http_curl.C
|
||||
clientgui/
|
||||
ViewTransfers.cpp
|
||||
ViewTransfersGrid.cpp
|
||||
|
|
|
@ -339,6 +339,11 @@ The checking this option controls is of the identity that the server claims. The
|
|||
curlErr = curl_easy_setopt(curlEasy, CURLOPT_AUTOREFERER, 1L);
|
||||
curlErr = curl_easy_setopt(curlEasy, CURLOPT_FOLLOWLOCATION, 1L);
|
||||
|
||||
// disable connection caching; if a file upload handler connection
|
||||
// is interrupted, the file will stay locked indefinitely
|
||||
//
|
||||
curlErr = curl_easy_setopt(curlEasy, CURLOPT_FORBID_REUSE, 1L);
|
||||
|
||||
// if we tell Curl to accept any encoding (e.g. deflate)
|
||||
// it seems to accept them all, which screws up projects that
|
||||
// use gzip at the application level.
|
||||
|
@ -461,7 +466,7 @@ The checking this option controls is of the identity that the server claims. The
|
|||
}
|
||||
|
||||
// turn on debug info if tracing enabled
|
||||
if (log_flags.http_xfer_debug) {
|
||||
if (log_flags.http_debug) {
|
||||
static int trace_count = 0;
|
||||
curlErr = curl_easy_setopt(curlEasy, CURLOPT_DEBUGFUNCTION, libcurl_debugfunction);
|
||||
curlErr = curl_easy_setopt(curlEasy, CURLOPT_DEBUGDATA, this );
|
||||
|
|
|
@ -537,11 +537,6 @@ wxInt32 CViewTransfers::FormatStatus(wxInt32 item, wxString& strBuffer) const {
|
|||
}
|
||||
}
|
||||
|
||||
if (status.task_mode == RUN_MODE_NEVER) {
|
||||
strBuffer = wxT(" (") + strBuffer + wxT(") ");
|
||||
strBuffer = _("Suspended") + strBuffer;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -423,11 +423,6 @@ wxInt32 CViewTransfersGrid::FormatStatus(wxInt32 item, wxString& strBuffer) cons
|
|||
}
|
||||
}
|
||||
|
||||
if (status.task_mode == RUN_MODE_NEVER) {
|
||||
strBuffer = wxT(" (") + strBuffer + wxT(") ");
|
||||
strBuffer = _("Suspended") + strBuffer;
|
||||
}
|
||||
|
||||
strBuffer = wxString(" ", wxConvUTF8) + strBuffer;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue