Fix: apistatusd.py
- Changed apistatusd.conf: set server.host default value to 0.0.0.0 to improve error messages; needs checking if this disabled ipv6 - Changed apistatusd.conf: renamed default client.cert filename to improve meaning - Fix create_ssl_context: context.options was reset by misuse of `=` instead of binary or assignment `|=` - Changed main/socket-creation: disabled keepalive - Fix main/connection/pre-ssl-handshake: set missing tls handshake timeout; code went into infinite waiting block - Some cleanup
This commit is contained in:
parent
26e6ae6374
commit
d9cf4695b8
2 changed files with 20 additions and 15 deletions
|
@ -12,14 +12,14 @@ timeout = 5.0
|
|||
loglevel = debug
|
||||
|
||||
[server]
|
||||
host = localhost
|
||||
host = 0.0.0.0
|
||||
port = 10001
|
||||
cert = ./certs/statusd-pub.pem
|
||||
key = ./certs/statusd-key.pem
|
||||
|
||||
[client]
|
||||
cert = ./certs/statusclient-pub.pem
|
||||
# possible values: true, false, may
|
||||
cert = ./certs/client-ca.pem
|
||||
# possible values: false, may, true
|
||||
required = true
|
||||
|
||||
[api]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue