Skip to content

Commit

Permalink
Upgrade the usage of happy-eyeballs into the git-unix package accordi…
Browse files Browse the repository at this point in the history
…ng to mimic-happy-eyeballs.0.0.8
  • Loading branch information
dinosaure committed May 31, 2024
1 parent 7f99931 commit f575ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/git-unix/git_unix_mimic.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module Happy_eyeballs = struct

let happy_eyeballs = Mimic.make ~name:"happy-eyeballs-lwt"

let resolve t addr ports =
Happy_eyeballs_lwt.connect t addr ports >|= Rresult.R.open_error_msg
let resolve t ?aaaa_timeout ?connect_delay ?connect_timeout ?resolve_timeout ?resolve_retries addr ports =
Happy_eyeballs_lwt.connect t ?aaaa_timeout ?connect_delay ?connect_timeout ?resolve_timeout ?resolve_retries addr ports >|= Rresult.R.open_error_msg
end

module TCP = struct
Expand Down

0 comments on commit f575ece

Please sign in to comment.