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 | 376d6bf4f3129ea71f9102166ef07a2a59452c8f (patch) | |
tree | fedd1a6ca7fd484fee7bc5385716a08e15a369c9 /net/server_select.lua | |
parent | 7f02081af251e0be1ce6006cfe858a79384a286d (diff) | |
download | prosody-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.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 |