summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2021-01-25 01:06:35 -0500
committerJay Satiro <raysatiro@yahoo.com>2021-01-25 23:28:02 -0500
commit782143ee818ca26d3da9133733eb97949346a88b (patch)
tree4fde4bc9dc8e9d0905e1ecf8103aa7dfddc1d938 /tests
parent2dcc940959772a652f6813fb6bd3092095a4877b (diff)
downloadcurl-782143ee818ca26d3da9133733eb97949346a88b.tar.gz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test4105
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/data/test410 b/tests/data/test410
index c6470c184..4d5d66051 100644
--- a/tests/data/test410
+++ b/tests/data/test410
@@ -32,8 +32,11 @@ https
HTTPS GET with very long request header
</name>
# 14 characters repeated 3500 times makes 49000 bytes
+<file name="log/file410">
+Long: %repeat[3500 x header content]%
+</file>
<command>
--k https://%HOSTIP:%HTTPSPORT/410 -H "Long: %repeat[3500 x header content]%"
+-k https://%HOSTIP:%HTTPSPORT/410 -H @log/file410
</command>
</client>