Home | History | Annotate | Download | only in server

Lines Matching refs:peer

26 // Set to the peer id of the originator when messages are being
27 // exchanged between peers, but set to the id of the receiving peer
32 // next, we don't use a custom name for our peer-id header (originally it was
33 // "X-Peer-Id: "). Instead, we use a "simple header", "Pragma" which should
106 void ChannelMember::ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer) {
107 assert(peer);
112 if (peer == this) {
117 name_.c_str(), peer->name().c_str());
118 peer->QueueResponse("200 OK", ds->content_type(), extra_headers,
256 // Let the newly connected peer know about other members of the channel.
354 // The peer itself will always be the first entry.