Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the "shutdown" protocol used for forwarding ports over Hyper-V sockets #418

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions repo/darwin/packages/dev/hvsock.1.0.3/url

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ depends: [
"logs"
"fmt"
"cmdliner"
"sha"
"mirage-flow-lwt" {>= "1.2.0"}
"mirage-time-lwt" {>= "1.0.0"}
"cstruct" {>= "2.4.0"}
Expand Down
1 change: 1 addition & 0 deletions repo/darwin/packages/dev/hvsock.1.0.4/url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git: "https://github.com/djs55/ocaml-hvsock.git#shutdown-20180913.2"
2 changes: 1 addition & 1 deletion repo/darwin/packages/upstream/ocamlbuild.0.12.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ conflicts: [
"base-ocamlbuild"
"ocamlfind" {< "1.6.2"}
]
available: [ocaml-version >= "4.03"]
available: [ocaml-version >= "4.03" & ocaml-version < "4.08.0"]
4 changes: 4 additions & 0 deletions repo/darwin/packages/upstream/sha.1.12/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Binding to the SHA cryptographic functions
This is the binding for SHA interface code in OCaml. Offering the same
interface than the MD5 digest included in the OCaml standard library.
It's currently providing SHA1, SHA256 and SHA512 hash functions.
22 changes: 22 additions & 0 deletions repo/darwin/packages/upstream/sha.1.12/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
opam-version: "1.2"
maintainer: "dave@recoil.org"
authors: [
"Vincent Hanquez" "Thomas Gazagnaire" "Goswin von Brederlow"
"Eric Cooper" "Florent Monnier" "Forrest L Norvell"
"Vincent Bernadoff" "David Scott"
]
homepage: "https://github.com/djs55/ocaml-sha"
bug-reports: "https://github.com/djs55/ocaml-sha/issues"
dev-repo: "https://github.com/djs55/ocaml-sha.git"
license: "ISC"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

build-test: [["jbuilder" "runtest" "-p" name]]

depends: [
"jbuilder" {build & >= "1.0+beta13"}
"ounit" {test}
]

available: [ ocaml-version >= "4.02.0" ]
2 changes: 2 additions & 0 deletions repo/darwin/packages/upstream/sha.1.12/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/djs55/ocaml-sha/releases/download/v1.12/sha-1.12.tbz"
checksum: "de64465e24e778a22f510c8f24d1bd15"
1 change: 0 additions & 1 deletion repo/win32/packages/dev/hvsock.1.0.3

This file was deleted.

1 change: 1 addition & 0 deletions repo/win32/packages/dev/hvsock.1.0.4
4 changes: 4 additions & 0 deletions repo/win32/packages/upstream/sha.1.12/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Binding to the SHA cryptographic functions
This is the binding for SHA interface code in OCaml. Offering the same
interface than the MD5 digest included in the OCaml standard library.
It's currently providing SHA1, SHA256 and SHA512 hash functions.
22 changes: 22 additions & 0 deletions repo/win32/packages/upstream/sha.1.12/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
opam-version: "1.2"
maintainer: "dave@recoil.org"
authors: [
"Vincent Hanquez" "Thomas Gazagnaire" "Goswin von Brederlow"
"Eric Cooper" "Florent Monnier" "Forrest L Norvell"
"Vincent Bernadoff" "David Scott"
]
homepage: "https://github.com/djs55/ocaml-sha"
bug-reports: "https://github.com/djs55/ocaml-sha/issues"
dev-repo: "https://github.com/djs55/ocaml-sha.git"
license: "ISC"

build: [["jbuilder" "build" "-p" name "-j" jobs]]

build-test: [["jbuilder" "runtest" "-p" name]]

depends: [
"jbuilder" {build & >= "1.0+beta13"}
"ounit" {test}
]

available: [ ocaml-version >= "4.02.0" ]
2 changes: 2 additions & 0 deletions repo/win32/packages/upstream/sha.1.12/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/djs55/ocaml-sha/releases/download/v1.12/sha-1.12.tbz"
checksum: "de64465e24e778a22f510c8f24d1bd15"
2 changes: 1 addition & 1 deletion src/bin/connect.ml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module Hvsock = struct
(* Avoid using `detach` because we don't want to exhaust the
thread pool since this will block the main TCP/IP stack. *)
module F =
Flow_lwt_hvsock_shutdown.Make(Host.Time)
Flow_lwt_hvsock.Make(Host.Time)
(Lwt_hvsock_main_thread.Make(Host.Main))

type flow = {
Expand Down