![]() |
XRootD
|
#include "XrdVersion.hh"
#include "Xrd/XrdBuffer.hh"
#include "Xrd/XrdLink.hh"
#include "XProtocol/XProtocol.hh"
#include "XrdOuc/XrdOucStream.hh"
#include "XrdOuc/XrdOucEnv.hh"
#include "XrdOuc/XrdOucGMap.hh"
#include "XrdSys/XrdSysE2T.hh"
#include "XrdSys/XrdSysTimer.hh"
#include "XrdOuc/XrdOucPinLoader.hh"
#include "XrdHttpTrace.hh"
#include "XrdHttpProtocol.hh"
#include <sys/stat.h>
#include "XrdHttpUtils.hh"
#include "XrdHttpSecXtractor.hh"
#include "XrdHttpExtHandler.hh"
#include "XrdTls/XrdTls.hh"
#include "XrdTls/XrdTlsContext.hh"
#include "XrdOuc/XrdOucUtils.hh"
#include "XrdOuc/XrdOucPrivateUtils.hh"
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <vector>
#include <arpa/inet.h>
#include <sstream>
#include <cctype>
#include <fcntl.h>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
XrdHttpProtoInfo | |
Macros | |
#define | HTTPS_ALERT(x, y, z) |
#define | TRACELINK lp |
#define | TRACELINK Link |
#define | TRACELINK Link |
#define | TS_Xeq(x, m) (!strcmp(x,var)) GoNo = m(Config) |
#define | TS_Xeq3(x, m) (!strcmp(x,var)) GoNo = m(Config, extHIVec) |
#define | XRHTTP_TK_GRACETIME 600 |
Functions | |
void * | BIO_get_data (BIO *bio) |
int | BIO_get_flags (BIO *bio) |
int | BIO_get_init (BIO *bio) |
int | BIO_get_shutdown (BIO *bio) |
void | BIO_set_data (BIO *bio, void *ptr) |
void | BIO_set_flags (BIO *bio, int flags) |
void | BIO_set_init (BIO *bio, int init) |
void | BIO_set_shutdown (BIO *bio, int shut) |
static int | BIO_XrdLink_create (BIO *bio) |
static long | BIO_XrdLink_ctrl (BIO *bio, int cmd, long num, void *ptr) |
static int | BIO_XrdLink_destroy (BIO *bio) |
static int | BIO_XrdLink_read (BIO *bio, char *data, size_t datal, size_t *read) |
int | BIO_XrdLink_write (BIO *bio, const char *data, size_t datal, size_t *written) |
static | XrdVERSIONINFODEF (compiledVer, XrdHttpProtocolTest, XrdVNUMBER, XrdVERSION) |
Variables | |
static const int | XrdHttpProtoInfo::hsmAuto = -1 |
static const int | XrdHttpProtoInfo::hsmMan = 1 |
static const int | XrdHttpProtoInfo::hsmOff = 0 |
static const int | XrdHttpProtoInfo::hsmOn = 1 |
int | XrdHttpProtoInfo::httpsmode = hsmAuto |
bool | XrdHttpProtoInfo::httpsspec = false |
int | XrdHttpProtoInfo::tlsCache = XrdTlsContext::scOff |
XrdTlsContext::ClientAuthSetting | XrdHttpProtoInfo::tlsClientAuth = XrdTlsContext::ClientAuthSetting::kOn |
XrdTlsContext * | XrdHttpProtoInfo::xrdctx = 0 |
bool | XrdHttpProtoInfo::xrdctxVer = false |
const char * | XrdHttpSecEntityTident = "http" |
XrdSysTrace | XrdHttpTrace ("http") |
#define HTTPS_ALERT | ( | x, | |
y, | |||
z | |||
) |
Definition at line 984 of file XrdHttpProtocol.cc.
#define TRACELINK lp |
Definition at line 926 of file XrdHttpProtocol.cc.
#define TRACELINK Link |
Definition at line 926 of file XrdHttpProtocol.cc.
#define TRACELINK Link |
Definition at line 926 of file XrdHttpProtocol.cc.
#define TS_Xeq | ( | x, | |
m | |||
) | (!strcmp(x,var)) GoNo = m(Config) |
Definition at line 980 of file XrdHttpProtocol.cc.
#define TS_Xeq3 | ( | x, | |
m | |||
) | (!strcmp(x,var)) GoNo = m(Config, extHIVec) |
Definition at line 982 of file XrdHttpProtocol.cc.
#define XRHTTP_TK_GRACETIME 600 |
Definition at line 58 of file XrdHttpProtocol.cc.
void* BIO_get_data | ( | BIO * | bio | ) |
Definition at line 161 of file XrdHttpProtocol.cc.
Referenced by BIO_XrdLink_destroy(), BIO_XrdLink_read(), and BIO_XrdLink_write().
int BIO_get_flags | ( | BIO * | bio | ) |
Definition at line 168 of file XrdHttpProtocol.cc.
int BIO_get_init | ( | BIO * | bio | ) |
Definition at line 175 of file XrdHttpProtocol.cc.
int BIO_get_shutdown | ( | BIO * | bio | ) |
Definition at line 184 of file XrdHttpProtocol.cc.
Referenced by BIO_XrdLink_ctrl(), and BIO_XrdLink_destroy().
void BIO_set_data | ( | BIO * | bio, |
void * | ptr | ||
) |
Definition at line 164 of file XrdHttpProtocol.cc.
Referenced by BIO_XrdLink_create().
void BIO_set_flags | ( | BIO * | bio, |
int | flags | ||
) |
Definition at line 172 of file XrdHttpProtocol.cc.
Referenced by BIO_XrdLink_create(), BIO_XrdLink_destroy(), and Tobase64().
void BIO_set_init | ( | BIO * | bio, |
int | init | ||
) |
Definition at line 178 of file XrdHttpProtocol.cc.
Referenced by BIO_XrdLink_create(), and BIO_XrdLink_destroy().
void BIO_set_shutdown | ( | BIO * | bio, |
int | shut | ||
) |
Definition at line 181 of file XrdHttpProtocol.cc.
Referenced by BIO_XrdLink_ctrl().
|
static |
Definition at line 408 of file XrdHttpProtocol.cc.
References BIO_set_data(), BIO_set_flags(), and BIO_set_init().
|
static |
Definition at line 441 of file XrdHttpProtocol.cc.
References BIO_get_shutdown(), and BIO_set_shutdown().
|
static |
Definition at line 427 of file XrdHttpProtocol.cc.
References BIO_get_data(), BIO_get_shutdown(), BIO_set_flags(), BIO_set_init(), and XrdCl::Close().
|
static |
Definition at line 367 of file XrdHttpProtocol.cc.
References BIO_get_data(), read(), and XrdLink::Recv().
int BIO_XrdLink_write | ( | BIO * | bio, |
const char * | data, | ||
size_t | datal, | ||
size_t * | written | ||
) |
Definition at line 324 of file XrdHttpProtocol.cc.
References BIO_get_data(), and XrdLink::Send().
|
static |
const char* XrdHttpSecEntityTident = "http" |
Definition at line 66 of file XrdHttpProtocol.cc.
XrdSysTrace XrdHttpTrace("http") | ( | "http" | ) |
Referenced by XrdHttpProtocol::Configure().