[ https://issues.apache.org/jira/browse/TS-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uri Shachar updated TS-2268: ---------------------------- Description: Add a TSNetAcceptNamedDescriptor‏(contp, char *) function to allow a protocol plugin to set a callback for accepting new connections on a socket opened by the traffic_manager (that's defined like 2345:plugin:name=myname in the server_ports configuration). This has three advantages on opening a socket using TSNetAccept: 1) If the traffic_server crashes and restarts, new connections won't be rejected while we recover - This is the main selling point of the new API. 2) Support for all port configuration flags (Which also exists when using TSPortDescriptorAccept) 3) Allow for a single point of configuration for all ATS ports was: Add a TSPluginDescriptorAccept(contp) function to allow a protocol plugin to set a callback for accepting new connections on a socket opened by the traffic_manager (that's defined like 2345:plugin in the server_ports configuration). This has two advantages on opening a socket using TSNetAccept: 1) If the traffic_server crashes, new connections won't be rejected while we recover 2) Support for all port configuration flags in the future, support can be added for a named approach, allowing protocol plugin A to accept on socket A and protocol plugin B to accept on socket B > Add support for opening protocol traffic sockets through the traffic_manager > ---------------------------------------------------------------------------- > > Key: TS-2268 > URL: https://issues.apache.org/jira/browse/TS-2268 > Project: Traffic Server > Issue Type: Improvement > Components: Plugins, TS API > Reporter: Uri Shachar > Assignee: Uri Shachar > > Add a TSNetAcceptNamedDescriptor‏(contp, char *) function to allow a protocol > plugin to set a callback for accepting new connections on a socket opened by > the traffic_manager (that's defined like 2345:plugin:name=myname in the > server_ports configuration). > This has three advantages on opening a socket using TSNetAccept: > 1) If the traffic_server crashes and restarts, new connections won't be > rejected while we recover - This is the main selling point of the new API. > 2) Support for all port configuration flags (Which also exists when using > TSPortDescriptorAccept) > 3) Allow for a single point of configuration for all ATS ports -- This message was sent by Atlassian JIRA (v6.1#6144)