[ZBX-6750] look like there is a limitation of curl redirection Created: 2013 Jun 27  Updated: 2017 May 30  Resolved: 2013 Jun 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.6
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Hassan Khraim Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: curl, redirects
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux Fedora 1732bit, Centos 6.2 64Bit


Issue Links:
Duplicate
duplicates ZBXNEXT-173 Make the Curl "Follow redirects" opti... Closed

 Description   

when I trying to test web scenario i get 404 data not found.
i test curl https://thewebsite/ no data came back
i test curl -L https://thewebsite/ i get result
the below line and compiled the pacckage and it did work fine.

I added
-------------------------
diff httptest.c ../../../../../zabbix-2.0.6/src/zabbix_server/httppoller/httptest.c
305a306
> CURLE_OK != (err = curl_easy_setopt(easyhandle, opt = CURLOPT_MAXREDIRS, -1L)) ||

------------------
Ref:http://curl.haxx.se/libcurl/c/curl_easy_setopt.html



 Comments   
Comment by Oleksii Zagorskyi [ 2013 Jun 28 ]

See please ZBXNEXT-173.

Maybe this should be closed as a duplicate ?

Comment by Hassan Khraim [ 2013 Jun 29 ]

The issue is duplicate ZBXNEXT-173

Generated at Sat Jan 11 03:00:27 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.