From 782143ee818ca26d3da9133733eb97949346a88b Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 25 Jan 2021 01:06:35 -0500 Subject: [PATCH] test410: fix for windows - Pass the very long request header via file instead of command line. Prior to this change the 49k very long request header string was passed via command line and on Windows that is too long so it was truncated and the test would fail (specifically msys CI). Closes https://github.com/curl/curl/pull/6516 --- tests/data/test410 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/data/test410 b/tests/data/test410 index c6470c1844..4d5d660514 100644 --- a/tests/data/test410 +++ b/tests/data/test410 @@ -32,8 +32,11 @@ https HTTPS GET with very long request header # 14 characters repeated 3500 times makes 49000 bytes + +Long: %repeat[3500 x header content]% + --k https://%HOSTIP:%HTTPSPORT/410 -H "Long: %repeat[3500 x header content]%" +-k https://%HOSTIP:%HTTPSPORT/410 -H @log/file410 -- 2.47.3