aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-01 01:21:58 +0100
committerKim Alvefur <zash@zash.se>2019-12-01 01:21:58 +0100
commit376d6bf4f3129ea71f9102166ef07a2a59452c8f (patch)
treefedd1a6ca7fd484fee7bc5385716a08e15a369c9 /net/server_select.lua
parent7f02081af251e0be1ce6006cfe858a79384a286d (diff)
downloadprosody-376d6bf4f3129ea71f9102166ef07a2a59452c8f.tar.gz
prosody-376d6bf4f3129ea71f9102166ef07a2a59452c8f.zip
net.server_select: Remove prefix added to TLS handshaker errors
For consistency. None of the other implementations do this.
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
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