From 1a5aa2f79da02902e5e5f32531d208cf2fe4b709 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 10:01:34 +0200 Subject: [PATCH] Fix even more bugs in partial content serving functionality --- svr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr.js b/svr.js index f2eee93..feca9c3 100644 --- a/svr.js +++ b/svr.js @@ -3738,7 +3738,7 @@ if (!cluster.isPrimary) { end: !(foot.length > 0 && end > head.length + filelen) }); } - res.writeHead(206, http.STATUS_CODES[206], hdhds); + res.writeHead(206, http.STATUS_CODES[206], rhd); if (head.length == 0 || begin > head.length) { afterWriteCallback(); } else if (!res.write(head.substring(begin, head.length - begin))) {