<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>845</bug_id>
          
          <creation_ts>2003-03-20 16:16</creation_ts>
          <short_desc>Throughput directive does not work with gridftp server</short_desc>
          <delta_ts>2003-03-31 14:20:02</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>GridFTP</product>
          <component>GridFTP</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="irwin">boutboul@us.ibm.com</reporter>
          <assigned_to name="Joseph M Link">link@mcs.anl.gov</assigned_to>
          <cc>allcock@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="irwin">boutboul@us.ibm.com</who>
            <bug_when>2003-03-20 16:16:32</bug_when>
            <thetext>In the last grid ftp server from Globus 2.2.4 (bundle globus_gridftp_server-
1.5), the throughput directive does not work.
This directive, implemented in the standard wuftp server, allows to limit the  
bandwidth.

In the current gridftp server, there is a bug which makes this limitation 
impossible.
I fixed the bug, here is the fix.
In globus_hack.c, 

the # ifdef THROUGHPUT ....  #endif located at line 1245  should be located at 
line 1212 instead.

Right now it is outside the while loop, and it should be inside. Don&apos;t be 
fooled by the line 1258 which says &quot; /* end while */&quot;. This is a mistake, the 
end while curly brace is at line 1212. On line 1258, this is the &quot;end for&quot; 
curly brace.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Joseph M Link">link@mcs.anl.gov</who>
            <bug_when>2003-03-31 14:20:02</bug_when>
            <thetext>
I have applied your fix as is, it will not be tested, since there isnt much 
demand for this feature.  It should appear in the 2.4 release.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>