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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
    • Environment:
      Linux Fedora 1732bit, Centos 6.2 64Bit

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: