[ 
https://issues.apache.org/jira/browse/THRIFT-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760037#comment-13760037
 ] 

Randy Abernethy commented on THRIFT-2167:
-----------------------------------------

Hi Red, 
I have see this before. The option problem is in connection.js. There is also 
another problem with the client/server examples not working which has to do 
with the compiler generated node client. A bug was recently introduced the 
attached patch fixes both. If you apply the patch you should be able to run the 
client/server examples again. Let me know if you have any problems.
Best,
Randy
                
> nodejs lib throws error if options argument isn't passed
> --------------------------------------------------------
>
>                 Key: THRIFT-2167
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2167
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>            Reporter: Red Daly
>            Priority: Trivial
>         Attachments: thrift-2167-fix-options.patch
>
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> exports.Connection is a function of two arguments: stream and options.  
> Options is an optional argument, but the function fails if it is omitted.  
> This behavior (function failing) is a bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to