~ubuntu-branches/debian/sid/nordugrid-arc/sid

« back to all changes in this revision

Viewing changes to src/hed/acc/ARC0/FTPControl.cpp

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-12-13 16:41:31 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20121213164131-0fumka0jar8mxm07
Tags: 2.0.1-1
* 2.0.1 Release
* Drop patches accepted upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
471
471
      // Need to wait for callback to make sure handle destruction will work
472
472
      // Hopefully forced close should never take long time
473
473
      if(!cb->cond.wait(timeout * 1000)) {
474
 
        logger.msg(ERROR, "Disconnect: Closing timed out after %d ms", timeout * 1000);
 
474
        logger.msg(VERBOSE, "Disconnect: Closing timed out after %d ms", timeout * 1000);
475
475
      }
476
476
    }
477
477
 
508
508
    if(!(result = globus_ftp_control_handle_destroy(&control_handle))) {
509
509
      // This situation can't be fixed because call to globus_ftp_control_handle_destroy
510
510
      // makes handle unusable even if it fails.
511
 
      logger.msg(ERROR, "Disconnect: Failed destroying handle: %s. Can't handle such situation.",result.str());
 
511
      logger.msg(VERBOSE, "Disconnect: Failed destroying handle: %s. Can't handle such situation.",result.str());
512
512
      cb = NULL;
513
513
    } else if(!first_time) {
514
514
      logger.msg(VERBOSE, "Disconnect: handle destroyed.");