Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled

CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if
the new URL would provide the resumed file. Test case 188 added to verify the
fix (together with existing test 99).
This commit is contained in:
Daniel Stenberg 2004-10-06 13:37:12 +00:00
parent a91a75355d
commit 9a2aed7d7a
5 changed files with 34 additions and 15 deletions

View file

@ -26,7 +26,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test512 test165 test166 test167 test168 test169 test170 test171 \
test172 test204 test205 test173 test174 test175 test176 test177 \
test513 test514 test178 test179 test180 test181 test182 test183 \
test184 test185 test186 test187
test184 test185 test186 test187 test188
# The following tests have been removed from the dist since they no longer
# work. We need to fix the test suite's FTPS server first, then bring them

View file

@ -8,7 +8,17 @@ Connection: close
Content-Length: 13
Funny-head: yesyes
0123456789123
</data>
<datacheck>
HTTP/1.1 404 Nah
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
Content-Length: 13
Funny-head: yesyes
</datacheck>
</reply>
#