nithinkdb commented on code in PR #2645:
URL: https://github.com/apache/thrift/pull/2645#discussion_r957602390
##########
lib/nodejs/lib/thrift/xhr_connection.js:
##########
@@ -102,13 +103,22 @@ XHRConnection.prototype.flush = function() {
var xreq = this.getXmlHttpRequestObject();
+ if (this.protocol == TBinaryProtocol) {
Review Comment:
Ya, each connection within thrift has an associated protocol for encoding as
well as a transport type. We use an HTTP connection within the nodeconnector,
and we encode that information with a binary protocol and send it in chunks
(bufffered transport).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]