|
|
@ -120,7 +120,7 @@ Parser.prototype._parse = function(data) {
|
|
|
|
// literal data included in this chunk -- put it back onto stream
|
|
|
|
// literal data included in this chunk -- put it back onto stream
|
|
|
|
this._stream.unshift(data.slice(i));
|
|
|
|
this._stream.unshift(data.slice(i));
|
|
|
|
i = datalen;
|
|
|
|
i = datalen;
|
|
|
|
if (!this._body && this._literallen > 0) {
|
|
|
|
if (!this._body) {
|
|
|
|
// check if unshifted contents satisfies non-body literal length
|
|
|
|
// check if unshifted contents satisfies non-body literal length
|
|
|
|
this._tryread(this._literallen);
|
|
|
|
this._tryread(this._literallen);
|
|
|
|
}
|
|
|
|
}
|
|
|
|