refactor(worker): refactors the proxy handler to use endpoint scheme (#1491)

This commit is contained in:
Louis Ruch authored and GitHub committed 2021-09-01 07:22:45 -07:00
1 parent b599bb5eb2
commit db8e9bb0c6
3 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -501,7 +501,7 @@ func (c *Command) Run(args []string) (retCode int) {
// The only way a user will be able to connect to the session is by
// connecting directly to the port and address we report to them here.
sessInfo := SessionInfo{
Protocol: "tcp",
Protocol: c.sessionAuthzData.GetType(),
Address: c.listenerAddr.IP.String(),
Port: c.listenerAddr.Port,
Expiration: c.expiration,