bytes_xferred

svn path=/trunk/boinc/; revision=2160
This commit is contained in:
Administrator 2003-08-20 23:29:55 +00:00
parent 7ba4ee6347
commit 6641b7f87e
2 changed files with 12 additions and 0 deletions

View File

@ -5859,3 +5859,12 @@ Karl 2003/08/20
client/
time_stats.C
Chrisz 2003/08/20
- make progress and size on GUI keep old values when suspend during downloading
client/
http.C
client/win
wingui_mainwindow.cpp

View File

@ -227,6 +227,9 @@ int HTTP_OP::init_get(char* url, char* out, bool del_old_file, double off) {
parse_url(url, hostname, port, filename);
NET_XFER::init(use_http_proxy?proxy_server_name:hostname, use_http_proxy?proxy_server_port:port, HTTP_BLOCKSIZE);
safe_strcpy(outfile, out);
if (off != 0){
bytes_xferred = off;
}
http_op_type = HTTP_OP_GET;
http_op_state = HTTP_STATE_CONNECTING;
if (use_http_proxy) {