Functions | Variables

ProxyClientSession.cc File Reference

ProxyClientSession - Base class for protocol client sessions. More...

#include "HttpConfig.h"
#include "HttpDebugNames.h"
#include "ProxyClientSession.h"
Include dependency graph for ProxyClientSession.cc:

Go to the source code of this file.

Functions

static bool is_valid_hook (TSHttpHookID hookid)

Variables

static int64_t next_cs_id = 0
static const TSEvent eventmap [TS_HTTP_LAST_HOOK+1]

Detailed Description

ProxyClientSession - Base class for protocol client sessions.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file ProxyClientSession.cc.


Function Documentation

static bool is_valid_hook ( TSHttpHookID  hookid  )  [static]

Definition at line 64 of file ProxyClientSession.cc.


Variable Documentation

const TSEvent eventmap[TS_HTTP_LAST_HOOK+1] [static]
Initial value:
 {
  TS_EVENT_HTTP_READ_REQUEST_HDR,       
  TS_EVENT_HTTP_OS_DNS,                 
  TS_EVENT_HTTP_SEND_REQUEST_HDR,       
  TS_EVENT_HTTP_READ_CACHE_HDR,         
  TS_EVENT_HTTP_READ_RESPONSE_HDR,      
  TS_EVENT_HTTP_SEND_RESPONSE_HDR,      
  TS_EVENT_HTTP_REQUEST_TRANSFORM,      
  TS_EVENT_HTTP_RESPONSE_TRANSFORM,     
  TS_EVENT_HTTP_SELECT_ALT,             
  TS_EVENT_HTTP_TXN_START,              
  TS_EVENT_HTTP_TXN_CLOSE,              
  TS_EVENT_HTTP_SSN_START,              
  TS_EVENT_HTTP_SSN_CLOSE,              
  TS_EVENT_HTTP_CACHE_LOOKUP_COMPLETE,  
  TS_EVENT_HTTP_PRE_REMAP,              
  TS_EVENT_HTTP_POST_REMAP,             
  TS_EVENT_NONE,                        
  TS_EVENT_NONE,                        
}

Definition at line 42 of file ProxyClientSession.cc.

int64_t next_cs_id = 0 [static]

Definition at line 28 of file ProxyClientSession.cc.

Referenced by ProxyClientSession::next_connection_id().