Print

Print


This does not enforce a minimum bandwidth (N MB/s) but rather
aborts the transfer if zero data has moved within a given timeframe.
By default, the transfer has 120 seconds to move the first byte of
data and it must transfer at least 1 byte every 60 seconds thereafter.

This purposely does not do bandwidth minimums as that's built into
future versions of `curl` and I'd prefer to not re-implement it.

The default timeouts can be overridden by setting:

```
tpc.timeout timeout_val [first_byte_timeout_val]
```

where the default is equivalent to:

```
tpc.timeout 60
```

If the `first_byte_timeout_val` is not set, it defaults to 2x the
`timeout_val`.

(Note: I am _not_ targeting the 5.1.0 release for this)
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1392

-- Commit Summary --

  * Add a crude timeout mechanism.

-- File Changes --

    M src/XrdTpc/XrdTpcConfigure.cc (12)
    M src/XrdTpc/XrdTpcMultistream.cc (26)
    M src/XrdTpc/XrdTpcState.hh (4)
    M src/XrdTpc/XrdTpcTPC.cc (21)
    M src/XrdTpc/XrdTpcTPC.hh (3)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1392.patch
https://github.com/xrootd/xrootd/pull/1392.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1392

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1