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
Copy file name to clipboardexpand all lines: README.md
+9-4
Original file line number
Diff line number
Diff line change
@@ -113,8 +113,11 @@ Configuration file is "config.json" by default:
113
113
"OnlyPrimaryDNS": false,
114
114
"IPv6UseAlternativeDNS": false,
115
115
"AlternativeDNSConcurrent": false,
116
-
"PoolIdleTimeout": 15,
117
-
"PoolMaxCapacity": 15,
116
+
"TCPPoolConfig": {
117
+
"InitialCapacity": 0,
118
+
"MaxCapacity": 15,
119
+
"IdleTimeout": 30
120
+
},
118
121
"WhenPrimaryDNSAnswerNoneUse": "PrimaryDNS",
119
122
"IPNetworkFile": {
120
123
"Primary": "./ip_network_primary_sample",
@@ -208,8 +211,10 @@ IPv6). Overture will handle both TCP and UDP requests. Literal IPv6 addresses ar
208
211
+ OnlyPrimaryDNS: Disable dispatcher feature, use primary DNS only.
209
212
+ IPv6UseAlternativeDNS: Redirect IPv6 DNS queries to alternative DNS servers.
210
213
+ AlternativeDNSConcurrent: Query the PrimaryDNS and AlternativeDNS at the same time
211
-
+ PoolIdleTimeout: Specify idle timeout forconnectionin pool
212
-
+ PoolMaxCapacity: Specify max capacity for connection pool
214
+
+ TCPPoolConfig: Connection pool for TCP connections.
215
+
+ IdleTimeout: Specify idle timeout forconnectionin pool
216
+
+ InitialCapacity: Specify init capacity for connection pool
217
+
+ MaxCapacity: Specify max capacity for connection pool
213
218
+ WhenPrimaryDNSAnswerNoneUse: If the response of PrimaryDNS exists and there is no `ANSWER SECTION`in it, the final DNS should be defined. (There is no `AAAA` record for most domains right now)
214
219
+ File: Absolute path like `/path/to/file` is allowed. For Windows users, please use properly escaped path like
log.Debugf("Set pool's IdleTimeout to %d, InitialCapacity to %d, MaxCapacity to %d", d.TCPPoolConfig.IdleTimeout, d.TCPPoolConfig.InitialCapacity, d.TCPPoolConfig.MaxCapacity)
0 commit comments