package https-eio

  1. Overview
  2. Docs
On This Page
  1. 0.1.0
Authenticated HTTPS client wrapper for Eio (cohttp-eio's ~https hook)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=c009f83b36950ea806c3f7cb0d02643d
sha512=92b1fab83b510953b6e19f5ef1eda376e6762ae31b5f2b23ae0eb4a62f95cb3e2df74eff828cc773e1dd3a6bb8be6d611cd679c8fdc70b3f9750c8aff72a9aaf

doc/CHANGES.html

Changes

0.1.0

  • Initial standalone OPAM package. Extracted from four independent, byte-identical copies of the same TLS wrapper code: aws-eio's Aws_tls, obs-loki-eio's Obs_loki_tls, obs-prometheus-eio's Obs_prometheus_tls, and Sun's in-tree Kafka_service_tls. All four are now deleted from their respective packages in favor of depending on Https_eio directly.
  • Replaces each copy's hand-rolled, Linux/macOS-only CA-bundle path list with ca-certs, which detects the system trust store (including SSL_CERT_FILE/ NIX_SSL_CERT_FILE) across more platforms than the four hand-rolled lists covered.
  • Carries forward two fixes an independent review found in aws-eio's copy before this extraction: Mirage_crypto_rng is seeded (Mirage_crypto_rng_unix.use_default) before the first real TLS handshake — without it, every handshake raised "The default generator is not yet initialized" — and the built wrapper is cached with double-checked locking over an Atomic.t, not a bare Stdlib.Lazy.t (documented unsafe, and reproducibly broken, across concurrent OCaml 5 domains).