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

c glib is unable to handle client close unexpectedly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: C glib - Library
    • Environment:

      ubuntu 16.04 

      thrift sever: c_glib

      thrift client: c_glib, go

      Description

      When using c_glib thrift server. Once a client connects to the server but does nothing (didn't send data to server) when being connected. If the client closed unexpectedly(such as being killed) at the moment, the thrift-work thread for that client wont't be closed and read the closed client sock fd in the server forever.

      *I*t has been fixed in my branch, and will be tested and committed later if it runs well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                lixiasong lixiasong
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified