Code Monkey home page Code Monkey logo

Comments (6)

gilbertw avatar gilbertw commented on July 17, 2024

@katmsft As discussed, please add a specific list of the required options

from azure-sdk-for-cpp.

Jinming-Hu avatar Jinming-Hu commented on July 17, 2024

@katmsft As discussed, please add a specific list of the required options

  1. Customized CA_CERT location
  2. Proxy
  3. Disable cert validation
  4. Disable Cert revocation list check
  5. Enable/disable keep-alive options on http client

from azure-sdk-for-cpp.

katmsft avatar katmsft commented on July 17, 2024

@gilbertw Please find below the related libcurl settings.

Customized CA_CERT location: https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html
Proxy: https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html
Disable cert validation: https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html
Disable Cert revocation list check: https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html , CURLSSLOPT_NO_REVOKE
Enable/disable keep-alive options on http client: https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html

from azure-sdk-for-cpp.

Jinming-Hu avatar Jinming-Hu commented on July 17, 2024

Enable/disable keep-alive options on http client: https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html

This isn't HTTP keep alive we request. This is TCP keep alive.

from azure-sdk-for-cpp.

vhvb1989 avatar vhvb1989 commented on July 17, 2024

@katmsft , HTTP keep alive is currently done by default by Azure Core.
Do we have customers who might want to turn this feature off?

from azure-sdk-for-cpp.

ahsonkhan avatar ahsonkhan commented on July 17, 2024

Also, can you please share a sample code snippet of how you envision the end user (customer) would write their code to opt-into and customize these options, to showcase how you (an author of the service client library) would expose these.

from azure-sdk-for-cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.