use http.transport for non-connect http tunnel
This commit is contained in:
@@ -16,6 +16,7 @@ func (h *tunnelHandler) handleConnect(ctx context.Context, req *relay.Request, c
|
||||
"dst": fmt.Sprintf("%s/%s", dstAddr, network),
|
||||
"cmd": "connect",
|
||||
"tunnel": tunnelID.String(),
|
||||
"host": dstAddr,
|
||||
})
|
||||
|
||||
resp := relay.Response{
|
||||
|
||||
Reference in New Issue
Block a user