Provided by: trafficserver-dev_9.2.3+ds-1+deb12u1build4_amd64
NAME
TSAcceptor - traffic Server API's related to Accept objects
SYNOPSIS
#include <ts/ts.h> TSAcceptor TSAcceptorGet(TSVConn sslp) TSAcceptor TSAcceptorGetbyID(int id) int TSAcceptorIDGet(TSAcceptor acceptor) int TSAcceptorCount()
DESCRIPTION
Traffic Server allows plugins to get information from an accept object that created a certain TSVConn object using the above mentioned APIs. An acceptor thread listens for incoming connections and creates the virtual connection (TSVConn) for each accepted connection. TSAcceptorGet() returns TSAcceptor object that created sslp. TSAcceptorGetbyID() returns the TSAcceptor object identified by id. TSAcceptor represents the acceptor object created by the server. TSAcceptorIDGet() returns the Integer number that identifies acceptor. All the cloned TSAcceptor objects will have the same identifying number. TSAcceptorCount() returns the number of TSAcceptor objects created by the server.
COPYRIGHT
2024, dev@trafficserver.apache.org