- client: on transient upload failure, don't do start_xfer()

within PERS_FILE_XFER::transient_failure();
		we're about to delete and free the FILE_XFER.
		The transfer will be restarted in the next poll.

svn path=/trunk/boinc/; revision=24549
This commit is contained in:
David Anderson 2011-11-08 05:49:24 +00:00
parent d5fd7d85bd
commit 5d29a21594
2 changed files with 10 additions and 3 deletions

View File

@ -8224,3 +8224,12 @@ Rom 7 Nov 2011
workunit_running_image.png
workunit_suspended_image.png
workunit_waiting_image.png
David 7 Nov 2011
- client: on transient upload failure, don't do start_xfer()
within PERS_FILE_XFER::transient_failure();
we're about to delete and free the FILE_XFER.
The transfer will be restarted in the next poll.
client/
pers_file_xfer.cpp

View File

@ -335,9 +335,7 @@ void PERS_FILE_XFER::transient_failure(int retval) {
//
URL_LIST& ul = fip->get_url_list(is_upload);
if (ul.get_next_url()) {
start_xfer();
} else {
if (!ul.get_next_url()) {
do_backoff();
}
}