look like there is a limitation of curl redirection

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 2.0.6
    • Component/s: Server (S)
    • Environment:
      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

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

              Created:
              Updated:
              Resolved: