Lines Matching refs:session_
40 : client_(client), session_(nullptr) {} in Http2Session()
42 Http2Session::~Http2Session() { nghttp2_session_del(session_); } in ~Http2Session()
234 nghttp2_session_client_new2(&session_, callbacks, client_, opt); in on_connect()
251 rv = nghttp2_submit_settings(session_, NGHTTP2_FLAG_NONE, iv.data(), niv); in on_connect()
256 nghttp2_session_set_local_window_size(session_, NGHTTP2_FLAG_NONE, 0, in on_connect()
263 if (nghttp2_session_check_request_allowed(session_) == 0) { in submit_request()
277 nghttp2_submit_request(session_, nullptr, nva.data(), nva.size(), in submit_request()
289 auto rv = nghttp2_session_mem_recv(session_, data, len); in on_read()
296 if (nghttp2_session_want_read(session_) == 0 && in on_read()
297 nghttp2_session_want_write(session_) == 0 && client_->wb.rleft() == 0) { in on_read()
307 auto rv = nghttp2_session_send(session_); in on_write()
312 if (nghttp2_session_want_read(session_) == 0 && in on_write()
313 nghttp2_session_want_write(session_) == 0 && client_->wb.rleft() == 0) { in on_write()
321 nghttp2_session_terminate_session(session_, NGHTTP2_NO_ERROR); in terminate()