• Guus der Kinderen's avatar
    OF-793: Improve exception message · 79227386
    Guus der Kinderen authored
    When a peer sends a non-encrypted data where we expected encrypted,
    a confusing exception is logged. This commit wraps that exception,
    giving a clear explanation.
    
    This typically occurs during a failed TLS handshake, where the peers
    should be closing the connection without sending data, but does not
    so (typically, the exceptions that are logged indicate that
    </failure or </stream is received in plain text).
    79227386
Name
Last commit
Last update
build Loading commit data...
documentation Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...