Skip to content

Commit 5d2e333

Browse files
committed
vpnkit: remove the old port forwarding shutdown protocol
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]>
1 parent 9e3bdf1 commit 5d2e333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/connect.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module Hvsock = struct
4545
(* Avoid using `detach` because we don't want to exhaust the
4646
thread pool since this will block the main TCP/IP stack. *)
4747
module F =
48-
Hvsock_lwt.Flow_shutdown.Make(Host.Time)
48+
Hvsock_lwt.Flow.Make(Host.Time)
4949
(Hvsock_lwt.In_main_thread.Make(Host.Main))
5050
(Hvsock.Af_hyperv)
5151

0 commit comments

Comments
 (0)