diff --git a/lib/corereqs.js b/lib/corereqs.js index 9d80f4c..d207cf5 100644 --- a/lib/corereqs.js +++ b/lib/corereqs.js @@ -775,7 +775,8 @@ var templates = { // TODO: move code to calculate reqLength and use BigReq if needed outside of corereq.js // NOTE: big req is used here (first 'L' in format, 0 and +1 in params), won't work if not enabled - return [ 'CCSLLLSSssCCxxaa', [72, format, 0, 1+reqLen, drawable, gc, width, height, dstX, dstY, leftPad, depth, data, pad]]; + return [ 'CCSLLSSssCCxxaa', [72, format, 0, 1+reqLen, drawable, gc, width, height, dstX, dstY, leftPad, depth, data, pad]]; + // return [ 'CCSLLLSSssCCxxaa', [72, format, 0, 1+reqLen, drawable, gc, width, height, dstX, dstY, leftPad, depth, data, pad]]; } ], diff --git a/lib/xcore.js b/lib/xcore.js index 97e3fdd..6ccfefe 100644 --- a/lib/xcore.js +++ b/lib/xcore.js @@ -592,6 +592,7 @@ module.exports.createClient = function(options, initCb) client.on('connect', function(display) { // opt-in BigReq if (!options.disableBigRequests) { + console.log('Enable Big Requests') client.require('big-requests', function(BigReq) { BigReq.Enable(function(err, maxLen) { display.max_request_length = maxLen;