From 0bdcfaaf0763dfb8ba225a363d58433867764540 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 24 May 2004 03:53:09 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3424 --- checkin_notes | 12 ++++++++++++ client/file_xfer.C | 1 + 2 files changed, 13 insertions(+) diff --git a/checkin_notes b/checkin_notes index 061138e06f..614ed36c9c 100755 --- a/checkin_notes +++ b/checkin_notes @@ -12494,6 +12494,18 @@ Rom May 21 2004 dhrystone.C whetstone.C +David May 21 2004 + - Core client: in FILE_XFER_SET::poll(), when completed a file-size query, + close the socket before iniating the file transfer. + Otherwise we have a socket that's never closed. + + Note: some aspects of the FILE_XFER/HTTP_OP/NET_XFER hierarchy + seem absurdly complex, like the issue of when sockets are closed. + The whole thing should be reexamined at some point (but not now). + + client/ + file_xfer.X + Rom May 22 2004 - Somehow the boinc release build switched over to using shared libraries on Windows instead of static, so now i'm switching it back to static libraries. diff --git a/client/file_xfer.C b/client/file_xfer.C index c4d09afe46..f7b7a8fadf 100644 --- a/client/file_xfer.C +++ b/client/file_xfer.C @@ -223,6 +223,7 @@ bool FILE_XFER_SET::poll() { } else { // Restart the upload, using the newly obtained // upload_offset + fxp->close_socket(); fxp->file_xfer_retval = fxp->init_upload(*fxp->fip); if (!fxp->file_xfer_retval) {