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:
Kobe Arthur Scofield 2024-09-23 23:28:19 +08:00 committed by GitHub
parent d497de916f
commit 7086d286be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
83 changed files with 206 additions and 512 deletions

View file

@ -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;