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

Thrift server

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.9.2
    • Node.js - Library
    • Patch Available

    Description

      If a thrift level protocol error occurs. For instance one makes a few changes to the thrift IDL file and a client connects using the old API an unhandled exception can be thrown from the TBinaryProtocol class. By adding a try-catch to the process() call these errors can be caught, the connection closed, and an error event emitted.

      Likewise if a client closes the socket, ie. due to a timeout condition, another unhandled exception is thrown from stream.write().

      Patch/Pull-request: https://github.com/wadey/node-thrift/pull/16

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            henrique Henrique Mendonca
            cypres Hans Duedal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment