25#include <openssl/evp.h>
26#include <openssl/pem.h>
27#include <openssl/err.h>
29#define BUFFER_ALLOC_INCREMENT 256
45 int Process(
const char* szBuffer,
int nBufLength,
bool bEOF);
48 int Alloc(
char*& szBuffer,
int nRequiredSize);
49 int ReAlloc(
char*& szBuffer,
int& nBufferLength,
int nRequiredSize);
50 void Free(
char* szBuffer);
53 static void RemoveSWSP(
char* pBuffer,
int& nBufLength);
62 virtual int ProcessBody(
char* szBuffer,
int nBufLength,
bool bEOF);
int ReAlloc(char *&szBuffer, int &nBufferLength, int nRequiredSize)
static string RelaxHeader(const string &sHeader)
static void CompressSWSP(char *pBuffer, int &nBufLength)
static void RemoveSWSP(char *szBuffer)
list< string > HeaderList
int Alloc(char *&szBuffer, int nRequiredSize)
virtual int ProcessHeaders(void)
virtual int ProcessBody(char *szBuffer, int nBufLength, bool bEOF)
void Free(char *szBuffer)
int Process(const char *szBuffer, int nBufLength, bool bEOF)