Nothing to see here, move along...
This commit is contained in:
@@ -85,7 +85,8 @@ static void* servlet(void *args) /* Serve the connection -- threadable */
|
||||
SSL_free(agent->ssl); /* release SSL state */
|
||||
close(agent->sd); /* close connection */
|
||||
agent->busy = 0;
|
||||
return 0;
|
||||
pthread_detach(pthread_self());
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
static void send_reject_msg(SSL *ssl)
|
||||
@@ -157,4 +158,6 @@ void* agent_pool(void *args)
|
||||
}
|
||||
pthread_attr_destroy(&attr);
|
||||
pthread_mutex_destroy(&mutex);
|
||||
pthread_detach(pthread_self());
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user