Skip to content

Commit

Permalink
[new release] happy-eyeballs, happy-eyeballs-mirage and happy-eyeball…
Browse files Browse the repository at this point in the history
…s-lwt (0.4.0)

CHANGES:

* Cancellation of connection attempts (robur-coop/happy-eyeballs#30 @reynir @hannesm, fixes robur-coop/happy-eyeballs#27)
* Make the type id abstract (suggested by @reynir in robur-coop/happy-eyeballs#30)
* Add reason for failures to the variants, improves log output (robur-coop/happy-eyeballs#30, fixes robur-coop/happy-eyeballs#7, @hannesm @reynir)
* Remove log messages about DNS resolution success/failure when there is no
  awaiting connection (robur-coop/happy-eyeballs#30, @hannesm)
* Use the domain name of the fist IP address in connect_ip as identifier (this
  provides more useful information than the hardcoded "host.invalid") (robur-coop/happy-eyeballs#29, @hannesm)
  • Loading branch information
hannesm committed Dec 2, 2022
1 parent 29869b0 commit 728422a
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 0 deletions.
43 changes: 43 additions & 0 deletions packages/happy-eyeballs-lwt/happy-eyeballs-lwt.0.4.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
opam-version: "2.0"
maintainer: "Robur <team@robur.coop>"
authors: ["Robur <team@robur.coop>"]
homepage: "https://github.com/roburio/happy-eyeballs"
dev-repo: "git+https://github.com/roburio/happy-eyeballs.git"
bug-reports: "https://github.com/roburio/happy-eyeballs/issues"
doc: "https://roburio.github.io/happy-eyeballs/"
license: "ISC"

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.0.0"}
"happy-eyeballs" {=version}
"cmdliner" {>= "1.1.0"}
"duration"
"dns-client" {>= "6.0.0"}
"domain-name"
"ipaddr"
"fmt"
"logs"
"lwt"
"mtime" {>= "1.0.0"}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]

synopsis: "Connecting to a remote host via IP version 4 or 6 using Lwt_unix"
description: """
Happy eyeballs is an implementation of RFC 8305 which specifies how to connect
to a remote host using either IP protocol version 4 or IP protocol version 6.
This uses Lwt and Lwt_unix for side effects.
"""
url {
src:
"https://github.com/roburio/happy-eyeballs/releases/download/v0.4.0/happy-eyeballs-0.4.0.tbz"
checksum: [
"sha256=811f6ae09fc39d8273f2862693fc32d7b87817ac316e595b6bf824a2be62d674"
"sha512=2f95af7a3e1e899d0423411d028aaaa0179c73c9e632aaf7153a617fcca8630d66cae2802db9ee3b6b0faf9f1d3ed565db9decbae5706ed706632904400bd81b"
]
}
x-commit-hash: "e459b09acdaf613ebe346f7e9a753111019629e4"
45 changes: 45 additions & 0 deletions packages/happy-eyeballs-mirage/happy-eyeballs-mirage.0.4.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
opam-version: "2.0"
maintainer: "Robur <team@robur.coop>"
authors: ["Robur <team@robur.coop>"]
homepage: "https://github.com/roburio/happy-eyeballs"
dev-repo: "git+https://github.com/roburio/happy-eyeballs.git"
bug-reports: "https://github.com/roburio/happy-eyeballs/issues"
doc: "https://roburio.github.io/happy-eyeballs/"
license: "ISC"

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.0.0"}
"happy-eyeballs" {=version}
"duration"
"dns-client" {>= "6.2.0"}
"domain-name"
"ipaddr"
"fmt"
"logs"
"lwt"
"mirage-clock" {>= "3.0.0"}
"tcpip" {>= "7.0.0"}
"mirage-random" {>= "2.0.0"}
"mirage-time" {>= "2.0.0"}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]

synopsis: "Connecting to a remote host via IP version 4 or 6 using Mirage"
description: """
Happy eyeballs is an implementation of RFC 8305 which specifies how to connect
to a remote host using either IP protocol version 4 or IP protocol version 6.
This uses Lwt and Mirage for side effects.
"""
url {
src:
"https://github.com/roburio/happy-eyeballs/releases/download/v0.4.0/happy-eyeballs-0.4.0.tbz"
checksum: [
"sha256=811f6ae09fc39d8273f2862693fc32d7b87817ac316e595b6bf824a2be62d674"
"sha512=2f95af7a3e1e899d0423411d028aaaa0179c73c9e632aaf7153a617fcca8630d66cae2802db9ee3b6b0faf9f1d3ed565db9decbae5706ed706632904400bd81b"
]
}
x-commit-hash: "e459b09acdaf613ebe346f7e9a753111019629e4"
40 changes: 40 additions & 0 deletions packages/happy-eyeballs/happy-eyeballs.0.4.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
opam-version: "2.0"
maintainer: "Robur <team@robur.coop>"
authors: ["Robur <team@robur.coop>"]
homepage: "https://github.com/roburio/happy-eyeballs"
dev-repo: "git+https://github.com/roburio/happy-eyeballs.git"
bug-reports: "https://github.com/roburio/happy-eyeballs/issues"
doc: "https://roburio.github.io/happy-eyeballs/"
license: "ISC"

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.0.0"}
"duration"
"domain-name" {>= "0.2.0"}
"ipaddr" {>= "5.2.0"}
"fmt" {>= "0.8.7"}
"logs"
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]

synopsis: "Connecting to a remote host via IP version 4 or 6"
description: """
Happy eyeballs is an implementation of
[RFC 8305](https://datatracker.ietf.org/doc/html/rfc8305) which specifies how
to connect to a remote host using either IP protocol version 4 or IP protocol
version 6. This is the core of the algorithm in value passing style, with a
slick dependency cone.
"""
url {
src:
"https://github.com/roburio/happy-eyeballs/releases/download/v0.4.0/happy-eyeballs-0.4.0.tbz"
checksum: [
"sha256=811f6ae09fc39d8273f2862693fc32d7b87817ac316e595b6bf824a2be62d674"
"sha512=2f95af7a3e1e899d0423411d028aaaa0179c73c9e632aaf7153a617fcca8630d66cae2802db9ee3b6b0faf9f1d3ed565db9decbae5706ed706632904400bd81b"
]
}
x-commit-hash: "e459b09acdaf613ebe346f7e9a753111019629e4"

0 comments on commit 728422a

Please sign in to comment.