688
const frameInfo = this._readQueue.shift()!;
689
if (this._zlibInflateStream && frameInfo.isCompressed) {
690
>
// See https://datatracker.ietf.org/doc/html/rfc7692#section-9.2
ipc.net.ts
691
>
// Even if permessageDeflate is negotiated, it is possible
692
>
// that the other side might decide to send uncompressed messages
693
>
// So only decompress messages that have the RSV 1 bit set
694
>
const data = await this._inflateFrame(this._zlibInflateStream, frameInfo.data, frameInfo.isLastFrameOfMessage);
695
>
this._onData.fire(data);
696
} else {
697
this._onData.fire(frameInfo.data);