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

Per-thread session pools don't work when mixing SSL with Non-SSL.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • HTTP, SSL
    • None

    Description

      (this might be a known issue; however, I couldn't find an existing ticket, if one exists please link to this).

      This bug is trivial to reproduce, if you set share_server_sessions to 2 (per thread session pools) and you connect to TS on an insecure port and connect outbound to a secure origin, ie: map http://127.0.1/ https://www.anything.com, it will not properly acquire a session and will always create a new one.

      It's clear why this happens: when release_session is called it happens from an ET_SSL thread; however, when acquire session is called it happens on an ET_NET thread. So all of the created sessions pile up on ET_SSL threads until they timeout and are closed.

      At this point I'm not entirely sure what a fix for this should look like.

      Attachments

        Issue Links

          Activity

            People

              briang Brian Geffon
              briang Brian Geffon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: