#1120 Stream encrypted not reported for direct TLS connections
What steps will reproduce the problem?
1. Have both direct TLS and starttls enabled.
2. Observe connections
What is the expected output?
Same "Stream encrypted" message
What do you see instead?
Only starttls connections get that message
What version of the product are you using? On what operating system?
The starttls-only logging was added in 969e0a054795, included in 0.10.0
Please provide any additional information below.
Relevant code is in `mod_c2s`
Direct TLS connections have code in `listener.onconnect` and normal connections have code in `stream_callbacks.streamopend` for inspecting new TLS properties.
Reported by Wiktor in the chatroom.