Commit 250e83e8 authored by venaas's avatar venaas Committed by venaas
Browse files

more restructuring of tls server code, this code may not work yet

git-svn-id: e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 0e9f9a72
......@@ -2458,7 +2458,7 @@ int tlslistener2() {
debug(DBG_WARN, "accept failed");
if (pthread_create(&tlsserverth, NULL, tlsservernew, (void *)&snew)) {
if (pthread_create(&tlsserverth, NULL, tlsservernew2, (void *)&snew)) {
debug(DBG_ERR, "tlslistener: pthread_create failed");
shutdown(snew, SHUT_RDWR);
......@@ -3303,7 +3303,7 @@ int main(int argc, char **argv) {
debugx(1, DBG_ERR, "clientwr: pthread_create failed");
if (client_tls_count)
return tlslistener();
return tlslistener2();
/* just hang around doing nothing, anything to do here? */
for (;;)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment