mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-02 08:20:25 +00:00
remove rawtcp
This commit is contained in:
@@ -187,7 +187,7 @@ type ClientFactory struct{}
|
||||
// StreamCapability implements OutboundHandlerFactory.StreamCapability().
|
||||
func (v *ClientFactory) StreamCapability() v2net.NetworkList {
|
||||
return v2net.NetworkList{
|
||||
Network: []v2net.Network{v2net.Network_TCP, v2net.Network_RawTCP},
|
||||
Network: []v2net.Network{v2net.Network_TCP},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ type ServerFactory struct{}
|
||||
|
||||
func (v *ServerFactory) StreamCapability() v2net.NetworkList {
|
||||
return v2net.NetworkList{
|
||||
Network: []v2net.Network{v2net.Network_TCP, v2net.Network_RawTCP},
|
||||
Network: []v2net.Network{v2net.Network_TCP},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
// Package shadowsocks provides compatible functionality to Shadowsocks.
|
||||
//
|
||||
// Shadowsocks client and server are implemented as outbound and inbound respectively in V2Ray's term.
|
||||
// Shadowsocks OTA is fully supported.
|
||||
//
|
||||
// Shadowsocks OTA is fully supported. By default both client and server enable OTA, but it can be optionally disabled.
|
||||
//
|
||||
// Supperted Ciphers:
|
||||
// * AES-256-CFB
|
||||
// * AES-128-CFB
|
||||
|
||||
Reference in New Issue
Block a user