diff --git a/server/proxy/https.go b/server/proxy/https.go index 596bf81..8716617 100644 --- a/server/proxy/https.go +++ b/server/proxy/https.go @@ -130,7 +130,7 @@ func (https *HttpsServer) handleHttps(c net.Conn) { logs.Warn(err.Error()) } logs.Trace("new https connection,clientId %d,host %s,remote address %s", host.Client.Id, r.Host, c.RemoteAddr().String()) - https.DealClient(conn.NewConn(c), host.Client, targetAddr, rb, common.CONN_TCP, nil, host.Flow, host.Target.LocalProxy, nil) + https.DealClient(conn.NewConn(c), host.Client, targetAddr, rb, common.CONN_TCP, nil, host.Client.Flow, host.Target.LocalProxy, nil) } type HttpsListener struct {