We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f448ec5 commit 28ccf20Copy full SHA for 28ccf20
src/dbgp.ts
@@ -92,7 +92,7 @@ export class DbgpConnection extends EventEmitter {
92
// append the last piece of the response
93
const lastResponsePiece = data.slice(0, this._dataLength - this._chunksDataLength)
94
this._chunks.push(lastResponsePiece)
95
- this._chunksDataLength += data.length
+ this._chunksDataLength += lastResponsePiece.length
96
const response = Buffer.concat(this._chunks, this._chunksDataLength)
97
// call response handler
98
const xml = iconv.decode(response, ENCODING)
0 commit comments