From 700b5445b2023d4da348b56a982079d8d23231a0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Jun 2025 12:35:49 +0200 Subject: [PATCH] test1498: verify "-T ." Closes #17519 --- tests/data/Makefile.am | 2 +- tests/data/test1498 | 56 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 tests/data/test1498 diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 1b07400d85..1ef85cd3a2 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -196,7 +196,7 @@ test1460 test1461 test1462 test1463 test1464 test1465 test1466 test1467 \ test1468 test1469 test1470 test1471 test1472 test1473 test1474 test1475 \ test1476 test1477 test1478 test1479 test1480 test1481 test1482 test1483 \ test1484 test1485 test1486 test1487 test1488 test1489 test1490 test1491 \ -test1492 test1493 test1494 test1495 test1496 test1497 \ +test1492 test1493 test1494 test1495 test1496 test1497 test1498 \ \ test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \ test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \ diff --git a/tests/data/test1498 b/tests/data/test1498 new file mode 100644 index 0000000000..b7e15b1a1d --- /dev/null +++ b/tests/data/test1498 @@ -0,0 +1,56 @@ + +# Similar to test 60 and 1068 + + +HTTP +HTTP PUT +chunked Transfer-Encoding + + + +# Server-side + + +HTTP/1.0 200 OK swsclose +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake + +blablabla + + + + +# Client-side + + +http + + +HTTP PUT from stdin using period + + +http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T . + + +%repeat[2000 x hej]% + + + +# Verify data after the test has been "shot" + + +PUT /bzz/%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* +Transfer-Encoding: chunked +Expect: 100-continue + +1771 +%repeat[2000 x hej]% + +0 + + + + -- 2.47.2