Skip to content

Commit f880b58

Browse files
committed
Add TODO comment about validating local port
1 parent 3d4340e commit f880b58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/vnet/app_resolver.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ func (h *tcpAppHandler) getOrInitializeLocalProxy(ctx context.Context, localPort
325325
if len(h.app.GetTCPPorts()) == 0 {
326326
localPort = 0
327327
}
328+
// TODO(ravicious): For multi-port apps, check if localPort is valid and surface the error in UI.
329+
// https://github.com/gravitational/teleport/blob/master/rfd/0182-multi-port-tcp-app-access.md#incorrect-port
328330

329331
lp, ok := h.portToLocalProxy[localPort]
330332
if ok {

0 commit comments

Comments
 (0)