You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch from deprecated System.CommandLine.DragonFruit to MakeBuild.CommandLine. It appears to support the same argument handling and is a simple change.
/// <param name="defaultGroupId">Sets the group ID to assign to backends that when a registration packet doesn't include one, and when port isn't assigned a group</param>
77
81
/// <param name="useProxyProtocol">When specified packet data will be prepended with a Proxy Protocol v2 header when sent to the backend</param>
78
82
/// <param name="proxyProtocolTLV">Use to specify one or more TLVs to add to PPv2 headers (ignored when PPv2 isn't enabled). Example value: "0xDA=smurf".</param>
_ =>thrownewArgumentException($"Invalid internal port range: {internalPortRange}.",nameof(internalPortRange))
92
96
};
93
97
94
-
if(ports.Intersect(internal_ports).Any()){
98
+
if(ports.Intersect(internal_ports).Any())
99
+
{
95
100
thrownewArgumentException($"Server and internal port ranges must not overlap and mustn't include the admin port: {serverPortRange}, {internalPortRange} and {adminPort}.",nameof(serverPortRange));
96
101
}
97
102
@@ -207,11 +212,12 @@ async Task relay()
207
212
{
208
213
Interlocked.Increment(refreceived);
209
214
210
-
var (_,internal_client,_)= clients.AddOrUpdate((request.RemoteEndPoint,port),
211
-
ep =>{
215
+
var (_,internal_client,_)= clients.AddOrUpdate((request.RemoteEndPoint,port),
0 commit comments