Data Structures | Functions | Variables

I_RecHttp.h File Reference

HTTP configuration support. More...

#include <ts/ink_inet.h>
#include <ts/ink_resolver.h>
#include <ts/apidefs.h>
#include <ts/Vec.h>
Include dependency graph for I_RecHttp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  SessionProtocolSet
 A set of session protocols. More...
class  SessionProtocolNameRegistry
 Registered session protocol names. More...
struct  HttpProxyPort
 Description of an proxy port. More...

Functions

void RecHttpLoadIp (char const *name, IpAddr &ip4, IpAddr &ip6)
 Load default inbound IP addresses from the configuration file.
void ts_session_protocol_well_known_name_indices_init ()
 Session Protocol initialization.

Variables

SessionProtocolSet HTTP_PROTOCOL_SET
SessionProtocolSet HTTP2_PROTOCOL_SET
SessionProtocolSet SPDY_PROTOCOL_SET
SessionProtocolSet DEFAULT_NON_TLS_SESSION_PROTOCOL_SET
SessionProtocolSet DEFAULT_TLS_SESSION_PROTOCOL_SET
SessionProtocolNameRegistry globalSessionProtocolNameRegistry

Detailed Description

HTTP configuration support.

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 I_RecHttp.h.


Function Documentation

void RecHttpLoadIp ( char const *  name,
IpAddr ip4,
IpAddr ip6 
)

Load default inbound IP addresses from the configuration file.

Parameters:
name Name of value in configuration file.
[out] ip4 IPv4 address.
[out] ip6 Ipv6 address.

Definition at line 66 of file RecHttp.cc.

References ats_ip_getbestaddrinfo(), ats_is_ip4(), ats_is_ip6(), Tokenizer::Initialize(), IpAddr::invalidate(), IpAddr::isValid(), REC_ERR_OKAY, RecGetRecordString(), and Warning.

Referenced by HttpConfig::startup().

void ts_session_protocol_well_known_name_indices_init (  ) 

Session Protocol initialization.

This must be called before any proxy port parsing is done.

Definition at line 578 of file RecHttp.cc.

Referenced by main().


Variable Documentation

Definition at line 63 of file RecHttp.cc.

Definition at line 64 of file RecHttp.cc.

Definition at line 30 of file RecHttp.cc.

Definition at line 62 of file RecHttp.cc.

Referenced by MakeHttpProxyAcceptor().

Definition at line 60 of file RecHttp.cc.

Referenced by MakeHttpProxyAcceptor().

Definition at line 61 of file RecHttp.cc.

Referenced by MakeHttpProxyAcceptor().