add mws dialer

This commit is contained in:
ginuerzh
2021-12-17 14:05:59 +08:00
parent bfe5eae172
commit 8e31e532e4
23 changed files with 795 additions and 137 deletions

View File

@ -56,9 +56,9 @@ func (d *obfsHTTPDialer) Handshake(ctx context.Context, conn net.Conn, options .
}
return &obfsHTTPConn{
Conn: conn,
host: host,
headers: d.md.headers,
logger: d.logger,
Conn: conn,
host: host,
header: d.md.header,
logger: d.logger,
}, nil
}