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

calling function with parameter type different as defined in idl breaks the connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.9.2
    • 0.10.0
    • None
    • tried with python server/client and also with c++ server with python client

    Description

      say my idl (.thrift) file defines a function
      void fn(1: string if_name);

      if I call this function as fn(3) the connection get closed, hence not allowing next set of function to be called. (function call has been kept within exception handling)

      but for other cases like if we call this function with 2 params in place of 1 as expected by function. it just thrown exception but does not close the connection.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              vnitinv Nitin Kumar
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: