Go to the documentation of this file.
39 #define DFLT_CONNECTTIMEOUT 120
40 #define NAME_CONNECTTIMEOUT (char *)"ConnectTimeout"
42 #define DFLT_REQUESTTIMEOUT 300
43 #define NAME_REQUESTTIMEOUT (char *)"RequestTimeout"
45 #define DFLT_MAXREDIRECTCOUNT 16
46 #define NAME_MAXREDIRECTCOUNT (char *)"MaxRedirectcount"
49 #define NAME_DEBUG (char *)"DebugLevel"
51 #define DFLT_RECONNECTWAIT 5
52 #define NAME_RECONNECTWAIT (char *)"ReconnectWait"
54 #define DFLT_REDIRCNTTIMEOUT 36000
55 #define NAME_REDIRCNTTIMEOUT (char *)"RedirCntTimeout"
57 #define DFLT_FIRSTCONNECTMAXCNT 8
58 #define NAME_FIRSTCONNECTMAXCNT (char *)"FirstConnectMaxCnt"
60 #define DFLT_TRANSACTIONTIMEOUT 28800
61 #define NAME_TRANSACTIONTIMEOUT (char *)"TransactionTimeout"
64 #define TXSOCK_ERR_TIMEOUT -1
66 #define TXSOCK_ERR_INTERRUPT -3
70 #define DFLT_MULTISTREAMCNT 0
71 #define NAME_MULTISTREAMCNT (char *)"ParStreamsPerPhyConn"
75 #define DFLT_MULTISTREAMSPLITSIZE (4*1024*1024)
78 #define DFLT_KEEPSOCKOPENIFNOTXRD 0
79 #define NAME_KEEPSOCKOPENIFNOTXRD (char *)"KeepSockOpenIfNotXrd"
82 #define XRD_CLIENT_VERSION (char *)"kXR_ver002+kXR_asyncap"
85 #define XRD_CLIENT_CURRENTVER (kXR_ver002)
86 #define XRD_CLIENT_CAPVER ((kXR_char)kXR_asyncap | XRD_CLIENT_CURRENTVER)
89 #define DFLT_READCACHESIZE 0
90 #define NAME_READCACHESIZE (char *)"ReadCacheSize"
94 #define DFLT_READCACHEBLKREMPOLICY 0
95 #define NAME_READCACHEBLKREMPOLICY (char *)"ReadCacheBlkRemPolicy"
97 #define DFLT_READAHEADSIZE (0)
98 #define NAME_READAHEADSIZE (char *)"ReadAheadSize"
101 #define DFLT_READTRIMBLKSZ (0)
102 #define NAME_READTRIMBLKSZ (char *)"ReadTrimBlockSize"
105 #define DFLT_READAHEADSTRATEGY (1) // This is the sequential readahead
106 #define NAME_READAHEADSTRATEGY (char *)"ReadAheadStrategy"
111 #define DFLT_REMUSEDCACHEBLKS 0
112 #define NAME_REMUSEDCACHEBLKS (char *)"RemoveUsedCacheBlocks"
115 #define DFLT_PURGEWRITTENBLOCKS 0
116 #define NAME_PURGEWRITTENBLOCKS (char *)"PurgeWrittenBlocks"
118 #define NAME_REDIRDOMAINALLOW_RE (char *)"RedirDomainAllowRE"
119 #define NAME_REDIRDOMAINDENY_RE (char *)"RedirDomainDenyRE"
120 #define NAME_CONNECTDOMAINALLOW_RE (char *)"ConnectDomainAllowRE"
121 #define NAME_CONNECTDOMAINDENY_RE (char *)"ConnectDomainDenyRE"
123 #define PROTO (char *)"root"
127 #define DFLT_MAXCONCURRENTOPENS 100
129 #define READV_MAXCHUNKS 512
130 #define READV_MAXCHUNKSIZE (1024*192)
133 #define NAME_SOCKS4HOST (char *)"Socks4Server"
134 #define NAME_SOCKS4PORT (char *)"Socks4Port"
141 #if defined(__linux__) || defined(__APPLE__)
142 #define DFLT_DFLTTCPWINDOWSIZE (0)
144 #define DFLT_DFLTTCPWINDOWSIZE (262144)
146 #define NAME_DFLTTCPWINDOWSIZE (char *)"DfltTcpWindowSize"
149 #define DFLT_DATASERVERCONN_TTL 300
150 #define NAME_DATASERVERCONN_TTL (char *)"DataServerConn_ttl"
153 #define DFLT_LBSERVERCONN_TTL 1200
154 #define NAME_LBSERVERCONN_TTL (char *)"LBServerConn_ttl"
157 #define DFLT_ENABLE_FORK_HANDLERS 0
158 #define NAME_ENABLE_FORK_HANDLERS (char *)"EnableForkHandlers"
161 #define DFLT_ENABLE_TCP_KEEPALIVE 0
162 #define NAME_ENABLE_TCP_KEEPALIVE (char *)"EnableTCPKeepAlive"
167 #define DFLT_TCP_KEEPALIVE_TIME 7200
168 #define NAME_TCP_KEEPALIVE_TIME (char *)"TCPKeepAliveTime"
171 #define DFLT_TCP_KEEPALIVE_INTERVAL 75
172 #define NAME_TCP_KEEPALIVE_INTERVAL (char *)"TCPKeepAliveInterval"
175 #define DFLT_TCP_KEEPALIVE_PROBES 9
176 #define NAME_TCP_KEEPALIVE_PROBES (char *)"TCPKeepAliveProbes"
179 #define DFLT_XRDCP_SIZE_HINT 1
180 #define NAME_XRDCP_SIZE_HINT (char *)"XrdCpSizeHint"
183 #define DFLT_PRINT_REDIRECTS 0
184 #define NAME_PRINT_REDIRECTS (char *)"PrintRedirects"
189 #define xrdmin(a, b) (a < b ? a : b)
190 #define xrdmax(a, b) (a > b ? a : b)