minor ssl logging changes and buffer fix
This commit is contained in:
@@ -79,7 +79,7 @@ static void *servlet(void *args) /* Serve the connection -- threadable */
|
||||
if (SSL_get_shutdown(client->ssl) == SSL_RECEIVED_SHUTDOWN)
|
||||
log(VERBOSE, "SSL_RECEIVED_SHUTDOWN from client [%s]", client->ip);
|
||||
else {
|
||||
log(VERBOSE, "Client didn't send data! SSL error below:");
|
||||
log(VERBOSE, "Client didn't send data!");
|
||||
//log_ssl(); /* We actually don't have anything to log from SSL */
|
||||
sprintf((char *)buf.chunk.data, "%s", "Where's the data, m8?");
|
||||
SSL_write(client->ssl, &buf, sizeof(struct msg_t));
|
||||
|
||||
Reference in New Issue
Block a user