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

Potential infinite loop in nonblocking_server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7
    • 0.7
    • Ruby - Library
    • None
    • Patch Available

    Description

      The fix for THRIFT-1187 could cause the server to enter an infinite loop if select() started throwing Errno::EBADF when called on a non-closed @server_transport.

      The obvious fix is to turn the 'next' into a 'break'.

      Attachments

        1. patch-THRIFT-1193.txt
          0.6 kB
          Ilya Maykov

        Activity

          People

            ilyam Ilya Maykov
            ilyam Ilya Maykov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: