Lines Matching refs:session

76           "session", spdy_session->net_log().source())));
91 "session", spdy_session->net_log().source())));
104 "session", spdy_session->net_log().source())));
119 // Create the SPDY session and add it to the pool.
131 "session", (*spdy_session)->net_log().source())));
133 // Now we can initialize the session with the SSL socket.
143 // Check if we have a session via an alias.
149 void SpdySessionPool::Remove(const scoped_refptr<SpdySession>& session) {
150 SpdySessionList* list = GetSessionList(session->host_port_proxy_pair());
154 list->remove(session);
155 session->net_log().AddEvent(
158 "session", session->net_log().source())));
160 RemoveSessionList(session->host_port_proxy_pair());
170 for (SpdySessionList::const_iterator session = sessions->begin();
171 session != sessions->end(); ++session) {
172 list->Append(session->get()->GetInfoAsValue());
204 // We should only be checking aliases when there is no direct session.
226 // If the proxy settings match, we can reuse this session.
237 // If the SPDY session is a secure one, we need to verify that the server
286 // We have a new session. Lookup the IP addresses for this session so that
316 DCHECK(false) << "removing orphaned session list";
337 // for hosts such that a new session can override the alias for an IP
374 const scoped_refptr<SpdySession>& session = list->front();
375 CHECK(session);
376 // This call takes care of removing the session from the pool, as well as
377 // removing the session list if the list is empty.
378 session->CloseSessionOnError(net::ERR_ABORTED, true);
389 const scoped_refptr<SpdySession>& session = list->front();
390 CHECK(session);
391 session->set_spdy_session_pool(NULL);
397 const scoped_refptr<SpdySession>& session = list->front();
398 CHECK(session);
399 session->CloseSessionOnError(net::ERR_ABORTED, false);
420 const scoped_refptr<SpdySession>& session = *session_it;
421 CHECK(session);
422 if (!session->is_active())
423 session->CloseSessionOnError(net::ERR_ABORTED, true);