Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2092

TNonblocking server should release handler as soon as connection closes

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: C++ - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Because connections are cashed until new connection is accepted, handlers from *IfFactory are not released when connection closes.

      This is a little inconvenient if for example, different handlers are used per user to hold some client session informations.

      Change includes single line added in close - reset of processor_ shared_ptr. This pointer is later assigned in init (when connection is reused) so there shouldn't be any performance change.

        Attachments

        1. THRIFT-2092.patch
          0.5 kB
          Konrad Grochowski

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              hcorg Konrad Grochowski

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment