def Tunnel.cap
import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxyimport Base
407def Tunnel.cap(t: Tunnel) -> Tunnel:
408 match t:
409 case TMore{+h}:
410 Tunnel.cap.go(h, Nat.is_gt(List.length(&2, U32, h), 16384n))
411 case x:
412 x