mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-05 17:42:24 +08:00
73 lines
2.7 KiB
Plaintext
Executable File
73 lines
2.7 KiB
Plaintext
Executable File
<tars>
|
|
<application>
|
|
|
|
<client>
|
|
#tarsregistry locator
|
|
locator = TestApp.FrameworkServer.QueryObj@tcp -h 127.0.0.1 -p 11004
|
|
#max invoke timeout
|
|
sync-invoke-timeout = 50000
|
|
#refresh endpoint interval
|
|
refresh-endpoint-interval = 3000
|
|
#stat obj
|
|
stat = TestApp.FrameworkServer.StatObj@tcp -h 127.0.0.1 -p 12004
|
|
#max send queue length limit
|
|
sendqueuelimit = 1000000
|
|
#async queue length limit
|
|
asyncqueuecap = 1000000
|
|
#async callback thread num
|
|
asyncthread = 3
|
|
#net thread
|
|
netthread = 2
|
|
#merge net and sync thread
|
|
mergenetasync = 0
|
|
#module name
|
|
modulename = TestApp.SSLClient
|
|
#上报统计时间
|
|
report-interval = 10000
|
|
#server crt
|
|
ca = PROJECT_PATH/certs/server.crt
|
|
#can be empty
|
|
cert = PROJECT_PATH/certs/client.crt
|
|
#can be empty
|
|
key = PROJECT_PATH/certs/client.key
|
|
<TestApp.HelloServer.AuthObj>
|
|
#auth access key
|
|
accesskey = tars-test-user
|
|
#auth secret key
|
|
secretkey = 123456
|
|
</TestApp.HelloServer.AuthObj>
|
|
|
|
<TestApp.SSLServer.SSL1Obj>
|
|
#server crt
|
|
ca = PROJECT_PATH/certs/server1.crt
|
|
#can be empty
|
|
# cert = PROJECT_PATH/certs/client1.crt
|
|
#can be empty
|
|
# key = PROJECT_PATH/certs/client1.key
|
|
</TestApp.SSLServer.SSL1Obj>
|
|
|
|
<TestApp.SSLServer.SSL2Obj>
|
|
#server crt
|
|
ca = PROJECT_PATH/certs/server1.crt
|
|
#can be empty
|
|
cert = PROJECT_PATH/certs/client1.crt
|
|
#can be empty
|
|
key = PROJECT_PATH/certs/client1.key
|
|
</TestApp.SSLServer.SSL2Obj>
|
|
|
|
<TestApp.SSLServer.SSL3Obj>
|
|
#auth access key
|
|
accesskey = tars-test-user
|
|
#auth secret key
|
|
secretkey = 123456
|
|
#server crt
|
|
ca = PROJECT_PATH/certs/server1.crt
|
|
#can be empty
|
|
cert = PROJECT_PATH/certs/client1.crt
|
|
#can be empty
|
|
key = PROJECT_PATH/certs/client1.key
|
|
</TestApp.SSLServer.SSL3Obj>
|
|
</client>
|
|
</application>
|
|
</tars>
|