diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-06-16 10:52:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-17 08:19:31 +0200 |
commit | 80e1054fe5179c55104446a979369cdb3aceafc6 (patch) | |
tree | e72039af87d532bda9f477b39939653bc7c32403 /tests | |
parent | 52aa18411c69d393e6e594522dd38c3e528e3fcf (diff) | |
download | curl-80e1054fe5179c55104446a979369cdb3aceafc6.tar.gz |
hyper: propagate errors back up from read callbacks
Makes test 513 work with hyper
Closes #7266
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/DISABLED | 1 | ||||
-rw-r--r-- | tests/data/test513 | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED index b114c0b42..41bc6f418 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -55,7 +55,6 @@ 357 358 359 -513 547 551 552 diff --git a/tests/data/test513 b/tests/data/test513 index 968da4fb7..df0a96260 100644 --- a/tests/data/test513 +++ b/tests/data/test513 @@ -34,12 +34,14 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER # Verify data after the test has been "shot" <verify> <protocol> +%if !hyper POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 1
Content-Type: application/x-www-form-urlencoded
+%endif </protocol> # 42 - aborted by callback <errorcode> |