Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6750

look like there is a limitation of curl redirection

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 2.0.6
    • Server (S)
    • Linux Fedora 1732bit, Centos 6.2 64Bit

      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

            Unassigned Unassigned
            hkhraim Hassan Khraim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: