This file implements an I/O Processor for network I/O. More...
#include "I_EventSystem.h"
#include "I_Socks.h"
Go to the source code of this file.
Data Structures | |
class | NetProcessor |
This is the heart of the Net system. More... | |
struct | NetProcessor::AcceptOptions |
Options for accept . More... | |
Defines | |
#define | NET_CONNECT_TIMEOUT 30 |
Variables | |
inkcoreapi NetProcessor & | netProcessor |
Global NetProcessor singleton object for making net calls. | |
inkcoreapi NetProcessor & | sslNetProcessor |
Global netProcessor singleton object for making ssl enabled net calls. |
This file implements an I/O Processor for network I/O.
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_NetProcessor.h.
#define NET_CONNECT_TIMEOUT 30 |
Definition at line 31 of file I_NetProcessor.h.
inkcoreapi NetProcessor& netProcessor |
Global NetProcessor singleton object for making net calls.
All net processor calls like connect, accept, etc are made using this object.
netProcesors.accept(my_cont, ...); netProcessor.connect_re(my_cont, ...);
Definition at line 477 of file UnixNetProcessor.cc.
Referenced by TestProxy::cacheCreateCacheFileEvent(), ClusterAccept::ClusterAcceptEvent(), CheckConnect::connect_s(), ClusterHandler::connectClusterEvent(), TestProxy::dnsEvent(), HttpSM::do_http_server_open(), SocksEntry::findServer(), NetAccept::getNetProcessor(), PrefetchBlaster::httpClient(), SocksEntry::init(), KeepAliveConn::init(), LogCollationAccept::LogCollationAccept(), main(), SocksProxy::mainEvent(), SocksEntry::mainEvent(), ObjectReloadCont::ObjectReloadEvent(), socks5BasicAuthHandler(), socks5PasswdAuthHandler(), UnixNetProcessor::start(), start_HttpProxyServer(), start_HttpProxyServerBackDoor(), start_SocksProxy(), SocksEntry::startEvent(), test(), TSNetAccept(), TSNetConnect(), TSNetConnectTransparent(), TSPluginDescriptorAccept(), TSPortDescriptorAccept(), and TSVConnFdCreate().
inkcoreapi NetProcessor& sslNetProcessor |
Global netProcessor singleton object for making ssl enabled net calls.
As far as the SM is concerned this behaves exactly like netProcessor. The only difference is that the connections are over ssl.
Definition at line 35 of file SSLNetProcessor.cc.
Referenced by HttpSM::do_http_server_open(), SSLNetAccept::getNetProcessor(), main(), start_HttpProxyServer(), test_main(), and TSPortDescriptorAccept().