Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share connection between curl requests #170

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 31, 2024

  1. Share connection between curl requests

    Using a curl_share between curl requests allows sharing an open connection
    and re-use cached DNS, PSL and TLS session id.
    
    This change allows performing multiple requests without having to do
    re-perform the (full) TLS handshake.
    
    For reference, on a stm32mp151c with OPTEE + pkcs11 TA a full TLS
    handshake takes ~8 seconds. Mostly due to small pager pool (internal sram)
    available for OPTEE.
    
    With this change a mTLS curl request take around 60ms after the initial
    connection has been established.
    
    Signed-off-by: Robin van der Gracht <[email protected]>
    rvdgracht committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    184f9a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. github: Build tests with ThreadSanitizer enabled

    Signed-off-by: Robin van der Gracht <[email protected]>
    rvdgracht committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    e84e3ec View commit details
    Browse the repository at this point in the history