Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1042

make libcurl a soft (optional) dependency

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 1.2, 2.0.0
    • Build System
    • None
    • New Contributors Level (Easy)

    Description

      CouchDB currently uses libcurl only in couchjs to expose HTTP client functions to the JavaScript environment. This functionality is used by the JavaScript unit tests. For idempotent views it is discouraged to perform I/O in a view function. Therefore, I propose that libcurl be made an optional dependency, automatically detected at build time, and a flag added to couchjs so it can be explicitly enabled in the unit tests (but disabled, by default, for the query server).

      Attachments

        1. 0001-no-lcurl-if-no-curl-support.patch
          2 kB
          Randall Leeds
        2. curl_as_soft_dep_v2.patch
          5 kB
          Randall Leeds
        3. curl_as_soft_dep.patch
          5 kB
          Paul Joseph Davis
        4. 0001-make-cURL-an-optional-dependency.patch
          5 kB
          Randall Leeds

        Issue Links

          Activity

            People

              tilgovi Randall Leeds
              tilgovi Randall Leeds
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment