[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Added simulation of interrupting responses while sending res
From: |
Tim Rühsen |
Subject: |
Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465) |
Date: |
Fri, 31 Jan 2020 16:24:20 +0000 |
Tim Rühsen commented:
Oh I just realized that there is one test with a wrong assumption... whenever a
download is interrupted, the timestamp of that file should be "server timestamp
-1". We need that when working with -N in a second wget2 invocation to send a
If-Modified-Since: with one less second the the server timestamp (else we see
304).
The same is true for '-c -N' where we combine If-Modified-Since and Range
headers.
So we need
```
WGET_TEST_EXPECTED_FILES, &(wget_test_file_t []) {
{ "file4.bin", data1_interrupted, 1000000000 - 1 },
{ NULL } },
```
My time is over for today... feel free to fetch the branch and add commits (in
the main repo). You have write access.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/merge_requests/465#note_280253808
You're receiving this email because of your account on gitlab.com.
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), (continued)
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/29
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/29
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Rohan Fletcher, 2020/01/29
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Rohan Fletcher, 2020/01/29
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/29
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Rohan Fletcher, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465),
Tim Rühsen <=
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Rohan Fletcher, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Tim Rühsen, 2020/01/31
- Re: wget2 | Added simulation of interrupting responses while sending response body in test server (!465), Rohan Fletcher, 2020/01/31