Changeset

10474:175b72700d79

net.server_select: Remove prefix added to TLS handshaker errors For consistency. None of the other implementations do this.
author Kim Alvefur <zash@zash.se>
date Sun, 01 Dec 2019 01:21:58 +0100
parents 10473:b2dd1219a321
children 10475:fa0cad7c89e3
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Sun Dec 01 01:20:34 2019 +0100
+++ b/net/server_select.lua	Sun Dec 01 01:21:58 2019 +0100
@@ -611,7 +611,7 @@
 						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