Merge pull request #58 from craff/patch-3

Update download_chunked.sh
This commit is contained in:
Simon Cruanes 2023-02-21 21:09:44 -05:00 committed by GitHub
commit e0338e4d59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,15 +9,15 @@ sleep 0.1
echo download1 1>&2
curl -N "http://localhost:${PORT}/foo_50" -o data21 \
-H 'Tranfer-encoding: chunked' --max-time 10
-H 'Accept-encoding: chunked' --max-time 10
echo download2 1>&2
curl -N "http://localhost:${PORT}/foo_50" -o data22 \
-H 'Tranfer-encoding: chunked' --max-time 10
-H 'Accept-encoding: chunked' --max-time 10
echo download3 1>&2
curl -N "http://localhost:${PORT}/foo_50" -o data23 \
-H 'Tranfer-encoding: chunked' --max-time 10
-H 'Accept-encoding: chunked' --max-time 10
kill $PID
wc data21 data22 data23