#include "XrdVersion.hh"
#include "Xrd/XrdBuffer.hh"
#include "Xrd/XrdLink.hh"
#include "XProtocol/XProtocol.hh"
#include "XrdOuc/XrdOuca2x.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 "XrdHttpMon.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 "XrdHttpCors/XrdHttpCors.hh"
#include <charconv>
#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.
|
| 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, int datal) |
| |
| int | BIO_XrdLink_write (BIO *bio, const char *data, int datal) |
| |
| static | XrdVERSIONINFODEF (compiledVer, XrdHttpProtocolTest, XrdVNUMBER, XrdVERSION) |
| |
◆ HTTPS_ALERT
| #define HTTPS_ALERT |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Value:
eDest.Say("Config http." x " overrides the xrd." y " directive.")
Definition at line 901 of file XrdHttpProtocol.cc.
◆ TRACELINK [1/3]
◆ TRACELINK [2/3]
◆ TRACELINK [3/3]
◆ TS_Xeq
| #define TS_Xeq |
( |
|
x, |
|
|
|
m |
|
) |
| (!strcmp(x,var)) GoNo = m(Config) |
◆ TS_Xeq3
| #define TS_Xeq3 |
( |
|
x, |
|
|
|
m |
|
) |
| (!strcmp(x,var)) GoNo = m(Config, extHIVec) |
◆ XRHTTP_TK_GRACETIME
| #define XRHTTP_TK_GRACETIME 600 |
◆ BIO_XrdLink_create()
| static int BIO_XrdLink_create |
( |
BIO * |
bio | ) |
|
|
static |
Definition at line 336 of file XrdHttpProtocol.cc.
338 BIO_set_init(bio, 0);
339 BIO_set_data(bio, NULL);
340 BIO_set_flags(bio, 0);
◆ BIO_XrdLink_ctrl()
| static long BIO_XrdLink_ctrl |
( |
BIO * |
bio, |
|
|
int |
cmd, |
|
|
long |
num, |
|
|
void * |
ptr |
|
) |
| |
|
static |
Definition at line 357 of file XrdHttpProtocol.cc.
361 case BIO_CTRL_GET_CLOSE:
362 ret = BIO_get_shutdown(bio);
364 case BIO_CTRL_SET_CLOSE:
365 BIO_set_shutdown(bio, (
int)num);
◆ BIO_XrdLink_destroy()
| static int BIO_XrdLink_destroy |
( |
BIO * |
bio | ) |
|
|
static |
Definition at line 344 of file XrdHttpProtocol.cc.
346 if (bio == NULL)
return 0;
347 if (BIO_get_shutdown(bio)) {
348 if (BIO_get_data(bio)) {
351 BIO_set_init(bio, 0);
352 BIO_set_flags(bio, 0);
CloseImpl< false > Close(Ctx< File > file, time_t timeout=0)
Factory for creating CloseImpl objects.
References XrdCl::Close().
◆ BIO_XrdLink_read()
| static int BIO_XrdLink_read |
( |
BIO * |
bio, |
|
|
char * |
data, |
|
|
int |
datal |
|
) |
| |
|
static |
Definition at line 318 of file XrdHttpProtocol.cc.
327 int ret = lp->
Recv(data, datal);
328 BIO_clear_retry_flags(bio);
330 if ((errno == EINTR) || (errno == EINPROGRESS) || (errno == EAGAIN) || (errno == EWOULDBLOCK))
331 BIO_set_retry_read(bio);
int Recv(char *buff, int blen)
References XrdLink::Recv().
◆ BIO_XrdLink_write()
| int BIO_XrdLink_write |
( |
BIO * |
bio, |
|
|
const char * |
data, |
|
|
int |
datal |
|
) |
| |
Definition at line 300 of file XrdHttpProtocol.cc.
309 int ret = lp->
Send(data, datal);
310 BIO_clear_retry_flags(bio);
312 if ((errno == EINTR) || (errno == EINPROGRESS) || (errno == EAGAIN) || (errno == EWOULDBLOCK))
313 BIO_set_retry_write(bio);
int Send(const char *buff, int blen)
References XrdLink::Send().
◆ XrdVERSIONINFODEF()
| static XrdVERSIONINFODEF |
( |
compiledVer |
, |
|
|
XrdHttpProtocolTest |
, |
|
|
XrdVNUMBER |
, |
|
|
XrdVERSION |
|
|
) |
| |
|
static |
◆ XrdHttpSecEntityTident
| const char* XrdHttpSecEntityTident = "http" |
◆ XrdHttpTrace