-
Notifications
You must be signed in to change notification settings - Fork 149
/
XrdClConstants.hh
91 lines (85 loc) · 4.45 KB
/
XrdClConstants.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//------------------------------------------------------------------------------
// Copyright (c) 2011-2012 by European Organization for Nuclear Research (CERN)
// Author: Lukasz Janyst <ljanyst@cern.ch>
//------------------------------------------------------------------------------
// XRootD is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// XRootD is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
//------------------------------------------------------------------------------
#ifndef __XRD_CL_CONSTANTS_HH__
#define __XRD_CL_CONSTANTS_HH__
#include <stdint.h>
namespace XrdCl
{
//----------------------------------------------------------------------------
// Log message types
//----------------------------------------------------------------------------
const uint64_t AppMsg = 0x0000000000000001ULL;
const uint64_t UtilityMsg = 0x0000000000000002ULL;
const uint64_t FileMsg = 0x0000000000000004ULL;
const uint64_t PollerMsg = 0x0000000000000008ULL;
const uint64_t PostMasterMsg = 0x0000000000000010ULL;
const uint64_t XRootDTransportMsg = 0x0000000000000020ULL;
const uint64_t TaskMgrMsg = 0x0000000000000040ULL;
const uint64_t XRootDMsg = 0x0000000000000080ULL;
const uint64_t FileSystemMsg = 0x0000000000000100ULL;
const uint64_t AsyncSockMsg = 0x0000000000000200ULL;
const uint64_t JobMgrMsg = 0x0000000000000400ULL;
const uint64_t PlugInMgrMsg = 0x0000000000000800ULL;
const uint64_t ExDbgMsg = 0x0000000000001000ULL; //special type debugging extra-hard problems
const uint64_t TlsMsg = 0x0000000000002000ULL;
//----------------------------------------------------------------------------
// Environment settings
//----------------------------------------------------------------------------
const int DefaultSubStreamsPerChannel = 1;
const int DefaultConnectionWindow = 120;
const int DefaultConnectionRetry = 5;
const int DefaultRequestTimeout = 1800;
const int DefaultStreamTimeout = 60;
const int DefaultTimeoutResolution = 15;
const int DefaultStreamErrorWindow = 1800;
const int DefaultRunForkHandler = 0;
const int DefaultRedirectLimit = 16;
const int DefaultWorkerThreads = 3;
const int DefaultCPChunkSize = 8388608;
const int DefaultCPParallelChunks = 4;
const int DefaultDataServerTTL = 300;
const int DefaultLoadBalancerTTL = 1200;
const int DefaultCPInitTimeout = 600;
const int DefaultCPTPCTimeout = 1800;
const int DefaultTCPKeepAlive = 0;
const int DefaultTCPKeepAliveTime = 7200;
const int DefaultTCPKeepAliveInterval = 75;
const int DefaultTCPKeepAliveProbes = 9;
const int DefaultMultiProtocol = 0;
const int DefaultParallelEvtLoop = 1;
const int DefaultMetalinkProcessing = 1;
const int DefaultLocalMetalinkFile = 0;
const int DefaultXCpBlockSize = 134217728; // DefaultCPChunkSize * DefaultCPParallelChunks * 2
const int DefaultNoDelay = 1;
const int DefaultAioSignal = 0;
const int DefaultPreferIPv4 = 0;
const int DefaultMaxMetalinkWait = 60;
const int DefaultPreserveLocateTried = 1;
const int DefaultNotAuthorizedRetryLimit = 3;
const char * const DefaultPollerPreference = "built-in";
const char * const DefaultNetworkStack = "IPAuto";
const char * const DefaultClientMonitor = "";
const char * const DefaultClientMonitorParam = "";
const char * const DefaultPlugInConfDir = "";
const char * const DefaultPlugIn = "";
const char * const DefaultReadRecovery = "true";
const char * const DefaultWriteRecovery = "true";
const char * const DefaultOpenRecovery = "true";
const char * const DefaultGlfnRedirector = "";
}
#endif // __XRD_CL_CONSTANTS_HH__