From 02fc76c83a9bb5b61091706089900b9182d3165f Mon Sep 17 00:00:00 2001 From: Vizonex Date: Tue, 23 Dec 2025 11:02:47 -0600 Subject: [PATCH] improve pause function --- src/llhttp/http.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/llhttp/http.ts b/src/llhttp/http.ts index d7b61a6..382079b 100644 --- a/src/llhttp/http.ts +++ b/src/llhttp/http.ts @@ -1269,8 +1269,7 @@ export class HTTP { } private pause(msg: string, next?: string | Node) { - const p = this.llparse; - const res = p.pause(ERROR.PAUSED, msg); + const res = this.llparse.pause(ERROR.PAUSED, msg); if (next !== undefined) { res.otherwise(this.node(next)); }