nghttpx: Log when backend group is shared

This commit is contained in:
Tatsuhiro Tsujikawa 2016-04-16 22:04:35 +09:00
parent e41d8c2f62
commit 5339c1774c
1 changed files with 4 additions and 0 deletions

View File

@ -181,6 +181,10 @@ Worker::Worker(struct ev_loop *loop, SSL_CTX *sv_ssl_ctx, SSL_CTX *cl_ssl_ctx,
if (it == end) {
dst.shared_addr = shared_addr;
} else {
if (LOG_ENABLED(INFO)) {
LOG(INFO) << dst.pattern << " shares the same backend group with "
<< (*it).pattern;
}
dst.shared_addr = (*it).shared_addr;
}
}