projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da9db37
)
Add extra debug statement for when TLS encryption is used
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 8 Nov 2010 00:24:53 +0000
(09:24 +0900)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 8 Nov 2010 00:24:53 +0000
(09:24 +0900)
gweb/gweb.c
patch
|
blob
|
history
diff --git
a/gweb/gweb.c
b/gweb/gweb.c
index
f96d6b2
..
dcd5be5
100644
(file)
--- a/
gweb/gweb.c
+++ b/
gweb/gweb.c
@@
-764,10
+764,13
@@
static int connect_session_transport(struct web_session *session)
if (sk < 0)
return -EIO;
- if (session->flags & SESSION_FLAG_USE_TLS)
+ if (session->flags & SESSION_FLAG_USE_TLS) {
+ debug(session->web, "using TLS encryption");
session->transport_channel = g_io_channel_gnutls_new(sk);
- else
+ } else {
+ debug(session->web, "no encryption");
session->transport_channel = g_io_channel_unix_new(sk);
+ }
if (session->transport_channel == NULL) {
close(sk);