diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-01 01:21:58 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-01 01:21:58 +0100 |
commit | be74ecddca91607c3305ae11c18461935c3d4384 (patch) | |
tree | fedd1a6ca7fd484fee7bc5385716a08e15a369c9 | |
parent | 33ba4c2dbad8a92dcd7d9a94cc32bbb82b688b93 (diff) | |
download | prosody-be74ecddca91607c3305ae11c18461935c3d4384.tar.gz prosody-be74ecddca91607c3305ae11c18461935c3d4384.zip |
net.server_select: Remove prefix added to TLS handshaker errors
For consistency. None of the other implementations do this.
-rw-r--r-- | net/server_select.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index e15f5298..9cd3463e 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -611,7 +611,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport coroutine_yield( ) -- handshake not finished end end - err = "ssl handshake error: " .. ( err or "handshake too long" ); + err = ( err or "handshake too long" ); out_put( "server.lua: ", err ); _ = handler and handler:force_close(err) return false, err -- handshake failed |