getRemoteName()

Cache the TCP peer address as a string and pass it to createChannel().
This commit is contained in:
Michael Davidsaver
2015-12-14 17:04:57 -05:00
parent 4a1bfff40f
commit b9dd9e8e6c
7 changed files with 32 additions and 23 deletions
+1 -1
View File
@@ -760,7 +760,7 @@ ChannelRequester::shared_pointer ServerChannelRequesterImpl::create(
std::tr1::shared_ptr<ServerChannelRequesterImpl> tp(new ServerChannelRequesterImpl(transport, channelName, cid, css));
ChannelRequester::shared_pointer cr = tp;
// TODO exception guard and report error back
provider->createChannel(channelName, cr, transport->getPriority());
provider->createChannel(channelName, cr, transport->getPriority(), transport->getRemoteName());
return cr;
}