fix missing connection ssl_error initialization

Wed, 31 May 2023 12:43:30 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 31 May 2023 12:43:30 +0200
changeset 494
f7f624cfe80a
parent 493
56cf890dd9ed
child 495
855a915472ff

fix missing connection ssl_error initialization

src/server/daemon/httplistener.c file | annotate | diff | comparison | revisions
--- a/src/server/daemon/httplistener.c	Tue May 23 18:19:12 2023 +0200
+++ b/src/server/daemon/httplistener.c	Wed May 31 12:43:30 2023 +0200
@@ -649,6 +649,7 @@
         conn->fd = clientfd;
         conn->listener = ls;
         conn->ssl_accepted = 0;
+        conn->ssl_error = 0;
         if(socket_ssl) {
             // SSL connections are always non-blocking 
             // set socket non blocking

mercurial