Nis Jorgensen filed bug report #1338648
authorDaniel Stenberg <daniel@haxx.se>
Thu, 27 Oct 2005 22:05:38 +0000 (22:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Oct 2005 22:05:38 +0000 (22:05 +0000)
commit966fa848a0213be52d3a4b3787c36ec7c5553f22
tree113fe21384b7289127ac36f3cfb501dd6ee0571f
parent6f8fe67ace4346c3c22fb3348d54ba1cfeb59669
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.
CHANGES
docs/curl.1
docs/libcurl/curl_easy_setopt.3
lib/transfer.c
lib/url.c
lib/urldata.h
src/main.c
tests/data/Makefile.am
tests/data/test274 [new file with mode: 0644]