Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2268

Add support for opening protocol traffic sockets through the traffic_manager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Plugins, TS API

    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

      Attachments

        Activity

          People

            ushachar Uri Shachar
            ushachar Uri Shachar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: