xrootd
XrdHttpProtocol.hh
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // This file is part of XrdHTTP: A pragmatic implementation of the
3 // HTTP/WebDAV protocol for the Xrootd framework
4 //
5 // Copyright (c) 2013 by European Organization for Nuclear Research (CERN)
6 // Author: Fabrizio Furano <furano@cern.ch>
7 // File Date: Nov 2012
8 //------------------------------------------------------------------------------
9 // XRootD is free software: you can redistribute it and/or modify
10 // it under the terms of the GNU Lesser General Public License as published by
11 // the Free Software Foundation, either version 3 of the License, or
12 // (at your option) any later version.
13 //
14 // XRootD is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of the GNU Lesser General Public License
20 // along with XRootD. If not, see <http://www.gnu.org/licenses/>.
21 //------------------------------------------------------------------------------
22 
23 
24 #ifndef __XRDHTTP_PROTOCOL_H__
25 #define __XRDHTTP_PROTOCOL_H__
26 
37 #include <stdlib.h>
38 #include <unistd.h>
39 #include <sys/types.h>
40 
41 #include "XrdSys/XrdSysError.hh"
42 #include "XrdSys/XrdSysPthread.hh"
44 #include "Xrd/XrdObject.hh"
46 #include "XrdOuc/XrdOucStream.hh"
47 #include "Xrd/XrdProtocol.hh"
48 #include "XrdOuc/XrdOucHash.hh"
49 
50 #include <openssl/ssl.h>
51 
52 #include <vector>
53 
54 #include "XrdHttpReq.hh"
55 
56 /******************************************************************************/
57 /* D e f i n e s */
58 /******************************************************************************/
59 
60 
61 #ifndef __GNUC__
62 #define __attribute__(x)
63 #endif
64 
65 class XrdOucTokenizer;
66 class XrdOucTrace;
67 class XrdBuffer;
68 class XrdLink;
69 class XrdXrootdProtocol;
70 class XrdHttpSecXtractor;
71 class XrdHttpExtHandler;
72 struct XrdVersionInfo;
73 class XrdOucGMap;
74 class XrdCryptoFactory;
75 
76 class XrdHttpProtocol : public XrdProtocol {
77 
78  friend class XrdHttpReq;
79  friend class XrdHttpExtReq;
80 
81 public:
82 
84  static int Configure(char *parms, XrdProtocol_Config *pi);
85 
87  void DoIt() {
88  if (Resume) (*this.*Resume)();
89  }
90 
93 
95  int Process(XrdLink *lp); // Sync: Job->Link.DoIt->Process
96 
97 
99  void Recycle(XrdLink *lp, int consec, const char *reason);
100 
102  int Stats(char *buff, int blen, int do_sync = 0);
103 
104 
105 
106 
108  int doStat(char *fname);
109 
111  int doChksum(const XrdOucString &fname);
112 
114  XrdHttpProtocol(const XrdHttpProtocol&) = default;
116  XrdHttpProtocol(bool imhttps);
118  Cleanup();
119  }
120 
123 
124 
127 
129  bool isHTTPS() { return ishttps; }
130 
131 private:
132 
133 
136 
138  static bool InitTLS();
139 
141  static bool InitSecurity();
142 
144  int StartSimpleResp(int code, const char *desc, const char *header_to_add, long long bodylen, bool keepalive);
145 
147  int SendData(const char *body, int bodylen);
148 
150  void Cleanup();
151 
153  void Reset();
154 
158 
162 
163  // Handle gridmap file mapping if present
164  //
165  // @return 0 if successful, otherwise !0
167 
170  int getDataOneShot(int blen, bool wait=false);
171 
173  static BIO *CreateBIO(XrdLink *lp);
174 
176  static int Config(const char *fn, XrdOucEnv *myEnv);
177  static const char *Configed();
178  static int xtrace(XrdOucStream &Config);
182  static int xexthandler(XrdOucStream & Config, const char *ConfigFN, XrdOucEnv *myEnv);
192  static int xgmap(XrdOucStream &Config);
199 
200  static bool isRequiredXtractor; // If true treat secxtractor errors as fatal
202 
203  // Loads the SecXtractor plugin, if available
204  static int LoadSecXtractor(XrdSysError *eDest, const char *libName,
205  const char *libParms);
206 
207  // An oldstyle struct array to hold exthandlers
208  #define MAX_XRDHTTPEXTHANDLERS 4
209  static struct XrdHttpExtHandlerInfo {
210  char name[16];
213  static int exthandlercnt;
214 
215  // Loads the ExtHandler plugin, if available
216  static int LoadExtHandler(XrdSysError *eDest, const char *libName,
217  const char *configFN, const char *libParms,
218  XrdOucEnv *myEnv, const char *instName);
219 
220  // Determines whether one of the loaded ExtHandlers are interested in
221  // handling a given request.
222  //
223  // Returns NULL if there is no matching handler.
225 
226  // Tells if an ext handler with the given name has already been loaded
227  static bool ExtHandlerLoaded(const char *handlername);
228 
233 
236 
240  int BuffUsed();
242  int BuffFree();
243 
245  void BuffConsume(int blen);
247  int BuffgetData(int blen, char **data, bool wait);
250 
252  int SendSimpleResp(int code, const char *desc, const char *header_to_add, const char *body, long long bodylen, bool keepalive);
253 
255  // API.
256  int StartChunkedResp(int code, const char *desc, const char *header_to_add, bool keepalive);
257 
259  // indicates that this is the last chunk in the response.
260  int ChunkResp(const char *body, long long bodylen);
261 
263  char *GetClientIPStr();
264 
267 
270 
272  SSL *ssl;
273 
275  BIO *sbio;
276 
278  static BIO *sslbio_err;
279 
281  bool ishttps;
282 
285  bool ssldone;
287 
288 protected:
289 
290  // Statistical area
291  //
292 // static XrdXrootdStats *SI;
293 // int numReads; // Count for kXR_read
294 // int numReadP; // Count for kXR_read pre-preads
295 // int numReadV; // Count for kR_readv
296 // int numSegsV; // Count for kR_readv segmens
297 // int numWrites; // Count
298 // int numFiles; // Count
299 //
300 // int cumReads; // Count less numReads
301 // int cumReadP; // Count less numReadP
302 // int cumReadV; // Count less numReadV
303 // int cumSegsV; // Count less numSegsV
304 // int cumWrites; // Count less numWrites
305 // long long totReadP; // Bytes
306 
307  static XrdScheduler *Sched; // System scheduler
308  static XrdBuffManager *BPool; // Buffer manager
309  static XrdSysError eDest; // Error message handler
310  static XrdSecService *CIA; // Authentication Server
311 
314 
317  char *Addr_str;
318 
320  static XrdOucGMap *servGMap; // Grid mapping service
321 
324 
325 
329 
330 
331  //
332  // Processing configuration values
333  //
334 
336  static int hailWait;
337 
339  static int readWait;
340 
342  static int Port;
343 
345  static char * Port_str;
346 
349 
351  static char *gridmap;// [s] gridmap file [/etc/grid-security/gridmap]
352  static bool isRequiredGridmap; // If true treat gridmap errors as fatal
353 
355  static char *secretkey;
356 
358  static int sslverifydepth;
359 
361  static bool isdesthttps;
362 
364  static char *listredir;
365 
367  static bool listdeny;
368 
370  static bool selfhttps2http;
371 
373  static bool embeddedstatic;
374 
375  // Url to redirect to in the case a /static is requested
376  static char *staticredir;
377 
378  // Hash that keeps preloaded files
380  char *data;
381  int len;
382  };
384 
387 
389  static std::map< std::string, std::string > hdr2cgimap;
390 
392  static int m_bio_type;
393 
395  static BIO_METHOD *m_bio_method;
396 };
397 #endif
XrdHttpProtocol::LoadSecXtractor
static int LoadSecXtractor(XrdSysError *eDest, const char *libName, const char *libParms)
kXR_int32
int kXR_int32
Definition: XPtypes.hh:89
XrdHttpProtocol::readWait
static int readWait
Timeout for reading data.
Definition: XrdHttpProtocol.hh:339
XrdSecInterface.hh
XrdHttpProtocol::xlistdeny
static int xlistdeny(XrdOucStream &Config)
XrdHttpProtocol::xtlsreuse
static int xtlsreuse(XrdOucStream &Config)
XrdHttpProtocol::Configure
static int Configure(char *parms, XrdProtocol_Config *pi)
Read and apply the configuration.
XrdHttpProtocol::myBuffEnd
char * myBuffEnd
Definition: XrdHttpProtocol.hh:232
XrdHttpProtocol::BuffgetData
int BuffgetData(int blen, char **data, bool wait)
Get a pointer, valid for up to blen bytes from the buffer. Returns the validity.
XrdHttpProtocol::operator=
XrdHttpProtocol operator=(const XrdHttpProtocol &rhs)
XrdHttpProtocol::ResumeBytes
long ResumeBytes
Tells that we are just waiting to have N bytes in the buffer.
Definition: XrdHttpProtocol.hh:269
XrdHttpProtocol::Link
XrdLink * Link
The link we are bound to.
Definition: XrdHttpProtocol.hh:313
XrdHttpProtocol::doChksum
int doChksum(const XrdOucString &fname)
Perform a checksum request.
XrdHttpProtocol::Reset
void Reset()
Reset values, counters, in order to reutilize an object of this class.
XrdOucGMap
Definition: XrdOucGMap.hh:49
XrdXrootd::Bridge
Definition: XrdXrootdBridge.hh:62
XrdHttpProtocol::xhttpsmode
static int xhttpsmode(XrdOucStream &Config)
XrdHttpProtocol::exthandler
static struct XrdHttpProtocol::XrdHttpExtHandlerInfo exthandler[MAX_XRDHTTPEXTHANDLERS]
XrdHttpProtocol::SendData
int SendData(const char *body, int bodylen)
Send some generic data to the client.
XrdHttpProtocol::xdesthttps
static int xdesthttps(XrdOucStream &Config)
XrdSysPthread.hh
XrdHttpProtocol::exthandlercnt
static int exthandlercnt
Definition: XrdHttpProtocol.hh:213
XrdHttpProtocol::hdr2cgimap
static std::map< std::string, std::string > hdr2cgimap
Rules that turn HTTP headers to cgi tokens in the URL, for internal comsumption.
Definition: XrdHttpProtocol.hh:389
XrdHttpProtocol::ProtStack
static XrdObjectQ< XrdHttpProtocol > ProtStack
Definition: XrdHttpProtocol.hh:121
XrdHttpProtocol::eDest
static XrdSysError eDest
Definition: XrdHttpProtocol.hh:309
XrdHttpProtocol::m_bio_type
static int m_bio_type
Type identifier for our custom BIO objects.
Definition: XrdHttpProtocol.hh:392
XrdHttpProtocol::InitTLS
static bool InitTLS()
Initialization of the ssl security things.
XrdHttpProtocol::listdeny
static bool listdeny
If true, any form of listing is denied.
Definition: XrdHttpProtocol.hh:367
XrdHttpProtocol::StaticPreloadInfo
Definition: XrdHttpProtocol.hh:379
XrdHttpProtocol::embeddedstatic
static bool embeddedstatic
If true, use the embedded css and icons.
Definition: XrdHttpProtocol.hh:373
XrdObject.hh
XrdObject< XrdHttpProtocol >
XrdHttpProtocol::sslcadir
static char * sslcadir
Definition: XrdHttpProtocol.hh:348
XrdHttpProtocol::Cleanup
void Cleanup()
Deallocate resources, in order to reutilize an object of this class.
XrdHttpProtocol::Bridge
XrdXrootd::Bridge * Bridge
The Bridge that we use to exercise the xrootd internals.
Definition: XrdHttpProtocol.hh:323
XrdBuffManager
Definition: XrdBuffer.hh:72
XrdHttpProtocol::Process
int Process(XrdLink *lp)
Process data incoming from the socket.
XrdHttpProtocol::myRole
static kXR_int32 myRole
Our role.
Definition: XrdHttpProtocol.hh:386
XrdSecService
Definition: XrdSecInterface.hh:552
XrdHttpProtocol::ssldone
bool ssldone
Definition: XrdHttpProtocol.hh:285
XrdProtocol_Config
Definition: XrdProtocol.hh:56
XrdHttpProtocol::ExtHandlerLoaded
static bool ExtHandlerLoaded(const char *handlername)
XrdOucHash
Definition: XrdOucHash.hh:128
XrdHttpProtocol::HandleAuthentication
int HandleAuthentication(XrdLink *lp)
XrdHttpProtocol::sslbio_err
static BIO * sslbio_err
bio to print SSL errors
Definition: XrdHttpProtocol.hh:278
XrdHttpProtocol::BuffgetLine
int BuffgetLine(XrdOucString &dest)
Copy a full line of text from the buffer into dest. Zero if no line can be found in the buffer.
XrdHttpProtocol::Config
static int Config(const char *fn, XrdOucEnv *myEnv)
Functions related to the configuration.
XrdHttpProtocol::xstaticredir
static int xstaticredir(XrdOucStream &Config)
XrdHttpExtHandler
Definition: XrdHttpExtHandler.hh:79
XrdHttpProtocol::CurrentReq
XrdHttpReq CurrentReq
Definition: XrdHttpProtocol.hh:328
XrdHttpProtocol::listredir
static char * listredir
Url to redirect to in the case a listing is requested.
Definition: XrdHttpProtocol.hh:364
XrdHttpProtocol::LoadExtHandler
static int LoadExtHandler(XrdSysError *eDest, const char *libName, const char *configFN, const char *libParms, XrdOucEnv *myEnv, const char *instName)
XrdHttpProtocol::sslcipherfilter
static char * sslcipherfilter
Definition: XrdHttpProtocol.hh:348
XrdOucStream
Definition: XrdOucStream.hh:47
XrdHttpProtocol::xselfhttps2http
static int xselfhttps2http(XrdOucStream &Config)
XrdOucHash.hh
XrdHttpProtocol::XrdHttpExtHandlerInfo::ptr
XrdHttpExtHandler * ptr
Definition: XrdHttpProtocol.hh:211
XrdHttpProtocol::ChunkResp
int ChunkResp(const char *body, long long bodylen)
Send a (potentially partial) body in a chunked response; invoking with NULL body.
XrdHttpReq
Definition: XrdHttpReq.hh:77
XrdHttpProtocol::isHTTPS
bool isHTTPS()
called via https
Definition: XrdHttpProtocol.hh:129
XrdHttpProtocol::sslcert
static char * sslcert
OpenSSL stuff.
Definition: XrdHttpProtocol.hh:348
XrdHttpProtocol::sslkey
static char * sslkey
Definition: XrdHttpProtocol.hh:348
XrdProtocol.hh
XrdHttpProtocol::StaticPreloadInfo::data
char * data
Definition: XrdHttpProtocol.hh:380
XrdHttpProtocol::InitSecurity
static bool InitSecurity()
Initialization fo security addon.
XrdHttpProtocol::tmpline
XrdOucString tmpline
A nice var to hold the current header line.
Definition: XrdHttpProtocol.hh:235
XrdHttpProtocol::myBuffStart
char * myBuffStart
The circular pointers.
Definition: XrdHttpProtocol.hh:232
XrdHttpProtocol::XrdHttpExtHandlerInfo::name
char name[16]
Definition: XrdHttpProtocol.hh:210
XrdHttpProtocol::CIA
static XrdSecService * CIA
Definition: XrdHttpProtocol.hh:310
XrdHttpProtocol::DoIt
void DoIt()
Override from the base class.
Definition: XrdHttpProtocol.hh:87
XrdHttpProtocol::xsslcert
static int xsslcert(XrdOucStream &Config)
XrdObjectQ< XrdHttpProtocol >
XrdHttpProtocol::doStat
int doStat(char *fname)
Perform a Stat request.
XrdHttpProtocol::XrdHttpProtocol
XrdHttpProtocol(const XrdHttpProtocol &)=default
Ctor, dtors and copy ctor.
XrdOucEnv
Definition: XrdOucEnv.hh:42
XrdHttpSecXtractor
Definition: XrdHttpSecXtractor.hh:42
XrdHttpProtocol::Addr_str
char * Addr_str
Definition: XrdHttpProtocol.hh:317
XrdHttpProtocol::CreateBIO
static BIO * CreateBIO(XrdLink *lp)
Create a new BIO object from an XrdLink. Returns NULL on failure.
XrdHttpProtocol::xgmap
static int xgmap(XrdOucStream &Config)
XrdHttpProtocol::Sched
static XrdScheduler * Sched
Definition: XrdHttpProtocol.hh:307
XrdHttpProtocol::sslverifydepth
static int sslverifydepth
Depth of verification of a certificate chain.
Definition: XrdHttpProtocol.hh:358
MAX_XRDHTTPEXTHANDLERS
#define MAX_XRDHTTPEXTHANDLERS
Definition: XrdHttpProtocol.hh:208
XrdScheduler
Definition: XrdScheduler.hh:45
XrdHttpProtocol::xembeddedstatic
static int xembeddedstatic(XrdOucStream &Config)
XrdHttpProtocol::GetVOMSData
int GetVOMSData(XrdLink *lp)
XrdHttpProtocol::StaticPreloadInfo::len
int len
Definition: XrdHttpProtocol.hh:381
XrdHttpProtocol::xtrace
static int xtrace(XrdOucStream &Config)
XrdHttpProtocol::DoingLogin
bool DoingLogin
Tells that we are just logging in.
Definition: XrdHttpProtocol.hh:266
XrdHttpProtocol::selfhttps2http
static bool selfhttps2http
If client is HTTPS, self-redirect with HTTP+token.
Definition: XrdHttpProtocol.hh:370
XrdHttpProtocol::Match
XrdProtocol * Match(XrdLink *lp)
Tells if the oustanding bytes on the socket match this protocol implementation.
XrdHttpProtocol::SendSimpleResp
int SendSimpleResp(int code, const char *desc, const char *header_to_add, const char *body, long long bodylen, bool keepalive)
Sends a basic response. If the length is < 0 then it is calculated internally.
XrdHttpProtocol::secxtractor
static XrdHttpSecXtractor * secxtractor
Definition: XrdHttpProtocol.hh:201
XrdHttpProtocol::FindMatchingExtHandler
static XrdHttpExtHandler * FindMatchingExtHandler(const XrdHttpReq &)
XrdHttpProtocol::xsslcafile
static int xsslcafile(XrdOucStream &Config)
XrdHttpProtocol
Definition: XrdHttpProtocol.hh:76
XrdXrootdBridge.hh
XrdHttpProtocol::isRequiredXtractor
static bool isRequiredXtractor
Definition: XrdHttpProtocol.hh:200
XrdHttpProtocol::Recycle
void Recycle(XrdLink *lp, int consec, const char *reason)
Recycle this instance.
XrdHttpProtocol::servGMap
static XrdOucGMap * servGMap
The instance of the DN mapper. Created only when a valid path is given.
Definition: XrdHttpProtocol.hh:320
XrdHttpProtocol::xsecretkey
static int xsecretkey(XrdOucStream &Config)
XrdHttpProtocol::xsslkey
static int xsslkey(XrdOucStream &Config)
XrdHttpProtocol::staticpreload
static XrdOucHash< StaticPreloadInfo > * staticpreload
Definition: XrdHttpProtocol.hh:383
XrdHttpProtocol::Stats
int Stats(char *buff, int blen, int do_sync=0)
Get activity stats.
XrdHttpProtocol::m_bio_method
static BIO_METHOD * m_bio_method
C-style vptr table for our custom BIO objects.
Definition: XrdHttpProtocol.hh:395
XrdHttpProtocol::XrdHttpProtocol
XrdHttpProtocol(bool imhttps)
XrdHttpProtocol::myCryptoFactory
static XrdCryptoFactory * myCryptoFactory
Definition: XrdHttpProtocol.hh:286
XrdHttpProtocol::ishttps
bool ishttps
Tells if the client is https.
Definition: XrdHttpProtocol.hh:281
XrdHttpProtocol::xlistredir
static int xlistredir(XrdOucStream &Config)
XrdHttpProtocol::staticredir
static char * staticredir
Definition: XrdHttpProtocol.hh:376
XrdHttpProtocol::xsslcipherfilter
static int xsslcipherfilter(XrdOucStream &Config)
XrdHttpProtocol::gridmap
static char * gridmap
Gridmap file location. The same used by XrdSecGsi.
Definition: XrdHttpProtocol.hh:351
XrdHttpProtocol::getDataOneShot
int getDataOneShot(int blen, bool wait=false)
XrdHttpProtocol::hailWait
static int hailWait
Timeout for reading the handshake.
Definition: XrdHttpProtocol.hh:336
XrdHttpProtocol::myBuff
XrdBuffer * myBuff
Circular Buffer used to read the request.
Definition: XrdHttpProtocol.hh:230
XrdHttpProtocol::sslcafile
static char * sslcafile
Definition: XrdHttpProtocol.hh:348
XrdHttpProtocol::StartSimpleResp
int StartSimpleResp(int code, const char *desc, const char *header_to_add, long long bodylen, bool keepalive)
Start a response back to the client.
XrdHttpProtocol::xstaticpreload
static int xstaticpreload(XrdOucStream &Config)
XrdHttpProtocol::Resume
int(XrdHttpProtocol::* Resume)()
The resume function.
Definition: XrdHttpProtocol.hh:135
XrdHttpProtocol::ProtLink
XrdObject< XrdHttpProtocol > ProtLink
Definition: XrdHttpProtocol.hh:122
XrdProtocol
Definition: XrdProtocol.hh:125
XrdHttpProtocol::GetClientIPStr
char * GetClientIPStr()
Gets a string that represents the IP address of the client. Must be freed.
XrdHttpProtocol::xsslverifydepth
static int xsslverifydepth(XrdOucStream &Config)
XrdSecEntity
Definition: XrdSecEntity.hh:64
XrdHttpProtocol::SecEntity
XrdSecEntity SecEntity
Authentication area.
Definition: XrdHttpProtocol.hh:126
XrdBuffer
Definition: XrdBuffer.hh:42
XrdHttpProtocol::~XrdHttpProtocol
~XrdHttpProtocol()
Definition: XrdHttpProtocol.hh:117
XrdXrootdProtocol
Definition: XrdXrootdProtocol.hh:96
XrdHttpExtReq
Definition: XrdHttpExtHandler.hh:45
XrdHttpProtocol::BuffConsume
void BuffConsume(int blen)
Consume some bytes from the buffer.
XrdHttpProtocol::BPool
static XrdBuffManager * BPool
Definition: XrdHttpProtocol.hh:308
XrdHttpProtocol::ssl
SSL * ssl
Private SSL context.
Definition: XrdHttpProtocol.hh:272
XrdHttpProtocol::Configed
static const char * Configed()
XrdOucTrace
Definition: XrdOucTrace.hh:36
XrdHttpProtocol::isRequiredGridmap
static bool isRequiredGridmap
Definition: XrdHttpProtocol.hh:352
XrdOucTokenizer
Definition: XrdOucTokenizer.hh:33
XrdHttpProtocol::StartChunkedResp
int StartChunkedResp(int code, const char *desc, const char *header_to_add, bool keepalive)
Starts a chunked response; body of request is sent over multiple parts using the SendChunkResp.
XrdHttpProtocol::BuffUsed
int BuffUsed()
How many bytes in the buffer.
XrdSysError
Definition: XrdSysError.hh:90
XrdHttpProtocol::sbio
BIO * sbio
Private SSL bio.
Definition: XrdHttpProtocol.hh:275
XrdHttpProtocol::BuffAvailable
int BuffAvailable()
How many bytes still fit into the buffer in a contiguous way.
XrdHttpProtocol::secretkey
static char * secretkey
The key used to calculate the url hashes.
Definition: XrdHttpProtocol.hh:355
XrdOucStream.hh
XrdHttpProtocol::BuffFree
int BuffFree()
How many bytes free in the buffer.
XrdHttpReq.hh
Main request/response class, handling the logical status of the communication.
XrdHttpProtocol::Port
static int Port
Our port.
Definition: XrdHttpProtocol.hh:342
XrdOucString
Definition: XrdOucString.hh:254
XrdHttpProtocol::xexthandler
static int xexthandler(XrdOucStream &Config, const char *ConfigFN, XrdOucEnv *myEnv)
XrdCryptoFactory
Definition: XrdCryptoFactory.hh:122
XrdHttpProtocol::isdesthttps
static bool isdesthttps
True if the redirections must be towards https targets.
Definition: XrdHttpProtocol.hh:361
XrdHttpProtocol::xsslcadir
static int xsslcadir(XrdOucStream &Config)
XrdHttpProtocol::HandleGridMap
int HandleGridMap(XrdLink *lp)
XrdHttpProtocol::xsecxtractor
static int xsecxtractor(XrdOucStream &Config)
XrdHttpProtocol::Port_str
static char * Port_str
Our port, as a string.
Definition: XrdHttpProtocol.hh:345
XrdHttpProtocol::XrdHttpExtHandlerInfo
Definition: XrdHttpProtocol.hh:209
XrdSysError.hh
XrdHttpProtocol::xheader2cgi
static int xheader2cgi(XrdOucStream &Config)