Sockopt: Fix Windows UDP interface bind; Allow customSockopt work for UDP (#4504)

This commit is contained in:
风扇滑翔翼 2025-03-21 18:48:46 +08:00 committed by GitHub
parent 1067171e6a
commit b585b26f29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 169 additions and 137 deletions

View file

@ -65,10 +65,11 @@ message ProxyConfig {
}
message CustomSockopt {
string level = 1;
string opt = 2;
string value = 3;
string type = 4;
string network = 1;
string level = 2;
string opt = 3;
string value = 4;
string type = 5;
}
// SocketConfig is options to be applied on network sockets.