Lines Matching refs:session_
77 Http2Scope::Http2Scope(Http2Session* session) : session_(session) { in Http2Scope()
78 if (!session_) return; in Http2Scope()
82 if (session_->is_in_scope() || session_->is_write_scheduled()) { in Http2Scope()
83 session_.reset(); in Http2Scope()
86 session_->set_in_scope(); in Http2Scope()
90 if (!session_) return; in ~Http2Scope()
91 session_->set_in_scope(false); in ~Http2Scope()
92 if (!session_->is_write_scheduled()) in ~Http2Scope()
93 session_->MaybeScheduleWrite(); in ~Http2Scope()
238 session_(session), in Http2Settings()
256 return Pack(session_->env(), count_, entries_); in Pack()
313 Http2Scope h2scope(session_.get()); in Send()
315 session_->session(), in Send()
508 session_.reset(session); in Http2Session()
523 session_.reset(); in ~Http2Session()
632 CHECK_EQ(nghttp2_session_terminate_session(session_.get(), code), 0); in Close()
672 session_.get(), NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS); in CanAddStream()
743 nghttp2_session_want_read(session_.get())); in ConsumeHTTP2Data()
746 nghttp2_session_mem_recv(session_.get(), in ConsumeHTTP2Data()
1457 nghttp2_session_want_read(session_.get())) { in OnStreamAfterWrite()
1485 if (UNLIKELY(!session_)) in MaybeScheduleWrite()
1488 if (nghttp2_session_want_write(session_.get())) { in MaybeScheduleWrite()
1494 if (!session_ || !is_write_scheduled()) { in MaybeScheduleWrite()
1512 int want_read = nghttp2_session_want_read(session_.get()); in MaybeStopReading()
1610 while ((src_length = nghttp2_session_mem_send(session_.get(), &src)) > 0) { in SendPendingData()
1673 nghttp2_session* session_, in OnSendData() argument
1736 session_.get(), in SubmitRequest()
1886 session_(session), in Http2Stream()
1937 session_->DecrementCurrentSessionMemory(current_headers_length_); in StartHeaders()
1947 return nghttp2_session_find_stream(session_->session(), id_); in stream()
1971 session_->session(), id_), in DoShutdown()
1985 if (session_->has_pending_rststream(id_)) in Destroy()
1993 BaseObjectPtr<Http2Stream> strong_ref = session_->RemoveStream(id_); in Destroy()
2019 session_->statistics_.stream_average_duration = in Destroy()
2021 session_->statistics_.stream_count) / 1e6; in Destroy()
2040 session_->session(), in SubmitResponse()
2056 session_->session(), in SubmitInfo()
2090 session_->session(), in SubmitTrailers()
2096 session_->session(), in SubmitTrailers()
2113 session_->session(), in SubmitPriority()
2117 session_->session(), in SubmitPriority()
2142 if (session_->is_in_scope() && is_stream_cancel(code)) { in SubmitRstStream()
2143 session_->AddPendingRstStream(id_); in SubmitRstStream()
2152 if (session_->SendPendingData() != 0) { in SubmitRstStream()
2153 session_->AddPendingRstStream(id_); in SubmitRstStream()
2165 session_->session(), in FlushRstStream()
2180 session_->session(), in SubmitPushPromise()
2190 session_.get(), *ret, NGHTTP2_HCAT_HEADERS, options); in SubmitPushPromise()
2208 session_->session(), in ReadStart()
2258 session_->session(), in DoWrite()
2280 if (!session_->has_available_session_memory(length) || in AddHeader()
2292 session_->IncrementCurrentSessionMemory(length); in AddHeader()
2391 session_->IncrementCurrentSessionMemory(amount); in IncrementAvailableOutboundLength()
2396 session_->DecrementCurrentSessionMemory(amount); in DecrementAvailableOutboundLength()
2583 lastStreamID = nghttp2_session_get_last_proc_stream_id(session_.get()); in Goaway()
2585 nghttp2_submit_goaway(session_.get(), NGHTTP2_FLAG_NONE, in Goaway()
2779 CHECK_EQ(nghttp2_submit_altsvc(session_.get(), NGHTTP2_FLAG_NONE, id, in AltSvc()
2786 session_.get(), in Origin()
2939 session_(session), in Http2Ping()
2953 CHECK(session_); in Send()
2959 Http2Scope h2scope(session_.get()); in Send()
2961 session_->session(), in Send()
2969 if (session_) session_->statistics_.ping_rtt = duration_ns; in Done()
2991 session_.reset(); in DetachFromSession()