From eee4e46aea64fbf882cb9dda2088a8a1082ed208 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:42:18 +0200 Subject: Merging upstream version 115.10.0esr. Signed-off-by: Daniel Baumann --- testing/xpcshell/moz-http2/moz-http2.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testing/xpcshell/moz-http2/moz-http2.js') diff --git a/testing/xpcshell/moz-http2/moz-http2.js b/testing/xpcshell/moz-http2/moz-http2.js index 334ccd8e1c..1b602e88bb 100644 --- a/testing/xpcshell/moz-http2/moz-http2.js +++ b/testing/xpcshell/moz-http2/moz-http2.js @@ -824,6 +824,16 @@ function handleRequest(req, res) { }); push.writeHead(200, pushResponseHeaders); push.end("ok"); + } else if (u.pathname === "/hugecontinuedheaders") { + for (let i = 0; i < u.query.size; i++) { + res.setHeader( + "X-Test-Header-" + i, + "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".repeat(1024) + ); + } + res.writeHead(200); + res.end(content); + return; } else if (u.pathname === "/altsvc1") { if ( req.httpVersionMajor != 2 || -- cgit v1.2.3