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

TSHttpTxnServerAddrSet() doesn't update the server port

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • Plugins
    • None

    Description

      Need to enhance TSHttpTxnServerAddrSet() to also update the server port. Without the server port set correctly, the server session reuse doesn't work (since, the stored server session is based on "sm->t_state.server_info.addr.sa", which has the plugin's updated port and the new server session is based on "sm->t_state.server_info.port" which has the incoming request port and the port match fails)

      Attachments

        1. ts2818.diff
          0.5 kB
          Sudheer Vinukonda

        Activity

          People

            bcall Bryan Call
            sudheerv Sudheer Vinukonda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: