WinRM broken in the current devel commit

Hi all,
I’ve been away from Ansible for a while and today when cloning the devel codebase to my computer WinRM stopped working:
using logging I can see that it attempts to use http although i’ve set port to be 5896:

<192.168.18.132> endpoint=http://192.168.18.132:5986/wsman transport=plaintext

switching to the 1.8.3 branch and using the same inventory I get https:
<192.168.18.132> endpoint=https://192.168.18.132:5986/wsman transport=plaintext

Due to the volume of commits I am unable to see where this change happened. Anyone able to repro?

Update: Checking out 07dfbaedc30944857afc32cf2d3303d46b9cf3c9 seems to work.

The only other new thing added to winrm recently is trying kerberos auth;
I'll see if that breaks for me also.

Hi all,
I, too, was having the same issue. I narrowed down the problematic commit and submitted a PR. I’m unable to test kerberos or http to see if I caused any other issues with this

https://github.com/ansible/ansible/pull/10316