mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-01 01:44:15 +00:00
Upgrade github.com/xtls/reality to f34b4d174342
Fixes https://github.com/XTLS/Xray-core/issues/1712
This commit is contained in:
parent
a5b297f968
commit
c38179a67f
5 changed files with 12 additions and 8 deletions
|
@ -1,6 +1,7 @@
|
|||
package reality
|
||||
|
||||
import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/xtls/reality"
|
||||
|
@ -8,7 +9,10 @@ import (
|
|||
)
|
||||
|
||||
func (c *Config) GetREALITYConfig() *reality.Config {
|
||||
var dialer net.Dialer
|
||||
config := &reality.Config{
|
||||
DialContext: dialer.DialContext,
|
||||
|
||||
Show: c.Show,
|
||||
Type: c.Type,
|
||||
Dest: c.Dest,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue