diff --git a/src/cmap/connection.ts b/src/cmap/connection.ts index 89f31b74e7d..3cada6392cc 100644 --- a/src/cmap/connection.ts +++ b/src/cmap/connection.ts @@ -633,7 +633,7 @@ export class Connection extends TypedEventEmitter { }); const buffer = Buffer.concat(await finalCommand.toBin()); - + if (this.socket.write(buffer)) return; return await once(this.socket, 'drain'); }