Commit Graph

3 Commits (4331c3f547a957c28ea70b0b0caae2a0bef05721)

Author SHA1 Message Date
Michael Zanetti 986714c9e1 Fix encryption flag erraneously set for "ws" connections
This could cause the client to think that there is a certificate
mismatch if there is a pinned certificate for this host already
and we then connect to an unecrypted ws socket.

Also, disconnect clients before raising the certificate mismatch
error in case a client implementation would just ignore this
and reconnect syncronously right way.
2021-01-23 14:04:33 +01:00
Michael Zanetti 6f1a847f15 Improve certificate handling 2020-04-19 14:03:34 +02:00
Michael Zanetti b5eab4d8b9 Get going with better grouping 2020-03-26 23:31:42 +01:00