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)); }