Lines Matching defs:session_

81 Http2Scope::Http2Scope(Http2Session* session) : session_(session) {
82 if (!session_) return;
86 if (session_->is_in_scope() || session_->is_write_scheduled()) {
87 session_.reset();
90 session_->set_in_scope();
94 if (!session_) return;
95 session_->set_in_scope(false);
96 if (!session_->is_write_scheduled())
97 session_->MaybeScheduleWrite();
243 session_(session),
261 return Pack(session_->env(), count_, entries_);
321 Http2Scope h2scope(session_.get());
323 session_->session(),
518 session_.reset(session);
537 // Explicitly reset session_ so the subsequent
539 session_.reset();
698 CHECK_EQ(nghttp2_session_terminate_session(session_.get(), code), 0);
743 session_.get(), NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS);
814 nghttp2_session_want_read(session_.get()));
818 nghttp2_session_mem_recv(session_.get(),
1593 nghttp2_session_want_read(session_.get())) {
1626 if (UNLIKELY(!session_))
1629 if (nghttp2_session_want_write(session_.get())) {
1635 if (!session_ || !is_write_scheduled()) {
1657 int want_read = nghttp2_session_want_read(session_.get());
1755 while ((src_length = nghttp2_session_mem_send(session_.get(), &src)) > 0) {
1818 nghttp2_session* session_,
1881 session_.get(),
2033 session_(session),
2088 session_->DecrementCurrentSessionMemory(current_headers_length_);
2098 return nghttp2_session_find_stream(session_->session(), id_);
2122 session_->session(), id_),
2136 if (session_->has_pending_rststream(id_))
2144 BaseObjectPtr<Http2Stream> strong_ref = session_->RemoveStream(id_);
2170 session_->statistics_.stream_average_duration =
2172 session_->statistics_.stream_count) / 1e6;
2191 session_->session(),
2207 session_->session(),
2241 session_->session(),
2247 session_->session(),
2264 session_->session(),
2268 session_->session(),
2293 if (session_->is_in_scope() && is_stream_cancel(code)) {
2294 session_->AddPendingRstStream(id_);
2303 if (session_->SendPendingData() != 0) {
2304 session_->AddPendingRstStream(id_);
2316 session_->session(),
2331 session_->session(),
2341 session_.get(), *ret, NGHTTP2_HCAT_HEADERS, options);
2359 session_->session(),
2408 session_->session(),
2430 if (!session_->has_available_session_memory(length) ||
2442 session_->IncrementCurrentSessionMemory(length);
2541 session_->IncrementCurrentSessionMemory(amount);
2546 session_->DecrementCurrentSessionMemory(amount);
2732 lastStreamID = nghttp2_session_get_last_proc_stream_id(session_.get());
2734 nghttp2_submit_goaway(session_.get(), NGHTTP2_FLAG_NONE,
2928 CHECK_EQ(nghttp2_submit_altsvc(session_.get(), NGHTTP2_FLAG_NONE, id,
2935 session_.get(),
3088 session_(session),
3102 CHECK(session_);
3108 Http2Scope h2scope(session_.get());
3110 session_->session(),
3118 if (session_) session_->statistics_.ping_rtt = duration_ns;
3137 session_.reset();