aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib513.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-10-27 22:05:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-10-27 22:05:38 +0000
commit966fa848a0213be52d3a4b3787c36ec7c5553f22 (patch)
tree113fe21384b7289127ac36f3cfb501dd6ee0571f /tests/libtest/lib513.c
parent6f8fe67ace4346c3c22fb3348d54ba1cfeb59669 (diff)
Nis Jorgensen filed bug report #1338648
(http://curl.haxx.se/bug/view.cgi?id=1338648) which really is more of a feature request, but anyway. It pointed out that --max-redirs did not allow it to be set to 0, which then would return an error code on the first Location: found. Based on Nis' patch, now libcurl supports CURLOPT_MAXREDIRS set to 0, or -1 for infinity. Added test case 274 to verify.
Diffstat (limited to 'tests/libtest/lib513.c')
0 files changed, 0 insertions, 0 deletions