Skip to content

Commit

Permalink
vpnkit: remove the old port forwarding shutdown protocol
Browse files Browse the repository at this point in the history
Before we multiplexed all port forwards over one connection, we had
to layer our own custom shutdown protocol on top to work around
Hyper-V socket bugs. This is not needed any more because the same
work is done within the multiplexing protocol.

Note this requires an updated vpnkit-forwarder.

Signed-off-by: David Scott <[email protected]>
  • Loading branch information
djs55 committed Mar 10, 2019
1 parent 1c28c5d commit 0324ad2
Showing 1 changed file with 1 addition and 1 deletion.
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 =
Hvsock_lwt.Flow_shutdown.Make(Host.Time)
Hvsock_lwt.Flow.Make(Host.Time)
(Hvsock_lwt.In_main_thread.Make(Host.Main))
(Hvsock.Af_hyperv)

Expand Down

0 comments on commit 0324ad2

Please sign in to comment.