From b4c140452ccc5a0948e99cb2c833db1975a5ccd3 Mon Sep 17 00:00:00 2001 From: ValoChet Date: Fri, 16 Oct 2026 11:37:10 +0200 Subject: [PATCH] Fix res::upgrade() silent fail --- src/HttpResponseWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpResponseWrapper.h b/src/HttpResponseWrapper.h index 86192280f..56d4ccc19 100644 --- a/src/HttpResponseWrapper.h +++ b/src/HttpResponseWrapper.h @@ -538,7 +538,7 @@ struct HttpResponseWrapper { auto *res = getHttpResponse(args); if (res) { /* We require exactly 5 arguments */ - if (args.Length() != 5) { + if (missingArguments(5, args)) { return; }