[ https://issues.apache.org/jira/browse/THRIFT-2844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231527#comment-14231527 ]
Hudson commented on THRIFT-2844: -------------------------------- SUCCESS: Integrated in Thrift #1383 (See [https://builds.apache.org/job/Thrift/1383/]) THRIFT-2844:Add Browserify support to node (ra: rev 878483759c55365ef5da07ad8915e9a8e4af88d9) * lib/nodejs/lib/thrift/protocol.js * lib/nodejs/lib/thrift/http_connection.js > Nodejs support broken when running under Browserify > --------------------------------------------------- > > Key: THRIFT-2844 > URL: https://issues.apache.org/jira/browse/THRIFT-2844 > Project: Thrift > Issue Type: Bug > Components: Node.js - Library > Affects Versions: 0.9.2 > Environment: Browserify > Reporter: Cameron Ring > Assignee: Randy Abernethy > Attachments: 0001-browserify-update-for-ArrayBuffer.patch > > > When running under Browserify, the NodeJS binding fails when using the HTTP > transport. This happens because Browserify is returning the response as a > Uint8Array rather than a Buffer. The fix is straightforward: in > response.on('data', wrap any Uint8Arrays in a buffer so the types are as > expected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)