2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Default to never allowing insecure protocol

It erroneously used http rather than https
without user intervention.
This commit is contained in:
Jarrod Johnson 2020-05-21 14:29:58 -04:00
parent 726cb198c1
commit 6246d9e0a4

View File

@ -415,6 +415,8 @@ def check_reply(node, info, packet, sock, cfg, reqview):
rqtype = packet[53][0]
insecuremode = cfd.get(node, {}).get('deployment.useinsecureprotocols',
'never')
if not insecuremode:
insecuremode = 'never'
if insecuremode == 'never' and not httpboot:
if rqtype == 1 and info['architecture']:
log.log(