Skip to content

Commit fe57507

Browse files
Outbound: One endpoint and at most one user only (#5144)
#5124 (comment) Fixes #5124 (review)
1 parent 83c5370 commit fe57507

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+829
-2394
lines changed

app/proxyman/config.go

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1 @@
11
package proxyman
2-
3-
func (s *AllocationStrategy) GetConcurrencyValue() uint32 {
4-
if s == nil || s.Concurrency == nil {
5-
return 3
6-
}
7-
return s.Concurrency.Value
8-
}
9-
10-
func (s *AllocationStrategy) GetRefreshValue() uint32 {
11-
if s == nil || s.Refresh == nil {
12-
return 5
13-
}
14-
return s.Refresh.Value
15-
}
16-
17-
func (c *ReceiverConfig) GetEffectiveSniffingSettings() *SniffingConfig {
18-
if c.SniffingSettings != nil {
19-
return c.SniffingSettings
20-
}
21-
22-
return nil
23-
}

0 commit comments

Comments
 (0)