Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76619

Add setParameter to enable libcurl's verbose logging

    • Server Security
    • Fully Compatible
    • v7.0, v6.0, v5.0, v4.4
    • Security 2023-05-15

      We should add callbacks for libcurl's CURLOPT_DEBUGFUNCTION to log to our logging system. The set parameter should set CURLOPT_VERBOSE in createCurlEasyHandle in src/mongo/util/net/http_client_curl.cpp
       
      We should log CURLINFO_TEXT, CURLINFO_HEADER_IN, and CURLINFO_HEADER_OUT. But we should check what libcurl does by default to stdout and align towards.

       

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: