A brief file description. More...
#include <stdlib.h>
#include <stdio.h>
#include <pcre.h>
#include <ctype.h>
#include "libts.h"
#include "HttpProxyAPIEnums.h"
#include "ProxyConfig.h"
#include "P_RecProcess.h"
Go to the source code of this file.
A brief file description.
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 HttpConfig.h.
#define HTTP_CLEAR_DYN_STAT | ( | x | ) |
do { \ RecSetRawStatSum(http_rsb, x, 0); \ RecSetRawStatCount(http_rsb, x, 0); \ } while (0);
Definition at line 348 of file HttpConfig.h.
#define HTTP_ConfigReadInteger REC_ConfigReadInteger |
Definition at line 357 of file HttpConfig.h.
#define HTTP_ConfigReadString REC_ConfigReadString |
Definition at line 358 of file HttpConfig.h.
#define HTTP_DECREMENT_DYN_STAT | ( | x | ) | RecIncrRawStat(http_rsb, mutex->thread_holding, (int) x, -1) |
Definition at line 344 of file HttpConfig.h.
Referenced by HttpCacheSM::abort_read(), HttpCacheSM::abort_write(), HttpClientSession::attach_server_session(), HttpTunnel::chain_abort_cache_write(), HttpCacheSM::close_read(), HttpCacheSM::close_write(), HttpClientSession::destroy(), HttpServerSession::do_io_close(), HttpClientSession::do_io_close(), HttpClientSession::release(), HttpSM::release_server_session(), HttpSM::tunnel_handler(), HttpSM::tunnel_handler_cache_read(), HttpSM::tunnel_handler_cache_write(), and HttpSM::tunnel_handler_server().
#define HTTP_INCREMENT_DYN_STAT | ( | x | ) | RecIncrRawStat(http_rsb, mutex->thread_holding, (int) x, 1) |
Definition at line 343 of file HttpConfig.h.
Referenced by HttpSM::attach_client_session(), HttpSM::attach_server_session(), HttpSM::do_redirect(), HttpSM::handle_api_return(), HttpServerSession::new_connection(), HttpClientSession::new_connection(), HttpSM::state_http_server_open(), HttpSM::state_read_client_request_header(), and HttpSM::tunnel_handler_ua().
#define HTTP_READ_DYN_SUM | ( | x, | ||
S | ||||
) | RecGetRawStatSum(http_rsb, (int)x, &S) |
Definition at line 354 of file HttpConfig.h.
Referenced by TSHttpCurrentActiveClientConnectionsGet(), TSHttpCurrentCacheConnectionsGet(), TSHttpCurrentClientConnectionsGet(), and TSHttpCurrentIdleClientConnectionsGet().
#define HTTP_READ_GLOBAL_DYN_SUM | ( | x, | ||
S | ||||
) | RecGetGlobalRawStatSum(http_rsb, (int)x, &S) |
Definition at line 355 of file HttpConfig.h.
Referenced by HttpSM::do_http_server_open(), and TSHttpCurrentServerConnectionsGet().
#define HTTP_RegisterConfigUpdateFunc REC_RegisterConfigUpdateFunc |
Definition at line 359 of file HttpConfig.h.
Referenced by HttpBodyFactory::HttpBodyFactory().
#define HTTP_SUM_DYN_STAT | ( | x, | ||
y | ||||
) | RecIncrRawStat(http_rsb, mutex->thread_holding, (int) x, (int64_t) y) |
Definition at line 345 of file HttpConfig.h.
Referenced by HttpServerSession::do_io_close(), HttpClientSession::do_io_close(), HttpSessionAccept::mainEvent(), and Http2SessionAccept::mainEvent().
#define HTTP_SUM_GLOBAL_DYN_STAT | ( | x, | ||
y | ||||
) | RecIncrGlobalRawStatSum(http_rsb, x, y) |
Definition at line 346 of file HttpConfig.h.
Referenced by HttpServerSession::do_io_close(), and HttpServerSession::new_connection().
anonymous enum |
Definition at line 59 of file HttpConfig.h.
Definition at line 60 of file HttpConfig.cc.
Referenced by HttpTransact::State::record_transaction_stats().
volatile int32_t icp_dynamic_enabled |
Definition at line 1909 of file HttpConfig.cc.
Referenced by HttpTransact::HandleCacheOpenReadHit(), HttpTransact::HandleCacheOpenReadMiss(), init_HttpProxyServer(), and TSHttpIcpDynamicSet().