From 7a1438a17985e7ff6f7c21654875cdb46849c020 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Wed, 8 Jan 2025 16:27:28 -0800 Subject: [PATCH] Let agent be read-write Fixes #16264 --- src/js/node/http.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/node/http.ts b/src/js/node/http.ts index 46c29c17ba046d..61c85e22501f9c 100644 --- a/src/js/node/http.ts +++ b/src/js/node/http.ts @@ -1520,6 +1520,10 @@ class ClientRequest extends OutgoingMessage { return this.#agent; } + set agent(value) { + this.#agent = value; + } + #createStream() { if (!this.#stream) { var self = this;