robur-coop / httpcats

A simple http client/server (http/1.1 & h2) for OCaml 5
Other
33 stars 6 forks source link

Use `Unix.gethostbyname` if the `resolver` is not provided #5

Closed dinosaure closed 5 months ago

dinosaure commented 6 months ago

Currently, httpcats highly requires happy and dns to resolve domain-names. A solution can be to use Unix.connect/Unix.gethostbyname if the user does not want to handle such stack. /cc @kit-ty-kate

dinosaure commented 5 months ago

Fixed by https://git.robur.coop/robur/httpcats/pulls/5