mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-08 02:00:43 +08:00
[tcp.go] remove sync.Mutex
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"net"
|
"net"
|
||||||
"strconv"
|
"strconv"
|
||||||
"sync"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"golang.org/x/net/proxy"
|
"golang.org/x/net/proxy"
|
||||||
@@ -17,8 +16,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type tcpHandler struct {
|
type tcpHandler struct {
|
||||||
sync.Mutex
|
|
||||||
|
|
||||||
proxyHost string
|
proxyHost string
|
||||||
proxyPort uint16
|
proxyPort uint16
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user