Skip to content

Commit

Permalink
make default_ctx lazy here too
Browse files Browse the repository at this point in the history
  • Loading branch information
akuhlens committed Apr 4, 2024
1 parent 7c390ec commit edb687e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cohttp-mirage/src/net.ml
Expand Up @@ -18,7 +18,7 @@ struct
let sexp_of_ctx { resolver; _ } = R.sexp_of_t resolver

let default_ctx =
{ resolver = R.localhost; conduit = None; authenticator = None }
lazy { resolver = R.localhost; conduit = None; authenticator = None }

type endp = Conduit.endp

Expand Down

0 comments on commit edb687e

Please sign in to comment.