tls_client: unify spelling tls-client -> tls_client

parent c5404e0c
......@@ -46,7 +46,7 @@
#endif
static char const server_logstring[] = "tls";
static char const client_logstring[] = "tls-client";
static char const client_logstring[] = "tls_client";
static int client_verify_certificate(gnutls_session_t tls_session);
......@@ -171,7 +171,7 @@ void tls_close(struct tls_common_ctx *ctx)
if (ctx->handshake_state == TLS_HS_DONE) {
kr_log_verbose("[%s] closing tls connection to `%s`\n",
ctx->client_side ? "tls-client" : "tls",
ctx->client_side ? "tls_client" : "tls",
kr_straddr(&ctx->session->peer.ip));
ctx->handshake_state = TLS_HS_CLOSING;
gnutls_bye(ctx->tls_session, GNUTLS_SHUT_RDWR);
......
......@@ -904,7 +904,7 @@ ssize_t worker_gnutls_push(gnutls_transport_ptr_t h, const void *buf, size_t len
t->session->handle->type == UV_TCP);
VERBOSE_MSG(NULL,"[%s] push %zu <%p>\n",
t->client_side ? "tls-client" : "tls", len, h);
t->client_side ? "tls_client" : "tls", len, h);
struct worker_ctx *worker = t->worker;
assert(worker);
......@@ -948,7 +948,7 @@ ssize_t worker_gnutls_push(gnutls_transport_ptr_t h, const void *buf, size_t len
worker->stats.ipv4 += 1;
} else {
VERBOSE_MSG(NULL,"[%s] uv_write: %s\n",
t->client_side ? "tls-client" : "tls", uv_strerror(res));
t->client_side ? "tls_client" : "tls", uv_strerror(res));
iorequest_release(worker, ioreq);
errno = EIO;
}
......
Markdown is supported
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