mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 17:38:41 +00:00
Remove legacy code (#3838)
* Add feature migration notice * Remove legacy code of transport processing * Clear legacy proto field * Fix missing * Unify protocolname * Test remove * Supressor * Weird code * Remove errorgen related comments
This commit is contained in:
parent
d497de916f
commit
7086d286be
83 changed files with 206 additions and 512 deletions
|
@ -8,16 +8,6 @@ option java_multiple_files = true;
|
|||
|
||||
import "common/serial/typed_message.proto";
|
||||
|
||||
enum TransportProtocol {
|
||||
TCP = 0;
|
||||
UDP = 1;
|
||||
MKCP = 2;
|
||||
WebSocket = 3;
|
||||
HTTP = 4;
|
||||
HTTPUpgrade = 6;
|
||||
SplitHTTP = 7;
|
||||
}
|
||||
|
||||
enum DomainStrategy {
|
||||
AS_IS = 0;
|
||||
USE_IP = 1;
|
||||
|
@ -33,10 +23,6 @@ enum DomainStrategy {
|
|||
}
|
||||
|
||||
message TransportConfig {
|
||||
// Type of network that this settings supports.
|
||||
// Deprecated. Use the string form below.
|
||||
TransportProtocol protocol = 1 [ deprecated = true ];
|
||||
|
||||
// Type of network that this settings supports.
|
||||
string protocol_name = 3;
|
||||
|
||||
|
@ -45,9 +31,6 @@ message TransportConfig {
|
|||
}
|
||||
|
||||
message StreamConfig {
|
||||
// Effective network. Deprecated. Use the string form below.
|
||||
TransportProtocol protocol = 1 [ deprecated = true ];
|
||||
|
||||
// Effective network.
|
||||
string protocol_name = 5;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue