Branch: refs/heads/master Home: https://github.com/xrootd/xrootd Commit: 6eff66422668dfa820b059cada2e7735c33c3d76 https://github.com/xrootd/xrootd/commit/6eff66422668dfa820b059cada2e7735c33c3d76 Author: Brian Bockelman <[log in to unmask]> Date: 2021-02-03 (Wed, 03 Feb 2021) Changed paths: M src/XrdTpc/XrdTpcConfigure.cc M src/XrdTpc/XrdTpcMultistream.cc M src/XrdTpc/XrdTpcState.hh M src/XrdTpc/XrdTpcTPC.cc M src/XrdTpc/XrdTpcTPC.hh Log Message: ----------- Add a crude timeout mechanism. 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`. Commit: 6a0f6fee4c51cf0460220128b1d89caa3859d63e https://github.com/xrootd/xrootd/commit/6a0f6fee4c51cf0460220128b1d89caa3859d63e Author: Brian Bockelman <[log in to unmask]> Date: 2021-02-03 (Wed, 03 Feb 2021) Changed paths: M src/XrdTpc/XrdTpcMultistream.cc Log Message: ----------- Always initialize the result variable. This triggered a compiler warning about potential use of an uninitialized variable; I don't think that was possible but it would be impossible for the compiler to know that! Commit: 8147a4a194c770b6c1d1cb42f1afb0a64319fca6 https://github.com/xrootd/xrootd/commit/8147a4a194c770b6c1d1cb42f1afb0a64319fca6 Author: Andrew Hanushevsky <[log in to unmask]> Date: 2021-02-03 (Wed, 03 Feb 2021) Changed paths: M src/XrdTpc/XrdTpcConfigure.cc M src/XrdTpc/XrdTpcMultistream.cc M src/XrdTpc/XrdTpcState.hh M src/XrdTpc/XrdTpcTPC.cc M src/XrdTpc/XrdTpcTPC.hh Log Message: ----------- Merge pull request #1392 from bbockelm/xrdtpc_crude_timeout XrdTpc: Add a crude timeout mechanism. Compare: https://github.com/xrootd/xrootd/compare/95099da4c653...8147a4a194c7 ######################################################################## 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